flexagoon / rounded-window-corners

A GNOME extension that adds rounded corners to all windows
GNU General Public License v3.0
191 stars 8 forks source link

Windows don't display properly in overview after updating Mutter #29

Closed Gulang233 closed 5 days ago

Gulang233 commented 2 weeks ago
Screenshots (click the pictures to open them in new tabs): Screenshot1 Extension enabled and Chrome is not maximized (note the lower left and lower right corners of the window) This window is not maximized but is very large The window of LibreOffice Writer is maximized Same as above, but with "keep rounded corners for maximized windows" on
Screenshot1 Extension enabled and Chrome is not maximized This window is not maximized but is very large The window of LibreOffice Writer is maximized Same as above, but with "keep rounded corners for maximized windows" on

This happened after updating Mutter.

As shown in screenshot1, when there are multiple windows in a workspace, the left and top of the windows will be cut off. ~If there's only one window in the workspace~ If the window is not enlarged or reduced, the window will not be cut off. (But in "overwiew", GTK3 windows will only have rounded corners on top left and top right corners)

I turned off "skip LibAdwaita applications" and "skip LibHandy applications", so LibAdwaita and LibHandy app windows will be cut off, too. If I turn them on, LibAdwaita and LibHandy app windows will not be cut off, but old GTK3 windows like Google Chrome or LibreOffice will be cut off.

BTW maximized or fullscreen windows won't be cut off, too. No matter I turn on "keep rounded corners for maximized windows" or "keep rounded corners for fullscreen windows" or not.

Here's some system information that may help:

MisTerio497 commented 2 weeks ago

I would recommend that you roll back using the downgrade program https://github.com/archlinux-downgrade/downgrade

Gulang233 commented 2 weeks ago

Thank you for recommending, @MisTerio497 ! I just tried downgrading Mutter from 46.3.1-1 to 46.3-1 by installing the old package from Arch Linux Rollback Machine, and the windows in overview are no longer cut off, for now, if I don't upgrade Mutter. However, this bug still needs to be fixed, and I would be happy to upgrade Mutter again to provide more information to fix this bug.

Gulang233 commented 2 weeks ago

BTW here's the changelog of Mutter 46.3.1:

46.3.1

Contributors: Michel Dänzer, Marco Trevisan (Treviño)

Froztmuffins commented 2 weeks ago

Same issue on Fedora 40 Wayland

LSeelig commented 2 weeks ago

Same issue on Fedora 40 Wayland. I think it was also called by mutter update. Screencast from 2024-07-09 17-14-22 (trimmed).webm

flexagoon commented 1 week ago

I'm able to reproduce the issue on my machine.

At first glance, it seems like the issue is somewhere in this code, and it's caused by this Mutter commit.

LSeelig commented 6 days ago

Could an option be added to disable rounded window corners in the overview until there is a fix?

flexagoon commented 6 days ago

@LSeelig I'm playing around with the codebase, and it seems like this can be solved very easily at the expense of having overview windows be slightly blurry. I'm still trying to find a solution without this tradeoff though.