Summary: | Side- and top-tiled windows can inappropriately be resized from top window edge, which interferes with Fitts' Law for UI elements at that edge, such as browser tabs in CSD windows | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | deadmeu <deadmeu> |
Component: | decorations | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | nate |
Priority: | NOR | Keywords: | usability |
Version: | 5.27.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
deadmeu
2023-03-15 09:15:32 UTC
A few questions: 1. When you say "full-screen" do you mean actually full screen, or mazimized? They're separate states. 2. Does the issue go away if you force the affected XWayland-using apps into their native Wayland modes? You can do this for Firefox by adding MOZ_ENABLE_WAYLAND=1 to /etc/environment, rebooting, and then starting Firefox 3. Are you using any screen scale factors on your system that aren't either 100% or 200%? If so, does the issue go away for XWayland-using apps when you do change the scale factor to 100% or 200%? All of these questions are to help me understand if the issue is Bug 459373, or something else. (In reply to Nate Graham from comment #1) > 1. When you say "full-screen" do you mean actually full screen, or > mazimized? They're separate states. Sorry, I mean maximised. I've just tested proper full-screen (by pressing F11) and maximised in Firefox and VSCode and found that in Firefox, full-screen and maximised have the same good expected behaviour, but in VSCode going full-screen causes the scrollbar edge to have the issue. When Maximised, VSCode exhibits the good expected behaviour I described earlier. > 2. Does the issue go away if you force the affected XWayland-using apps into > their native Wayland modes? You can do this for Firefox by adding > MOZ_ENABLE_WAYLAND=1 to /etc/environment, rebooting, and then starting > Firefox I have already enabled Wayland in Firefox (confirmed by checking in about:support that Window Protocol = wayland). VSCode's behaviour seems to be identical regardless of whether it's running under XWayland or Wayland natively. > 3. Are you using any screen scale factors on your system that aren't either > 100% or 200%? If so, does the issue go away for XWayland-using apps when you > do change the scale factor to 100% or 200%? No, I use 100% scale. > All of these questions are to help me understand if the issue is Bug 459373, > or something else. I don't think this is the same as Bug 459373 and I really don't think this was an issue prior to me doing a system update a couple of days ago. It might be worth noting that I have installed Firefox as a Flatpak, but VSCode was obtained from the Arch repo. Both of these were recently updated alongside me picking up the Plasma 5.27.3 update but I don't think they would be responsible for this issue as it appears in multiple programs using custom decorations. Here's a video of the issue: https://streamable.com/fy6acq In the video, I start by showing the expected tab switching behaviour when Firefox is maximised, then full-screen. Then I snap Firefox to the edge of my screen and try to switch tabs as before but am unable to do so. Can reproduce the issue of being able to resize tiled windows from the top window edge. The thing with VSCode and the scrollbar is probably something else, maybe an issue in VSCode itself. This one has been quite annoying for me over the months and I wish there was something I could do to mitigate it... Is it possible to disable the ability to resize windows from the top/all edges? If anyone has any ideas please leave a comment as this has been driving me nuts 😬. |