Linux: handle LeftTab event to allow tabbing backward through ProjectInfo
On Linux*, with a project open in the IDE, I can Ctrl+Tab forward through all open tabs with no problem, but Ctrl+Shift+Tab backward gets "stuck" on the ProjectInfo tab.
It seems Ctrl+Shift+Tab throws a GDK key value $FE20 (LeftTab) plus Ctrl and Shift modifiers. This patch handles those events, similar to how ScintillaShortcutHandler() handles $FF09, and posts the appropriate #MENU response.
⚠️ Can others with more PB Linux and GDK experience confirm this bug, and review this bugfix? Thanks!
- ElementaryOS 7.1 (Ubuntu 22.04 based)
Is it an IDE only issue or should the PureBasic libs needs to be patched instead ?
@fantaisie-software I'm not sure if it's an issue of gadget library or menu library or IDE code... There must be a reason this is being handled as GDK key events rather than regular PB shortcuts. Maybe @t-harter can check this out? All I know is the Shift seems to change the GDK Tab event to a GDK LeftTab event, at least on my distro.
Juts tested and it works as expected. I don't think it's a lib issue, as the project info tab set the focus elsewhere it's handled differently