This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi,
When I log into retail, my raidframes are out of position and way higher than they should.
Tried different anchors and options which don't fix the problem.
However, when I type in the exact y-offset that currently is then the frames go in their "good position". Same goes when I use the rewiew for different layouts.
The same problem happened before the last update of the addon.
Would be great if you could help me.
Screenshot of my Grid2 settings (German client): https://imgur.com/a/2HyMktE
Addon Version: 18.10.20 r990 Release
- Check out the "Clampled to screen" (Am Bildschirm fest machen) option in Apparance tab (must be unchecked).
- Disable all addons except Grid2 (that can happen if another addon is changing the screen scale).
Hey, thanks for the reply and hint.
Could be possible that ElvUi is causing this, because it's changing the screen scale like you mentioned.
Yet, I don't want to dispense with ElvUi, so I rather live with this problem and hope that it can be fixed somehow later.
Could you disable elvUI for a moment to know if the issue goes away ?
When I disable ElvUI which had 0.6 UI scale the raid frames are a bit below, but I can't tell you exactly if that fixes the problem, because the standard UI scale is 1 and I don't know if the raidframes are in their good position.
However, I disabled a second theme, which actually had the same settings except for the scale of the raidframes and now it seems fixed, no matter if I do a reload or relog.
Similar issue. I log in, Grid frames aren't in the position I'd set when I'm soloing. If I go in and hit the magnify on any layout it resets to how I want it. Use Elv UI scale 0.71. Not been an issue before, so not sure if something has changed recently. https://imgur.com/a/hmAZ9FCThis shows how it looks when I first log in then after I magnify on a layout to get it to position as I want to.
I have to repeat an important question (not answered yet). Is the issue gone with ElvUI disabled ?
I don't use ElvUi and experience the same issue ever since prepatch. But it only seems to affect one of my themes
Similar problems for me since the latest release version 1.1.14. I haven't been using any of the beta versions, so went from 1.0.0 to this new release and now every time I go through a loading screen, my raidframes move to a wrong position. This can be fixed from the options simply by retyping the same position that is already displayed there. I do have an addon that set uiscale to 0.5333 on "PLAYER_LOGIN" or "PLAYER_ENTERING_WORLD". I believe disabling this would most likely fix this, but I don't really see this as a solution. Going back to release 1.0.0 the problem is gone. So it is something that you changed between that release and the latest one.
I dont know what kind of workaround to implement because you did not provide some basic information: the addon name that is changing the uiScale.
I cannot simply revert the code changes back to version 1.0.0 because some changes were done to fix issues with another addons or to implement new features.
It is my own addon, and the functionality is basically this (it also does some other things, but that's irrelevant):
local framesetup = CreateFrame("Frame", nil, UIParent) framesetup:RegisterEvent("PLAYER_LOGIN") framesetup:RegisterEvent("PLAYER_ENTERING_WORLD") framesetup:SetScript("OnEvent", function () if event == "PLAYER_LOGIN" or "PLAYER_ENTERING_WORLD" then UIParent:SetScale(0.5333) end end)
In your computer your addon is initializing the screen too late (AceLib addons are initialized before your addon code is executed). This means you are changing the screen scale when Grid2 window was already placed on the screen, so you must adjust manually the grid2 window or set the scale early. Several fixes:
1. Use the "ADDON_LOADED" event to change the scale (warning this event is fired several times (once per addon) so you must use some flag, check for the addon name or unregister the ADDON_LOADED to avoid initializing the screen a lot of times.
2. Use AceAddon library and initialize the screen scale inside the "OnInitialize" method.
2. After changing the scale readjust Grid2 Position, adding some code like this:
if Grid2Layout then Grid2Layout:RestorePosition() end
Your code is setting the UIParent scale twice, you can unregister the events after setting the scale to avoid executing the initialization the second time:
framesetup:UnregisterEvent("PLAYER_LOGIN")framesetup:UnregisterEvent("PLAYER_ENTERING_WORLD")
Thank you! I'll try to implement a fix for myself tonight.
To post a comment, please login or register a new account.