GNOME Bugzilla – Bug 758244
GtkHeaderBar: Close button's mouse-over area doesn't extend to top-right pixel when maximized (fitts' law)
Last modified: 2018-05-02 16:50:55 UTC
Created attachment 315791 [details] Left: working, Right: not working Running GNOME Shell with a bottom panel it's not possible to close a maximized window of an application that is using GtkHeaderBar by clicking the most top-right pixel. My screen-shot shot shows what I mean: On the left there's a traditional application not using GtkHeaderBar. The red pixel is my mouse position. As you can see this triggers the mouse over of the close button, but not with a GtkHeaderBar as you can see on the right side.
Created attachment 339942 [details] Unclickable area of close button I think all red-marked area should be clickable. This is important in desktop environments which don't have top panel at all.
Created attachment 340292 [details] Clicable area of titlebar For comparison, this is the traditional title bar. The whole green area IS clickable.
The reason why this happens is that server-side decorations do not use widgets, and client-side decorations do. It's possible to change GtkHeaderBar to detect clicks on itself and compare the area with the location of the widgets; it's going to be a bit complicated, because it would need to have an input window on the header bar, and that may conflict with the input windows we use for resizing.
> it's going to be a bit complicated, because it would need to have an > input window on the header bar, and that may conflict with the input > windows we use for resizing. Is the input window for resizing also there when maximized?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/583.