Bug 1158472 - Some windows don't raise when titlebar clicked (when raise to click is false)
Summary: Some windows don't raise when titlebar clicked (when raise to click is false)
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-29 13:07 UTC by Adam Goode
Modified: 2015-02-13 13:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-13 13:53:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Goode 2014-10-29 13:07:05 UTC
Description of problem:
This is different from #1151918, which is fixed.
Now, some windows will not raise with a click on the titlebar, when I otherwise have raise on click turned off.

Programs that work properly:
gnome-terminal

Programs that do not work properly:
gnome-calculator
gnome-tweak-tool


It seems like the new style Gnome windows (drawn by Gtk?) don't work. Mutter windows seem fine. I don't know which component to assign to.


Version-Release number of selected component (if applicable):
mutter-3.14.1-2.fc21.x86_64
gtk3-3.14.4-1.fc21.x86_64


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Florian Müllner 2014-10-30 09:43:29 UTC
(In reply to Adam Goode from comment #0)
> It seems like the new style Gnome windows (drawn by Gtk?) don't work. Mutter
> windows seem fine. I don't know which component to assign to.

This is indeed tricky - technically, everything works as expected: from the WM's point of view, client-side decorated windows don't have a titlebar, so the raise-on-click option effects the entire window. All we could do in mutter is treating a random area at the top as "titlebar", so I think this is best addressed in GTK+'s headerbar.

Comment 2 Matthias Clasen 2014-11-15 16:02:40 UTC
I don't see any behavior difference when toggling raise-on-click - windows get raised on click regardless of the setting.

Comment 3 Adam Goode 2014-11-17 02:13:16 UTC
Which setting? For me, it is org.gnome.desktop.wm.preferences.raise-on-click.

Comment 4 Florian Müllner 2014-11-20 13:32:52 UTC
(In reply to Matthias Clasen from comment #2)
> I don't see any behavior difference when toggling raise-on-click - windows
> get raised on click regardless of the setting.

The setting is only relevant for focus-follows-mouse mode[0]

[0]https://git.gnome.org/browse/mutter/tree/src/core/prefs.c#n1303

Comment 5 Matthias Clasen 2015-02-13 13:53:27 UTC
I've pushed a fix upstream: https://git.gnome.org/browse/gtk+/commit/?id=ac497c6e8f45bfece4054ba7f72ffd7becb45311


Note You need to log in before you can comment on or make changes to this bug.