pop-os / libcosmic

WIP library for COSMIC applications
https://pop-os.github.io/libcosmic/cosmic/
Mozilla Public License 2.0
427 stars 41 forks source link

Make window decorations clickable at the very window edge/corner #487

Open boredsquirrel opened 3 months ago

boredsquirrel commented 3 months ago

According to this GTK change request:

I think GTK4 and the pretty similar libcosmic are good to use. But the big issue I have is the window decorations, that are too big, and still need exact mouse pointing to use them.

This compared to the huge but completely easy to click decorations in Windows, or the smaller but similar (default, breeze) KDE Plasma window decorations, is worse.

Note that some Plasma decorations seem to also fail here.

It would be good to expand the clickbox of the decorations so that they

  1. Expand from the "close" circle to the very window edge, making fullscreen windows easy to close by moving the cursor to the very edge of the screen (this does not apply to the GNOME-like layout)
  2. Expand the clickboxes to that they go to the top of the window and directly next to each other, so sliding from the top corner to the left will smoothly allow to use the other buttons.

This reduces the accuracy needed to close windows and thus highly improves accessibility for many users.