Cannot Change Object Properties
Original Reporter info from Mantis: Yuri_br
-
Reporter name:
Original Reporter info from Mantis: Yuri_br
- Reporter name:
Description:
Hi, I have the same problem described on issue #15464 (closed). It's a very annoying bug that prevents one from changing object properties and that's why I gave up from using Lazarus in the past.
But now I found how to reproduce it.
- Create a new project and place 2 buttons on it.
- Click on the first button and change it's CAPTION property to 'test'. After that press TAB (or ENTER + TAB).
- Now click on the button2 and try to change it's caption property. Instead of editing the property, the cursor will jump through the properties according to the letter you type.
The problem is that this erratic behavior should come back to normal when you change the object selection, but you wont be able to edit a property until you press TAB again.
Also, after you pressed TAB and entered in this 'navigation mode', if you press a key that has no property starting with it, it will actually edit the selected field.
For example, after going thought steps 1-3, try to set the caption of a TButton let's say to 'konkeror'. After you have typed 'KONKEROR' you will have changed the caption to 'ko', then when 'n' was pressed it navigates to the property 'name', so as you keep typing, this property will be set to 'k'. When 'e' is pressed it goes to 'enabled' property wich ends with the value of 'ror'.
So, after that you messed up with all the object properties!!!
In a nutshell, there are in fact two bugs:
-
When in 'navigation mode' (after pressing TAB) it should come back to 'editing mode' when the object selection is changed
-
When in 'navigation mode' if a property that starts with the last key pressed does not exists it SHOULD NOT change the corresponding property.
I'm not sure if this can be reproduced in Linux btw.
Regards
Yuri
Mantis conversion info:
- Mantis ID: 16259
- Version: 0.9.28.2
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 24711 (#f3ce045d)
- Target version: 0.9.30