dsheeler/CoverflowAltTab

Scaling might be off

Opened this issue · 15 comments

When I select a window and it zooms that window to fit the screen, it looks very strange. That animation just scales a bit then it jumps to the real size of the window. Not sure what causes this, but my guess is that I have a 4k screen with 200% scale factor. So i guess it might not take the scale factor in to consideration, causing the animation to only go half way.

Can you make a screencast? Do you think it's something other than a choppy (low fps) animation?

Yep, just noticed the thing too.

When you go on 100%, windows animate nicely to their positions: x1.webm. But if you go 200%, they animate nicely... to their 100% positions and sizes: x2.webm.

I'll see if I can find time for this soon. Thanks for reporting!

OK, sorry this took about a year. Do you guys still have this issue? I can't reproduce, so maybe I fixed it!

OK, sorry this took about a year. Do you guys still have this issue? I can't reproduce, so maybe I fixed it!

Hello, I still has this issue on the lastest Fedora and Ubuntu with the extension v70.
My screen resolution is 3200 * 2000 and the scaling is 200%.
screen.webm

@Etsuya233 are you using wayland?

I think this only occurs in wayland, not X11

I think this only occurs in wayland, not X11

Yes. I'm using Wayland.

Specifically, this only happens with native Wayland apps. Xwayland apps are scaled correctly.

Did you see in #256 that @wxmup found "fractional scaling" fixes this?

gsettings set org.gnome.mutter experimental-features “[‘scale-monitor-framebuffer’]”

Thank you for the tip, I didn't know. But turning on fractional scaling makes Xwayland apps blury, I don't think I'll take that trade-off.

Did you see in #256 that @wxmup found "fractional scaling" fixes this?

gsettings set org.gnome.mutter experimental-features “[‘scale-monitor-framebuffer’]”

Yes, it helps, but a lot of other apps break: they become clunky and huge. So you can't call it a fix.

Did you see in #256 that @wxmup found "fractional scaling" fixes this?
gsettings set org.gnome.mutter experimental-features “[‘scale-monitor-framebuffer’]”

Yes, it helps, but a lot of other apps break: they become clunky and huge. So you can't call it a fix.

I guess you are talking about the electron program. You must enable wayalnd for electron through the flag to keep electron scaling normally.

Did you see in #256 that @wxmup found "fractional scaling" fixes this?
gsettings set org.gnome.mutter experimental-features “[‘scale-monitor-framebuffer’]”

Yes, it helps, but a lot of other apps break: they become clunky and huge. So you can't call it a fix.

I guess you are talking about the electron program. You must enable wayalnd for electron through the flag to keep electron scaling normally.

I was able to fix most of the apps. Except steam and one more. So I had to disable this feature and extension anyway

P.S
Sollution:
gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer', 'xwayland-native-scaling']"