bugGNU Solfege - Bugs: bug #53109, Hidden menubar with recent gtk...

 
 

bug #53109: Hidden menubar with recent gtk versions

Submitted by:  Reiner Herrmann <deki>
Submitted on:  Fri 09 Feb 2018 07:24:33 PM UTC  
 
Category:  None Severity:  3 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Release:  3.23.4

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 09 Feb 2018 07:24:33 PM UTC, original submission:  

With a recent gtk+ version (3.22) the main menubar behaves strange.
It has no visibile text or decoration (see screenshot), but it is reserving the needed space and is still clickable. And when clicking it, the expected menu appears with readable text.

A workaround is using a different container for the menu, like an HBox:

--- a/solfege/mainwin.py
+++ b/solfege/mainwin.py
@@ -267,7 +267,7 @@
         self.g_ui_manager.add_ui_from_file("ui.xml")

         self.add_accel_group(self.g_ui_manager.get_accel_group())
-        hdlbox = Gtk.HandleBox()
+        hdlbox = Gtk.HBox()
         hdlbox.show()
         hdlbox.add(self.g_ui_manager.get_widget('/Menubar'))
         self._vbox.pack_start(hdlbox, False, False, 0)

Reiner Herrmann <deki>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #43219:  menubar.png added by deki (48KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by deki (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-09 deki Attached File- => Added menubar.png, #43219

    Back to the top


    Powered by Savane 3.5