DesktopPopupMenu.SelectionChanged

Unless I wrong, it seems to have a difference between Mac OS and Windows management of the DesktopPopupMenu.SelectionChanged event.
On Mac OS, this event fires even if selected menu doesn’t really change (i.e. was 5 and 5 is selected again).
On Windows, the event doesn’t fire when the same menu is selected.

1_ Is this true?
2_ If true, how to code in order to manage the same menu selection case on Windows?

Mac OS 15.0.1 and Parallels Desktop 19.1.1
Xojo 2024r1.1

Thanks for any advice.

Jean-Luc

I can’t test right now whether both OS are different, but it would be easier to make it working on Mac like it works on Windows than the other way around (just store the last selected index and compare it in the next SelectionChanged event). Do you actually need to handle the case where the same item is selected again?