Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added news/4.37/images/menu_state_noimage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added news/4.37/images/menu_state_overlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added news/4.37/images/menu_state_system.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions news/4.37/platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,28 @@ Additionally, you can use the `Replace With → Clipboard` action to replace the
![Replace Clipboard Context Menu](images/ReplaceClipBoard.png)


### Toggle Indicator in Windows 11 Menus

<details>
<summary>Contributors</summary>

- [Stephan Wahlbrink ](https://github.com/wahlbrink)
</details>

On Windows 11, menu entries that can be toggled do not show their toggle state if they also contain an image.
This affects both checked items as well as radio items.

A workaround was implemented in SWT such that those states are visualized again.
By default, a checkmark or radio bullet is drawn on top of the image if the item is selected.

The behavior may also be configured via the system property `org.eclipse.swt.internal.win32.menu.customSelectionImage`, but note that this property may be subject to change or removal.
This is how it looks with different values of that property:
| System Property Value | 0 (default) | 1 | 2 |
| --- | --- | --- | -- |
| | ![Menu with Overlay Selection Indication](images/menu_state_overlay.png) | ![Menu with Selection Indication Overwriting Image](images/menu_state_noimage.png) | ![Menu with System Behavior Showing No Selection Indication](images/menu_state_system.png) |



---
## Debugger

Expand Down