Bug 582711 - Windows 11: Selection is not visible in MenuItem with image of type "check"
Summary: Windows 11: Selection is not visible in MenuItem with image of type "check"
Status: NEW
Alias: None
Product: Incubator
Classification: Eclipse Project
Component: e4 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 11
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: E4 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-06 03:11 EST by Claudia Dunkel CLA
Modified: 2023-12-18 04:13 EST (History)
1 user (show)

See Also:


Attachments
screenshot of MenuItem with image in Windows 10 and Windows11 (3.88 KB, image/png)
2023-12-06 03:11 EST, Claudia Dunkel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claudia Dunkel CLA 2023-12-06 03:11:41 EST
Created attachment 289244 [details]
screenshot of MenuItem with image in Windows 10 and Windows11

The selection of the menu item is not visible if an image is set. This behavior occurs only in Windows 11. In Windows 10 the image is marked as selected.
Comment 1 Claudia Dunkel CLA 2023-12-06 03:13:17 EST
library used is org.eclipse.swt.win32.win32.x86_64_3.124.100.v20230825-1346.jar.
Comment 2 Claudia Dunkel CLA 2023-12-18 04:12:42 EST
code snippet:
Menu menu = new Menu(control);

MenuItem menuItem = new MenuItem(menu, SWT.RADIO);
menuItem.setSelection(true); // activate the selection
menuItem.setImage(image);

...
menu.setLocation(...);
menu.setVisible(true);