Bug 528376

Summary: he menu bar height of wxGTK applications does not change according the global application font setting
Product: [Fedora] Fedora Reporter: Feng Yu <rainwoodman>
Component: wxGTKAssignee: Dan Horák <dan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 11CC: dan, mattdm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.8.10-4.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-13 02:28:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
listening to size-allocate signal of GtkMenuBar and adjust menubar height, fixing the issue none

Description Feng Yu 2009-10-11 18:55:46 UTC
Created attachment 364397 [details]
listening to size-allocate signal of GtkMenuBar and adjust menubar height, fixing the issue

Description of problem:
When the Application Font size is changed, the menu bar height of wxGTK applications does not change accordingly.

Version-Release number of selected component (if applicable):
wxGTK-2.8.10-2.fc11.i586

How reproducible:

Always
Steps to Reproduce:
1. Start any wxGTK application with a menu bar, eg, wxmaxima or VLC
2. change the Application Font from the Appearance Preference dialog to a large size (eg, from 9pt to 18 pt)
3. Notice the menu texts in the menu bar in wxGTK applications are cropped, as the height of the menu bar remains the same.
  
Actual results:
the menu texts in the menu bar in wxGTK applications are cropped, as the height of the menu bar remains the same.

Expected results:
the height of the menu bar should be adjusted according to the height of the font labels.

Additional info:
Restart the application will give good menu texts and good menu bar height.

Comment 1 Dan Horák 2009-10-11 20:31:55 UTC
I can't find your fix in the source code of the 2.8 and trunk branches, did you already report the issue into http://trac.wxwidgets.org ? Direct reports into upstream bug tracking system are best in cases like this, because the issue is not Fedora specific, but a general one.

Comment 2 Feng Yu 2009-10-11 20:48:57 UTC
Forwarded to Ticket #11310 on trac.

Comment 3 Fedora Update System 2009-10-25 10:23:41 UTC
wxGTK-2.8.10-4.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/wxGTK-2.8.10-4.fc10

Comment 4 Fedora Update System 2009-10-25 10:23:46 UTC
wxGTK-2.8.10-4.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/wxGTK-2.8.10-4.fc11

Comment 5 Dan Horák 2009-10-25 10:50:58 UTC
Please let me know, if the updated package fixes the bug for you. It contains slightly updated version of your patch that was commited into the upstream 2.8 branch. Thanks, Dan

Comment 6 Feng Yu 2009-10-25 18:05:08 UTC
Indeed it is fixed.

Thank you Dan!

Comment 7 Fedora Update System 2009-10-27 06:28:12 UTC
wxGTK-2.8.10-4.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update wxGTK'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10720

Comment 8 Fedora Update System 2009-10-27 06:37:15 UTC
wxGTK-2.8.10-4.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update wxGTK'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-10738

Comment 9 Fedora Update System 2009-11-13 02:28:18 UTC
wxGTK-2.8.10-4.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2009-11-13 02:35:15 UTC
wxGTK-2.8.10-4.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.