[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 User wuy changed the following: What|Old value |New value CC|'as,eberlein,rvojta,sb' |'as,eberlein,rvojta,sb,wuy | |' --- Additional comments from w...@openoffice.org Mon Feb 23 10:08:31 + 2009 --- wuy-sb: Yes, the accelerator code read the current locale from Setup.xcu and then match itself in prop oor:name=Command/prop. It would fail to match de/es to de-DE/es-AR. - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 User mba changed the following: What|Old value |New value CC|'as,eberlein,rvojta,sb,wuy|'as,eberlein,mba,rvojta,sb |' |,wuy' - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 User rvojta changed the following: What|Old value |New value CC|''|'rvojta' - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 User eberlein changed the following: What|Old value |New value CC|'rvojta' |'eberlein,rvojta' - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 --- Additional comments from s...@openoffice.org Fri Feb 20 13:42:54 + 2009 --- @arielch: Is the first XML file in the original description (containing the es-AR and de-DE entries) contained as-is in an extension, or is it further processed during the building of OOo before (some derivative of) it is included in an extension? In the former case, I cannot reproduce this problem. I took tags/DEV300_m41/desktop/test/deployment/options/leaf1.oxt, modified the contained OptionsDialog.xcu by replacing the single line value xml:lang=en-USWriter leaf1 en-US/value with the multiple lines value xml:lang=en-USWriter leaf1 en-US/value value xml:lang=de-CHWriter Blatt1 CH/value value xml:lang=de-AUWriter Blatt1 AU/value value xml:lang=frWriter Blatt1 fr/value and then starting OOo Writer after specifiying Tools - Options... - Language Settings - Languages - Language of - User Interface - German (Germany), I get Writer Blatt1 AU under (German counterpart to) Tools - Options... - OpenOffice.org Writer (i.e., an arbitrary choice from the two best matches de-CH and de-AU for the given locale de). In the latter case, it is probably an artifact of the OOo build process, taking localized data for locales that appear in the WITH_LANG environment variable (that would contain de but not de-DE) and dropping other localized data. - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 User sb changed the following: What|Old value |New value CC|'eberlein,rvojta' |'eberlein,rvojta,sb' - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 --- Additional comments from arie...@openoffice.org Fri Feb 20 13:56:57 + 2009 --- Is the first XML file in the original description (containing the es-AR and de-DE entries) contained as-is in an extension, or is it further processed during the building of OOo before (some derivative of) it is included in an extension? The first one: I take the xcu as is, and make an oxt out of it. I'll attach a demo extension. Anyway this comes from d...@extensions, where Oliver B. was the first to find this behavior, so it should be reproducible. - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 --- Additional comments from arie...@openoffice.org Fri Feb 20 14:04:19 + 2009 --- Created an attachment (id=60334) extension with undesided effect - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 --- Additional comments from arie...@openoffice.org Fri Feb 20 14:05:11 + 2009 --- Created an attachment (id=60335) extension that works as expected - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 User sb changed the following: What|Old value |New value CC|'eberlein,rvojta,sb' |'as,eberlein,rvojta,sb' --- Additional comments from s...@openoffice.org Fri Feb 20 16:04:43 + 2009 --- @arialch: Can reproduce the problems with your two attachments indeed. @as: Just a wild guess: Could it be that the accelerator code reads all data (for all locales) from configmgr and then does the locale matching itself (and, other than configmgr, does not match de-DE for de)? That would explain the observations made here. - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 Issue #|99435 Summary|Accelerators.xcu - undesired effect when setting the l |ocale with language-country Component|framework Version|DEV300m40 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|tm Reported by|arielch --- Additional comments from arie...@openoffice.org Fri Feb 20 01:01:14 + 2009 --- Tested on DEV300_m40 with three different language packs (en-US, es, de), the problem I've found is that if you indicate the language-country code (es-AR, de-DE), the accelerators don't work: ?xml version=1.0? oor:component-data xmlns:oor=http://openoffice.org/2001/registry; xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:install=http://openoffice.org/2004/installation; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; oor:name=Accelerators oor:package=org.openoffice.Office node oor:name=PrimaryKeys node oor:name=Global node oor:name=F9 oor:op=replace prop oor:name=Command value xml:lang=en-US.uno:CloseWin/value value xml:lang=es-AR.uno:About/value value xml:lang=de-DE.uno:Open/value /prop /node /node /node /oor:component-data in this example, value xml:lang=es-AR.uno:About/value value xml:lang=de-DE.uno:Open/value do not work when the respective language is active in the UI, and default to value xml:lang=en-US.uno:CloseWin/value Problem seems to be that the office locale has no country (in the case of es and de). So the following DOES work: ?xml version=1.0? oor:component-data xmlns:oor=http://openoffice.org/2001/registry; xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:install=http://openoffice.org/2004/installation; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; oor:name=Accelerators oor:package=org.openoffice.Office node oor:name=PrimaryKeys node oor:name=Global node oor:name=F9 oor:op=replace prop oor:name=Command value xml:lang=en-US.uno:CloseWin/value value xml:lang=es.uno:About/value value xml:lang=de.uno:Open/value /prop /node /node /node /oor:component-data As you can see: one has only to indicate the language, with no country. IMO this is an issue and very error prone, because in all other cases where we have to give an xml:lang value, the implementation is clever enough to find the best matching result, and usually we set a language-COUNTRY value (es-AR, de-DE), instead of an only language one (es, de). Error prone because there is no general rule and is very implementation specific: in some cases there *is* language-COUNTRY and in other not. You can find a list in http://svn.services.openoffice.org/opengrok/xref/DEV300_m41/solenv/inc/postset.mk#38 # Complete list of all supported ISO codes completelangiso=af ar as-IN be-BY bg br bn bn-BD bn-IN bs by ca cs cy da de dz el en-GB en-US en-ZA eo es et eu fa fi fr ga gd gl gu gu-IN he hi-IN hr hu it ja ka km kn ko ku lo lt lv mk mn ms ml-IN mr-IN my ne nb nl nn nr ns oc or-IN pa-IN pl pt pt-BR ru rw sk sl sh sr ss st sv sw sw-TZ te-IN ti-ER ta-IN th tn tr ts tg ur-IN uk uz ve vi xh zh-CN zh-TW zu as you see, es and de have no country, but en-GB en-US en-ZA do have. This feature is intended not only for extensions developer's with programming skills, but also for the common user and any one who can write a non-code extension can benefit from it. This users will tend to use the same they see in the Tools - Options dialog: under Language settings, the language for the user interface is listed in the listbox as German (Germany) and Spanish (Argentina), not as it is internally implemented (and in the only way the Accelerators.xcu works): de and es respectively. - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail:
[framework-issues] [Issue 99435] Accelerators.xcu - undesir ed effect when setting the locale with languag e-country
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99435 User arielch changed the following: What|Old value |New value Assigned to|tm|cd --- Additional comments from arie...@openoffice.org Fri Feb 20 01:03:51 + 2009 --- -cd: this may belong to Yan Wu (or as@). As I don't know the former's OOo nickname, please proceed. - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org