Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Structure Pane    [ Add a report in this area ]  
Report #:  102725   Status: Reported
Clicking on an object in structure tree sets focus to another control
Project:  Delphi Build #:  15.0.3953.35171
Version:    15.1 Submitted By:   Wissem Bouras
Report Type:  Basic functionality failure Date Reported:  1/19/2012 11:19:12 PM
Severity:    Infrequently encountered problem Last Updated: 3/28/2012 6:56:11 PM
Platform:    All versions Internal Tracking #:  
Resolution: Cannot Reproduce (Resolution Comments) Resolved in Build: : 15.0.3953.35171
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
By clicking in any element is the strcuture makes the structure jump  "ramdomly"
Steps to Reproduce:
Create a new VCL project.
Add ten labels (shift and click on label and add at least 10 labels).
Toggle Form/Unit (F12)
Toggle Form/Unit (F12)
Click on a label.
The structure navigates to another label.

PS :
with 10 controls
ie: clicking on label4 gives focus to label5
PS :
with 20 controls
ie: clicking on label4 gives focus to label15 (5+10?)

I tested it with TEdit and TPageControl, TTabSheet.
I think it's valid for every control.

Tomohiro Takahashi at 1/22/2012 5:25:02 PM -
> Click on a label.
> The structure navigates to another label.
I can not reproduce your issue.
Have you already installed any 3rd-party plugin?
and, could you please attach some screenshots to confirm your issue?

Wissem Bouras at 1/30/2012 10:49:15 PM -
Hello, Yes I've JVCL, PgDAC, LMD Tools (free version), I've to calrify that after toggling with F12 Clicking on a label should be in the structure tree not on the form, the structure for the first click jumps randomly and for the second click it locates the element

Tomohiro Takahashi at 1/31/2012 5:04:18 PM -
Does your issue also occur on clean installation of Delphi XE(Update1) without plugins?

Wissem Bouras at 1/30/2012 10:55:31 PM -
I've attached a screen shot, clicking on lable2 on the structure tree gives focus to label5.

Wissem Bouras at 3/26/2012 3:25:55 AM -
I've just tried a fresh install of delphi XE (without update 1) and the bug exists.

Tomohiro Takahashi at 3/26/2012 6:45:14 PM -
Could you please attach sample project?

Wissem Bouras at 3/26/2012 11:32:47 PM -
I've just added a sample project, click on any label (except label 1) after opening the project and browsing code (Toggle Form/Unit (F12))

Tomohiro Takahashi at 3/27/2012 4:14:19 AM -
> ... delphi XE (without update 1) ...
I tried to reproduce your issue with attached project.
But, unfortunately, I can not reproduce your issue with Delphi XE Update 1.
So, could you please apply Update 1(15.0.3953.35171) and retest your issue with it?

Wissem Bouras at 3/27/2012 11:26:00 PM -
Exists after applying update 1, clicking on a label in the structure pane while the the form is visible after browsing code. I tested it on my desktop computer Compaq with Vista 32 bit, and on my laptop Sony with XP 32 bit session and Seven 64 bit session, so I think it's not hardware or OS dependent bug.

Tomohiro Takahashi at 3/28/2012 6:58:09 PM -
Thanks for retesting this issue.
So, if you need more investigation and support from Embarcadero. please contact technical support service.

Server Response from: ETNACODE01