[Lazarus] GTK3, OnKeyDown

2020-05-16 Thread Juha Manninen via lazarus
Strange. With LCL-GTK3 a Form.OnKeyDown handler is not called. The test app from issue : https://bugs.freepascal.org/view.php?id=37073 can be used. It has a splashscreen but have tested with a normal form, too. Same effect. The attached patch takes out a test if Widget^.has_focus then in

Re: [Lazarus] Keyboard mapping probelm

2020-05-16 Thread Juha Manninen via lazarus
On Sat, May 16, 2020 at 2:49 PM Brian via lazarus wrote: > I tried that. Now *every* keypress is duplicated. It was allegedly fixed in trunk r63089 less than 3 weeks ago. See: https://bugs.freepascal.org/view.php?id=30863 If nobody gets the duplicate key problem with trunk any more, that issue

Re: [Lazarus] Where to define conditionals for FPC

2020-05-16 Thread Marc Weustink via lazarus
On 15-5-2020 23:54, Bo Berglund via lazarus wrote: On Fri, 15 May 2020 21:26:43 +0200, Marc Weustink via lazarus wrote: On May 14, 2020 10:21:22 AM GMT+02:00, Bo Berglund via lazarus wrote: On Tue, 12 May 2020 13:49:08 +0200, Marc Weustink via lazarus wrote: While going through your

Re: [Lazarus] Keyboard mapping probelm

2020-05-16 Thread Brian via lazarus
On 5/14/20 7:59 AM, Graeme Geldenhuys via lazarus wrote: > On 06/05/2020 1:19 am, Brian via lazarus wrote: >> I forgot to add - I totally erased fpcup's entire tree and rebuilt >> from scratch. No change. > > It's not about recompiling Lazarus. Probably more related to your > customised settings