Issue 107234 - Dialog localization mechanism is bugged
Summary: Dialog localization mechanism is bugged
Status: UNCONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 3.1.1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needhelp
Depends on:
Blocks:
 
Reported: 2009-11-26 13:24 UTC by bmarcelly
Modified: 2014-01-24 12:11 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bmarcelly 2009-11-26 13:24:42 UTC
I cannot show a series of steps to reproduce it, but I am sure there are several bugs 
in the dialog localization.
I encounter problems when I design dialogs in My Macros with the IDE (preparing an 
extension). This has appeared on different projects and also before version 3.1.1.
 
Suppose you design some complex dialog library (several dialogs, each with several 
and various controls).
You test it with your code. Then you reopen the IDE to change something : add or 
suppress a control, or rename it, or add another dialog, or delete another, etc. 
Maybe also add another language.

When you test again you may see some texts of a dialog replaced by for example 
&874.DlgSel.CurrentState.Label which means the localization mechanism cannot retrieve 
the corresponding string.
Then you close OpenOffice, and during the closure you get a crash message of 
OpenOffice.
If you read the DialogStrings_xx_XX.properties you find errors like duplicate lines 
or lines out of the nummbering order, or missing lines.

These bugs may not appear on very simple dialogs, but they do appear sooner or later 
when you create really useful dialogs. It is very difficult and time consuming to 
correct the errors, and they may reappear each time you edit a dialog of your 
library. So in the current state, it is impractical to use for a professional project.

IMHO the designer of dialog localization mechanism should review carefully its code 
and find out why there are errors when the files DialogStrings_xx_XX.properties are 
re-written.
Comment 1 Olaf Felka 2009-11-27 08:09:55 UTC
@ jsk: Something for you?
Comment 2 hans_werner67 2011-03-28 11:56:45 UTC
Assign to new default-assignee