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.
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.
Forwarded to Ticket #11310 on trac.
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
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
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
Indeed it is fixed. Thank you Dan!
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
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
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.
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.