
[Bug] Unit frames show incorrect size and position
Griizz opened this issue ยท 16 comments
Addon Version
v1.4.51
World of Warcraft Version
Retail
Localization
English
Describe the bug
After logging in, my unit frames were bigger and off position. Looked like some scaling was applied, but I could not find a setting to adjust it.
Downgrading to v1.4.48 resolved it for now.
Steps to reproduce
Install latest version
BugSack
Tried it with and without the 'Use Scaling' toggle. Result looks identical.
[CUF] Screen size: 3440 x 1440
UIParent size: 2446 x 1024
UIParent center: 1223 x 512
UIParent:GetEffectiveScale: 0.750000
UIParent Relative scale: 1.333333
CUF.mainFrame:GetEffectiveScale: 0.750000
GetPixelScale: 0.533333
Cell.Scale: 1.000
CellParent:GetEffectiveScale: 0.750000
Cell.Scale(1): 0.711
Cell.Scale(0.1): 0.000
Cell.Scale(220): 219.733
On the new update, can you properly move the frames around in Edit Mode, or do they jump around?
Does this also affect your Cell frames or just CUF frames? The reasoning behind these changes is that Cell changed their scaling logic today.
Does this also affect your Cell frames or just CUF frames? The reasoning behind these changes is that Cell changed their scaling logic today.
Yeah, I actually changed the scaling from 1.4 to 1.0. That seems to be the same Size I had before. But can't get this scaling to apply to CUF :/
If you toggle Use Scaling
it should apply. Can you repost /cuf pixel
after changing the scale?
I activated the toggle and did /reload
[CUF] Screen size: 3440 x 1440
UIParent size: 2446 x 1024
UIParent center: 1223 x 512
UIParent:GetEffectiveScale: 0.750000
UIParent Relative scale: 1.333333
CUF.mainFrame:GetEffectiveScale: 0.750000
GetPixelScale: 0.533333
Cell.Scale: 1.000
CellParent:GetEffectiveScale: 0.750000
Cell.Scale(1): 0.711
Cell.Scale(0.1): 0.000
Cell.Scale(220): 219.733
Oh you had Cell scaled to 1.4 previously without having
Use Scaling
toggled for CUF frames? That would explain the scaling diff you are experiencing.
Yes that is correct :)
Oh you had Cell scaled to 1.4 previously without having Use Scaling
toggled for CUF frames? That would explain the scaling diff you are experiencing.
Changing the Cell scale does change the CUF size now, but the Position is jsut off :/
If i set the scaling to 1/1.4, CUF size seems to be correct, but now the rest of Cell is too small :D
Yea the mis-matched positioning/sizing is most likely an effect from how Cell decided to handle scaling going forwards. Which I've had to adapt. It now scales with your UI scale (it didn't previously), which is causing scaling to appear different for many.
Since you had Cell scaled but not CUF, you will prolly have to adjust one or the other to "sync" them up again.
And since you can move them just fine, it is technically working as intended.
Unfortunately I don't think I can provide a better solution, it is a pretty major UI change they made with the latest update.
Edit: Incidentally this is also the solution the Cell dev provides