After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 744945 - Inconsistent window drag behavior due to popover in center of header bar
Inconsistent window drag behavior due to popover in center of header bar
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-02-22 12:27 UTC by Oskar Berggren
Modified: 2015-03-02 11:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oskar Berggren 2015-02-22 12:27:36 UTC
The use of a popover to select calculator mode as pseudo title in the header bar makes the calculator window annoyingly difficult to quickly grab and drag to move. It is inconsistent with most other applications, where it's entirely possible to grab the window even by clicking on the actual text of the title.

I suggest to move the mode selector popover to a three-bars icon, placed to the right in the header, as is used in GEdit and Files, etc.
Comment 1 Michael Catanzaro 2015-02-22 13:14:37 UTC
Files was about the worst example you could pick, though, since the breadcrumb can take up almost the whole header bar, and you can't drag that.
Comment 2 Oskar Berggren 2015-02-22 13:22:05 UTC
Good point. New on 3.14 so hadn't experienced that before. The breadcrumb is visually more differentiated from a regular title though, which at least should mean it's less surprising you cannot drag by grabbing that area.
Comment 3 Oskar Berggren 2015-02-22 13:30:02 UTC
Some more notes:

In both GEdit (and files) the popover launched from the header CAN be closed by clicking a different part of the header bar, which makes it even more weird this isn't possible in calculator.

Also, using the three-bar icon for the popover should allow to include a few more common settings if wanted, as requested by bug #670219.
Comment 4 Carlos Garnacho 2015-03-02 11:34:23 UTC
I've pushed some GTK+ fixes that improve consistence in window dragging from widgets within headerbars in general, and menubuttons more thoroughly, the relevant commits are 0796d7b6 and 13e22e20

Moving to gtk+ and closing as fixed.