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

 
 

bug #53109: Hidden menubar with recent gtk versions

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

Add a New Comment Rich Markup
   

Mon 21 Jun 2021 11:40:06 AM UTC, comment #1: 

Thank you for the patch - pushed to master.

Jose Riha <jose1711>
Group Member
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 jose1711 (Updated the item)
  • -email is unavailable- added by deki (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-21 jose1711 StatusNone Fixed
        Assigned toNone jose1711
        Open/ClosedOpen Closed
    2018-02-09 deki Attached File- Added menubar.png, #43219

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code