08-31-2016 03:06 AM
The user interface browser is a powerful tool to navigate among objects while designing the user interface, but unfortunately it has an annoying bug: apparently it regenerates every time you switch back and forth to another window of the workspace.
Let me explain: even if you right-click on the browser and collapse all elements so that when you click on 'Panels' only the list of panels appears, if you switch to another window (it doesn't matter whether another UIR or C or H file) and return to the previous window, the browser is now expanded at the maximum detail.
This is annoying in case of UIR files with several panels and objects when you are editing a particular element in a panel and collapse the browser tree to locate that element easily: if you happen to switch the window (e.g. because you go and look at that object code) when you return to the UIR editor the browser tree is expanded at full detail and you need to relocate your object among a crowded list
Since jumping from an UI element to the corresponding item in the browser tree is still a missing feature, at least preserve the state of the bowser tree to avoid wasting time each time to locate the desired item in it!
09-01-2016 06:35 AM
Hi Roberto, and thanks for reporting this issue.
Based on my testing, this issue is manifested in 2 different flavours. Let me describe them to you hoping that this will at least make the issue more predictable:
I have filed this bug under CAR #602984.
Best regards,
- Johannes
09-01-2016 07:03 AM
Hello Johannes and thanks for taking a look into this.
I can understand that tree expands and gets the new control selected when I add a.g. a button on a panel. This is reasonable and correct in my opinion.
The tree does not change its state nor the active control in it if I click or even double-click on anothoer control on the same or a different panel.
What is difficult for me to understand and very unconfortable is why it changes if I switch the window. Let's start with the tree fully collapsed: only "Panels" and "Menu bars" elements are shown. If I click on Panels a list of panels shows, each of them collapsed. I can then expand one of them and look at individual controls. Now run again the "Collapse all" option ans switch to another window than back to the UIR editor: the tree is collapsed byt if you expand the panel item, it si fully expanded!
This is particularly annoying when I want to look at control arrays structure, since they are the last elements shown in panel objects list.
Anyway, keep us informed on when there will be updates on this subject.