Issue 87183 - Dialog TextBox display incorrect in design mode
Summary: Dialog TextBox display incorrect in design mode
Status: REOPENED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.4 RC5
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 10:52 UTC by bmarcelly
Modified: 2013-03-31 12:29 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 3.4.1
Developer Difficulty: ---


Attachments
Demo of truncated text in a dialog textbox (12.10 KB, application/vnd.oasis.opendocument.text)
2008-03-18 10:53 UTC, bmarcelly
no flags Details
Dialog1 screenshot (68.37 KB, image/jpeg)
2013-03-30 16:53 UTC, Edwin Sharp
no flags Details
Snapshot of IDE in Windows 8, Apache OpenOffice 3.4.1 (22.63 KB, image/png)
2013-03-31 12:29 UTC, bmarcelly
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bmarcelly 2008-03-18 10:52:23 UTC
Steps to reproduce:
1 Create a dialog in the IDE
2 Put a textbox in the dialog
3 Write a text of a few words.
4 Change the default font to a very different font, e.g. BitStream Vera Sans Mono
5 Make the textbox wider than the text string.
6 Set alignment to : Right
Result : text appears troncated.
The visible text length was not recomputed when font changed.

In test mode or when dialog is executed, display is correct.
I don't know when the bug appeared. This problem does not occur with OOo 1.1.5,  
even the same document displays correctly.
Comment 1 bmarcelly 2008-03-18 10:53:35 UTC
Created attachment 52186 [details]
Demo of truncated text in a dialog textbox
Comment 2 Olaf Felka 2009-04-01 22:52:08 UTC
Any news since OOo 3.0.1?
Comment 3 bmarcelly 2009-04-02 07:04:30 UTC
Same problem with OOO310m6.
Comment 4 Olaf Felka 2009-04-02 07:12:36 UTC
@ jsk: Please have a look.
Comment 5 hans_werner67 2011-03-28 11:52:17 UTC
Assign to new default-assignee
Comment 6 Edwin Sharp 2013-03-29 13:28:32 UTC
No dialog1 in attachment.
Comment 7 bmarcelly 2013-03-29 19:23:20 UTC
(In reply to comment #6)
> No dialog1 in attachment.

Put your glasses on your nose. Open the Basic IDE. Look the tabs at bottom. Click on the tab labeled Dialog1.

Now you see a dialog form, containing a label and a TextField.
On my PC (Windows XP, Apache OpenOffice v3.4.1), the textfield shows : 
"       Right aligned"

Click on the Test mode button of the toolbox. The textfield shows :
"       Right aligned text"

Understood ?
Comment 8 Edwin Sharp 2013-03-30 16:53:46 UTC
Created attachment 80482 [details]
Dialog1 screenshot

Tools - Macros - Organize Macros - OOo-dev Basic... - Edit
Dialog1 tab shows text correctly.
Rev. 1458937
Comment 9 Ariel Constenla-Haile 2013-03-30 17:08:31 UTC
(In reply to comment #8)
> Tools - Macros - Organize Macros - OOo-dev Basic... - Edit
> Dialog1 tab shows text correctly.
> Rev. 1458937

Quite strange, I can reproduce it on 3.4.1, and current trunk
Comment 10 bmarcelly 2013-03-31 12:29:53 UTC
Created attachment 80484 [details]
Snapshot of IDE in Windows 8, Apache OpenOffice 3.4.1

Bug also appears on Windows 8, using the default theme.

On Windows XP I use Classical theme.
Maybe it depends on the Windows theme.