dsheeler / CoverflowAltTab

Coverflow like Alt-Tab replacement for Gnome-Shell
GNU General Public License v3.0
364 stars 89 forks source link

Scaling might be off #184

Open snaggen opened 1 year ago

snaggen commented 1 year ago

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.

dsheeler commented 1 year ago

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

mrEDitor commented 1 year ago

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.

dsheeler commented 1 year ago

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

dsheeler commented 1 year ago

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

dsheeler commented 1 year ago

@mrEDitor or @snaggen ?

Etsuya233 commented 11 months ago

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

dsheeler commented 11 months ago

@Etsuya233 are you using wayland?

dsheeler commented 11 months ago

I think this only occurs in wayland, not X11

Etsuya233 commented 11 months ago

I think this only occurs in wayland, not X11

Yes. I'm using Wayland.

pnguyen72 commented 2 months ago

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

dsheeler commented 2 months ago

Did you see in https://github.com/dsheeler/CoverflowAltTab/issues/256 that @wxmup found "fractional scaling" fixes this?

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

pnguyen72 commented 2 months ago

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.