Cell - Unit Frames

Cell - Unit Frames

343k Downloads

[Bug] Unit frames show incorrect size and position

Griizz opened this issue ยท 16 comments

commented

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

commented

Do you use scaling in Cell? And can you post the output of /cuf pixel?

commented

Tried it with and without the 'Use Scaling' toggle. Result looks identical.

Image

[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
commented

Before:

Image

After:

Image

commented

On the new update, can you properly move the frames around in Edit Mode, or do they jump around?

commented

Moving them works fine.

Just CUF frames.

commented

Does this also affect your Cell frames or just CUF frames? The reasoning behind these changes is that Cell changed their scaling logic today.

commented

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 :/

commented

If you toggle Use Scaling it should apply. Can you repost /cuf pixel after changing the scale?

commented

I activated the toggle and did /reload

Image

[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
commented

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 :)

commented

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.

commented

Changing the Cell scale does change the CUF size now, but the Position is jsut off :/

commented

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

commented

BTW my ingame WoW UI Scale is 75%. Maybe Cell applies this but CUF does not?

commented

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

Image

commented

Okay, than I'll have to rescale and Reposition them once. :/

And Props for the auto backups, that feature was extremely useful. ;)