Public bug reported:

A utility window always remains above other windows of the application,
even if I call gtk_window_set_keep_above on the other window.

Create two windows in the application - 
1. Normal window - 
GtkWidget* normal_window = gtk_window_new(GTK_WINDOW_TOPLEVEL));

2. Utility window- 
GtkWidget* util_window = gtk_window_new(GTK_WINDOW_TOPLEVEL));
gtk_window_set_type_hint(GTK_WINDOW(util_window),GDK_WINDOW_TYPE_HINT_UTILITY);

3. show all windows - 
gtk_window_show_all(normal_window);
gtk_window_show_all(util_window);

4. Now make the normal window to be always in front - 
gtk_window_set_keep_above(GTK_WINDOW(normal_window), true);

RESULT - util_window is still in front of the normal window

EXPECTED - normal window should be in front of the util window.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
utility windows remain above other windows of the app
https://bugs.launchpad.net/bugs/434464
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to