Re: [Lazarus] Insufficient keyboard modifiers support in IDE

2017-05-11 Thread Alexey via Lazarus
So it is a LCL bug then? Seems LCL ok: - Windows key works, it is ssMeta [on GTK2 too] - Super key [not Windows key] not known to LCL - Hyper key too not known - AltGr works here, in GTK2 it gives Alt. -- Regards, Alexey -- ___ Lazarus mailing lis

Re: [Lazarus] Insufficient keyboard modifiers support in IDE

2017-05-11 Thread Marc Weustink via Lazarus
On May 11, 2017 5:21:49 PM GMT+02:00, Graeme Geldenhuys via Lazarus wrote: >On 2017-05-11 16:00, Alexey via Lazarus wrote: >> It must not see em. Laz dont know what is Hyper key, and Super. > >So it is a LCL bug then? Not sure, iirc I've implemented them in gtk. At least I recall me looking a

Re: [Lazarus] Insufficient keyboard modifiers support in IDE

2017-05-11 Thread Graeme Geldenhuys via Lazarus
On 2017-05-11 16:21, Graeme Geldenhuys via Lazarus wrote: I'll file a Mantis bug report. Reported as: https://mantis.freepascal.org/view.php?id=31797 Many thanks for your help and time Alexey. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpg

Re: [Lazarus] Insufficient keyboard modifiers support in IDE

2017-05-11 Thread Graeme Geldenhuys via Lazarus
On 2017-05-11 16:00, Alexey via Lazarus wrote: It must not see em. Laz dont know what is Hyper key, and Super. So it is a LCL bug then? As I mentioned, I'm using LCL-GTK2, and I know FreeBSD supports those keys (tested with xev), and I know GTK2 supports those keys (test with The GIMP). So d

Re: [Lazarus] Insufficient keyboard modifiers support in IDE

2017-05-11 Thread Alexey via Lazarus
On 11.05.2017 17:50, Graeme Geldenhuys via Lazarus wrote: that generates Ctrl+Alt+Shift+Hyper+Up it doesn't recognise any of the new shiftstates It must not see em. Laz dont know what is Hyper key, and Super. Shiftstate flags are none, AFAIK LCL dont support Hyper/Super keys -- Regards, Alex

Re: [Lazarus] Insufficient keyboard modifiers support in IDE

2017-05-11 Thread Graeme Geldenhuys via Lazarus
On 2017-05-11 15:28, Alexey via Lazarus wrote: Check "Meta" shows on Mac only; you need it for Lin/Win? It is simple fix, one liner. 1) That wasn't too clever from whomever implemented that artificial restriction. Meta, Super, Hyper and AltGr are often used on other platforms (Linux,FreeBSD,W

Re: [Lazarus] Insufficient keyboard modifiers support in IDE

2017-05-11 Thread Alexey via Lazarus
>Both in Lazarus v1.7 and v1.9 using the IDE compiled with LCL-GTK2. Check "Meta" shows on Mac only; you need it for Lin/Win? It is simple fix, one liner. function TCustomShortCutGrabBox.GetDefaultShiftButtons: TShiftState; begin {$IFDEF Darwin} Result:=[ssCtrl,ssShift,ssAlt,ssMeta]; {$E

Re: [Lazarus] Insufficient keyboard modifiers support in IDE

2017-05-11 Thread Graeme Geldenhuys via Lazarus
On 2017-05-11 13:47, Alexey via Lazarus wrote: Hm, on OSX, IDE shows key grab dialog [in keymapping opts] with additional checkbox, "Meta". It is what yo need? Attached is a screenshot of what I see. Both in Lazarus v1.7 and v1.9 using the IDE compiled with LCL-GTK2. Note that there is che

Re: [Lazarus] Insufficient keyboard modifiers support in IDE

2017-05-11 Thread Alexey via Lazarus
Hm, on OSX, IDE shows key grab dialog [in keymapping opts] with additional checkbox, "Meta". It is what yo need? Ctrl+Meta checkboxes - for keys Ctrl/Command. And dialog works for Meta. Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

[Lazarus] Insufficient keyboard modifiers support in IDE

2017-05-11 Thread Graeme Geldenhuys via Lazarus
Hi, I'm using an Ergodox keyboard, and have a shortcut layer setup in my keyboard layout. This allows me a single key press, yet sends a complex key sequence to the OS. The same can be achieved with normal keyboards and some extra software. This is extremely useful, and more about that can b