GNOME Bugzilla – Bug 410123
lyrics window is hidden with the main window
Last modified: 2018-05-24 12:21:18 UTC
Please describe the problem: The lyrics dialog is too "attached" too the main window. Steps to reproduce: 1. Play a song. 2. Open the lyrics window. 3a. Hide Rhythmbox by clicking its icon in the notification area. or 3b. Minimise Rhythmbox. Actual results: Case A. The lyrics dialog is hidden. However, it still appears in the window list panel, but clicking on its entry there does not show it. Case B. The lyrics dialog is minimised. Expected results: The lyrics dialog should not be hidden or minimised with the main window (compare what happens with the song properties dialog under similar circumstances). Does this happen every time? Yes. Other information:
Ubuntu bug https://launchpad.net/bugs/97427
Created attachment 85612 [details] [review] don't make the window transient, fix the bug
Both transient and can_appear_in_fullscreen behaviors can be achieved by specifying wm hints: 1) gtk_window_set_type_hint (GTK_WINDOW (win), GDK_WINDOW_TYPE_HINT_DIALOG); (which also centers the window on the parent) or 2) gtk_window_set_type_hint (GTK_WINDOW (win), GDK_WINDOW_TYPE_HINT_UTILITY); here I guess the window is a dialog so 1) is implicitely applied. I'm planning to use 2) for the spectrum and equalizer windows.
*** Bug 447050 has been marked as a duplicate of this bug. ***
-- 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/rhythmbox/issues/323.