Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332830

Summary: Menu item text cropped
Product: [Eclipse Project] Platform Reporter: Martin Kalina <martin.kalina>
Component: SWTAssignee: Felipe Heidrich <eclipse.felipe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: comediant, eclipse.felipe
Version: 3.6.1   
Target Milestone: 3.7 M5   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
screenshot
none
Test Snippet none

Description Martin Kalina CLA 2010-12-17 04:55:41 EST
Build Identifier: M20100909-0800

Menu item text is cropped by keyboard shortcut when switched to windows classic theme. Its described as bug in windows and workaround is in source of org.eclipse.swt.widgets.Menu on line 1508, but does not work.

Reproducible: Always

Steps to Reproduce:
1. switch Windows 7 to widows classic theme
2. create menu with two items
3. first item has icon and AS_CHECKBOX style
4. second item has key shortcut and a longer text
5. second item text renders cropped
Comment 1 Martin Kalina CLA 2010-12-17 04:57:30 EST
Created attachment 185409 [details]
screenshot
Comment 2 Felipe Heidrich CLA 2010-12-17 14:00:51 EST
Please, attach a snippet that reproduces the problem. Thank you.
Comment 3 Martin Kalina CLA 2010-12-20 11:24:03 EST
Created attachment 185562 [details]
Test Snippet
Comment 4 Felipe Heidrich CLA 2010-12-21 15:41:25 EST
Fixed in HEAD > 20101221
Comment 5 Kamil Fejfar CLA 2014-09-05 10:36:01 EDT
It still does not work. I tried on 3.7.2, 3.8.1, 4.4. Windows 7, windows classic theme.