Forum > Editor

[Solved]Object Inspector multi select bug

(1/3) > >>

Tony Stone:
In Lazarus Lazarus 4.99 (rev main_4_99-44-g2d7ef84dab) FPC 3.3.1 x86_64-linux-gtk2 I think I found a bug with the object inspector.  Unless I am missing something obvious?


To reproduce drop 3 TPanels on a form, some TMemos maybe and that should be enough to reproduce this I think.  In the object inspector I select the 3 TPanels USING THE CTRL+CLICK and all of the properties show still because the 3 selected items have the same properties.

HOWEVER when I select the same 3 TPanels using Shift+Click it shows about half of the properties!  I will file a bug report but I want to make sure this isn't some intended behavior.  Let me know please if you see the same issues?

Joanna from IRC:
That’s interesting, could it be the properties that they have in common? I think I tried something like this a long time ago. I’m curious what the properties shown are.

Also you might have a typo ->big instead of bug?

Tony Stone:
Like I said just try it.  See if YOU SEE the same issue I am seeing if you don't mind.  When selecting using ctrl-key it shows ALL of the properties in common(which in this case is all properties since it is 3 objects of the same type).  But when selecting multiple items of the same type with the shift key it is not including all of the properties such as bevel and many others.  So I mean B. U. G. if this is not in fact expected behavior.  I am strugling to see why it would be expected.  I will test it on my Windows machine and see if it does the same thing.


Just checked on my windows machine and it also behaves odd like this.  Unless I am missing something obvious it is supposed to be doing different when doing multi select with shift vs ctrl.

Martin_fr:
Using 4.99 with 3.2.3 / Win 10 64 bit: I can not reproduce.

In the OI component tree the 3 panels are on top, and below that are the memos (the memos are on the form, not in any of the panels).

I can use
- ctrl in the OI-tree to select (3 clicks)
- shift in the OI tree to select (2 clicks, 2nd with shift)
- shift on the designer (3 clicks)

And I see all properties.


Of course if a memo has one of the panels as parent, and is listed inside that panel, and I use shift in the OI-tree, then that memo gets selected. (Except if the memo is inside the last panel in the list).

Martin_fr:
OK, on Linux, even if I use ctrl: something goes wrong.

Some rows are not painted correctly

Navigation

[0] Message Index

[#] Next page

Go to full version