Grouping menu items as RadioItems doesn't work in main menu
Original Reporter info from Mantis: cobines
-
Reporter name:
Original Reporter info from Mantis: cobines
- Reporter name:
Description:
I create a menu and give each item following properties:
- AutoCheck = True
- RadioItem = True
- GroupIndex = 1
This should only allow checking one item within a group. It works as intended if used in TPopupMenu, however it doesn't work in TMainMenu.
I checked this on Linux/QT.
In Linux/GTK2 and Win32 widgetsets it works as intended.
Also, there is one inconsistency I found between GTK2 and QT in TPopupMenu. On GTK2 after the program starts the first item of a group is already automatically checked. This is not happening in QT. I haven't checked how it works on Win32.
Sample program is attached.
Mantis conversion info:
- Mantis ID: 15245
- Version: 0.9.29 (SVN)
- Fixed in revision: 23861 (#a266017f)
- Target version: 0.9.30