Community
Participate
Working Groups
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.
library used is org.eclipse.swt.win32.win32.x86_64_3.124.100.v20230825-1346.jar.
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);