Issue 122636 - [sidebar] non-pro build does not show field length in sidebar panels
Summary: [sidebar] non-pro build does not show field length in sidebar panels
Status: UNCONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 4.0.0-dev
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needhelp
Depends on:
Blocks:
 
Reported: 2013-06-29 13:31 UTC by Regina Henschel
Modified: 2014-03-04 11:09 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Simple patch to force recursive child processing. (531 bytes, patch)
2013-07-01 13:08 UTC, Andre
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2013-06-29 13:31:24 UTC
If you use a non-pro build you can enable an option to show the width of fields in dialogs. This option does not work for the sidebar, but would be useful there too as in other dialogs.
Comment 1 Andre 2013-07-01 11:05:29 UTC
I am not familiar with this feature.  Can you explain how to activate it.
Comment 2 Regina Henschel 2013-07-01 11:56:41 UTC
Use Ctrl+Alt+Shift+D do open the dialog for the debug settings. In section 'Test options' check 'Dialog'. OK.

Now open e.g Tools > Options > ... You see, that the controls have got a background color. The color shows, how large the field is really. So you can see, whether there is enough space for longer words in other languages. For more details see the help of the debug settings.

I don't know, what need to be done, to make the sidebar react on this debug setting, likely Ariel knows.
Comment 3 Andre 2013-07-01 12:06:01 UTC
Ah, in the debug settings dialog. Thanks.  Will look into this when I find the time.
Comment 4 Andre 2013-07-01 12:41:50 UTC
The colorization (and other visual clues) are set in DbgDialogTest() (vcl/source/app/dbggui.cxx).

A) This function is only called from Window::Show(), so in order to trigger it, you have to click the closer in the sidebar (just the tab bar remains visible) and then click on the property button to show the sidebar deck again.

B) DbgDialogTest() then iterates over all child windows of the window that just received the Show() command.  This is the SidebarDockingWindow.  It seems that only the direct children are processed.  In case of the sidebar that does not include any panels or their controls.
This iteration loop would have to be changed to work for sidebar panels.
Comment 5 Andre 2013-07-01 13:08:15 UTC
Created attachment 80968 [details]
Simple patch to force recursive child processing.

This patch iterates recursively over all children not just the top level ones.

You still have to close and reopen the sidebar deck.