Bug 528376 - he menu bar height of wxGTK applications does not change according the global application font setting
Summary: he menu bar height of wxGTK applications does not change according the global...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wxGTK
Version: 11
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-11 18:55 UTC by Feng Yu
Modified: 2009-11-13 02:35 UTC (History)
2 users (show)

Fixed In Version: 2.8.10-4.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-13 02:28:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
listening to size-allocate signal of GtkMenuBar and adjust menubar height, fixing the issue (1.01 KB, patch)
2009-10-11 18:55 UTC, Feng Yu
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.