GNOME Bugzilla – Bug 790724
Control Center window should raise if already open when accessing a panel via Activities Overview
Last modified: 2017-11-23 05:21:55 UTC
To reproduce: 1. Open Control Center 2. Switch to another window, esp one that takes up the whole screen 3. Open Activities Overview 4. Type "displays" 5. Click the "Displays" settings option Expected result: Control Center window is raised to front. Actual result: Control Center window isn't raised, so it looks like nothing happened. This is confusing. (If you switch to the Control Center window you will see that it did switch to the "Displays" pane). Notes: - This seems to be a regression in 3.26, I don't remember this being broken in the past. - Maybe belongs in Gnome Shell component, not sure.
This seems to work for me; the window is presented. You indicated on IRC that you were using Wayland, so this may just be Bug 766284
Yep, this is an issue in Wayland, and the root cause seems to be that gtk_window_present() doesn't work on Wayland, which is Bug 766284. Interestingly, gtk_window_present_with_timestamp() works as long as you pass a non-zero timestamp. Passing zero (aka GDK_CURRENT_TIME) also has no effect.
*** This bug has been marked as a duplicate of bug 766284 ***