TTabControl cannot use keyboard to switch tab (Gtk2)
Original Reporter info from Mantis: Handoko
-
Reporter name: Handoko
Original Reporter info from Mantis: Handoko
- Reporter name: Handoko
Description:
TTabControl cannot use keyboard to switch tab. I think it happens only on Gtk2. Because if I create Win32 binary and test it using Wine on my Linux machine, I can use left and right arrow keys to switch tab.
Behavior test result on Ubuntu Mate 16.10 64-bit Lazarus 1.6.4/1.8.0RC2 Gtk2:
- TabControl cannot switch tab using keyboard.
- TabControl can switch tab using mouse click no matter TabStop is true or false.
Behavior test result on Win32 (Wine on Ubuntu) Lazarus 1.6.4/1.8.0RC2:
- If (TabControl.TabStop = True) the TabControl can switch tab using left and right keys.
- If (TabControl.TabStop = False) the TabControl still can receive focus and can switch tab using left and right keys. It should not able to receive focus because TabStop = False.
- If (TabControl.TabStop = False) the active tab can receive focus using mouse click but cannot switch tab using mouse click.
- The color of the background is blue, why?
I also started a discussion on Lazarus forum:
http://forum.lazarus.freepascal.org/index.php/topic,37090.msg248855.html#msg248855
Mantis conversion info:
- Mantis ID: 31986
- OS: Ubuntu Mate
- OS Build: 16.10
- Platform: Linux
- Version: 1.6.4
- Fixed in revision: 56131 (#18f99936)