To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97088
                 Issue #|97088
                 Summary|Wrong accelerator config. file is used as basis for us
                        |er configuration
               Component|Presentation
                 Version|DEV300m37
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|ui
             Assigned to|graphicsneedsconfirm
             Reported by|dtardon





------- Additional comments from [EMAIL PROTECTED] Wed Dec 10 08:34:54 +0000 
2008 -------
The default accelerator configuration file is mistakenly (well, maybe it's
allowed, but it doesn't work) placed as
sd/uiconfig/simpress/accelerator/default.xml instead of
sd/uiconfig/simpress/accelerator/en-US/default.xml . That means that default
file for user configuration is picked from one of the other localizations (it
happens to be es on Fedora using ext3 filesystem). Code responsible for it is
framework::PresetHandler::connectToResource(), that:
1. determines locales for share and user config
2. gets all available locales from share
3. uses comphelper::Locale::getFallback() for selecting the best locale
   from share
4. uses that locale as part of path to default.xml

Now, if the locale list from step 2 is nonempty,
comphelper::Locale::getFallback() always returns _some locale_, that, if there
is no language match and no en-XX is present, will be simply the first one in
the list. I personally consider this behaviour wrong (especially in this case,
where the locale list itself has been created by listing of a directory, so the
order of items is filesystem dependent), but maybe there are some points in
favour of it that I don't see... Nevertheless, the simplest thing to do is to
ensure there always is en-US (or en) locale subdirectory which can be used as
fallback.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to