Re: [Lazarus] Object inspector bug - exception
On Thu, Mar 8, 2018 at 10:05 PM, Rik van Kekem via Lazaruswrote: > But I was under the impression that using TAB in the Component-filter in > Object Inspector would set the focus on the TreeView with the components. It > doesn't. I never use it but apparently it sets the focus directly on the > Property view. The key handling in OI is a little complicated. Now the TAB is also handled in TObjectInspectorDlg.KeyDown(). I added commens etc. in r57490. Please debug and experiment with the code. Maybe you can fix it. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Object inspector bug - exception
On 06/03/18 17:12, Rik van Kekem via Lazarus wrote: > Can someone file a bugreport please. > I am unable to do so ATM. Done. https://bugs.freepascal.org/view.php?id=33344 The exception is fixed in trunk. But I was under the impression that using TAB in the Component-filter in Object Inspector would set the focus on the TreeView with the components. It doesn't. I never use it but apparently it sets the focus directly on the Property view. Is this the proper behavior (it was always this way) or is it supposed to go to the treeview? Again, I never use the keyboard there so maybe it's supposed to be that way. In Delphi you can "Tab" into the Component Treeview but it hasn't a Component-filter-edit. Rik -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Object inspector bug - exception
On Tue, Mar 6, 2018 at 2:45 PM, Rik van Kekem via Lazaruswrote: > On Windows Lazarus 1.9 trunk too. > You can shorten it to: > - in a new project click on filter in the object inspector > - press tab > - press o > - wait 1 second > *) List index (-1) out of bounds. > > It's only a problem if you press Tab in the filter-edit and then press any > key. Can someone file a bugreport please. I am unable to do so ATM. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Object inspector bug - exception
On 2018-03-06 11:18, Lubos Pintes via Lazarus wrote: Hello, Can you reproduce this? In Lazarus, execute this key sequence: F11, Ctrl+Tab, Tab, o, n, k Then this exception is raised: [Window Title] Lazarus IDE v1.9.0 - project1 [Content] List index (-1) out of bounds. Press OK to ignore and risk data corruption. Press Abort to kill the program. [OK] [Abort] Version doesn't matter, I believe this exists for a very long time, although I have fairly fresh version, several days old. I can reproduce here: Lazarus 1.9.0 r57449M FPC 3.0.0 x86_64-linux-gtk2 I already get the A/V on pressing the "n" key. Regards, Torsten. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus