[Bug 1003939] New: enlightenment doesn't honor system locale
http://bugzilla.suse.com/show_bug.cgi?id=1003939 Bug ID: 1003939 Summary: enlightenment doesn't honor system locale Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: lnussel@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- - install Beta3 in different locale (German in this case) - select XFCE - in summary screen go to software, unselect XFCE and select Englightenment - first log in presents wizard which is only partially in German - Desktop ends up in US locale with US clock and US keyboard even though system settings say de_DE -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |simonf.lees@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c1 --- Comment #1 from Simon Lees <simonf.lees@suse.com> --- Thanks for the report. The language was indeed not getting set correctly the upstream info I had that suggested this should be automatic was wrong. I've written a patch for the wizard so the new behavior is the following: if LC_CTYPE is set to one of enlightenment's supported languages (see list below) it will automatically set that as enlightenment’s language, otherwise it now shows a language dialog allowing you to select one of the supported languages. It seems that 1-2 of the newer wizard pages are missing a couple of translations but most are there and as far as I can tell all the commonly used areas and more are translated (I didn't go through every setting dialog). I'll get in contact with one of the German based developers and see if they can fix those areas. In the case you select a language but don't change the keyboard layout etc it seems only LC_CTYPE is set by yast. {"ar_AE.UTF-8", "ara_flag.png", "العربية"}, {"bg_BG.UTF-8", "bg_flag.png", "Български"}, {"ca_ES.UTF-8", "cat_flag.png", "Català"}, {"cs_CZ.UTF-8", "cz_flag.png", "Čeština"}, {"da_DK.UTF-8", "dk_flag.png", "Dansk"}, {"de_DE.UTF-8", "de_flag.png", "Deutsch"}, {"en_US.UTF-8", "us_flag.png", "English"}, {"en_GB.UTF-8", "gb_flag.png", "British English"}, {"el_GR.UTF-8", "gr_flag.png", "Ελληνικά"}, {"eo_US.UTF-8", "epo_flag.png", "Esperanto"}, {"eo.UTF-8", "epo_flag.png", "Esperanto"}, {"es_AR.UTF-8", "ar_flag.png", "Español"}, {"et_ET.UTF-8", "ee_flag.png", "Eesti keel"}, {"fi_FI.UTF-8", "fi_flag.png", "Suomi"}, {"fo_FO.UTF-8", "fo_flag.png", "Føroyskt"}, {"fr_CH.UTF-8", "ch_flag.png", "Français (Suisse)"}, {"fr_FR.UTF-8", "fr_flag.png", "Français"}, {"he_HE.UTF-8", "il_flag.png", "עברית"}, {"hr_HR.UTF-8", "hr_flag.png", "Hrvatski"}, {"hu_HU.UTF-8", "hu_flag.png", "Magyar"}, {"it_IT.UTF-8", "it_flag.png", "Italiano"}, {"ja_JP.UTF-8", "jp_flag.png", "日本語"}, {"km_KM.UTF-8", "kh_flag.png", "ភាសាខ្មែរ"}, {"ko_KR.UTF-8", "kr_flag.png", "한국어"}, {"ku.UTF-8", "ku_flag.png", "یدروك"}, {"lt_LT.UTF-8", "lt_flag.png", "Lietuvių kalba"}, {"ms_MY.UTF-8", "my_flag.png", "Bahasa Melayu"}, {"nb_NO.UTF-8", "no_flag.png", "Norsk Bokmål"}, {"nl_NL.UTF-8", "nl_flag.png", "Nederlands"}, {"pl_PL.UTF-8", "pl_flag.png", "Polski"}, {"pt_BR.UTF-8", "br_flag.png", "Português"}, {"ru_RU.UTF-8", "ru_flag.png", "Русский"}, {"sk_SK.UTF-8", "sk_flag.png", "Slovenčina"}, {"sl_SI.UTF-8", "si_flag.png", "Slovenščina"}, {"sv_SE.UTF-8", "se_flag.png", "Svenska"}, {"tr_TR.UTF-8", "tr_flag.png", "Türkçe"}, {"uk_UK.UTF-8", "ua_flag.png", "Українська мова"}, {"zh_CN.UTF-8", "cn_flag.png", "中文 (繁体)"}, {"zh_TW.UTF-8", "tw_flag.png", "中文 (繁體)"}, -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c2 --- Comment #2 from Simon Lees <simonf.lees@suse.com> --- Automatically setting the keyboard layout is a little harder, I can re add the wizard screen to select it which is enough to get it working but means the user needs to select there keyboard layout again. What I will try and do first is read the keyboard layout from setxkbmap -query then set it based off that. I can't see anywhere where the current keyboard choice is stored other then /etc/sysconfig/keyboard and yast doesn't use standard naming with what it writes there. Suggestions here are welcome. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c3 --- Comment #3 from Ludwig Nussel <lnussel@suse.com> --- You'd have to talk to e.g. Ancor who refactored yast2-country. He likely knows where yast stores what and where it gets it's mapping from. I wonder why Enlightenment bothers at all though. Keyboard and locale ($LANG) are set correctly already when you log in. You don't have to do anything. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c4 --- Comment #4 from Simon Lees <simonf.lees@suse.com> --- (In reply to Ludwig Nussel from comment #3)
I wonder why Enlightenment bothers at all though. Keyboard and locale ($LANG) are set correctly already when you log in. You don't have to do anything.
Enlightenment in its current form has now been around for the best part of 15 years so I guess at some point in that time at least on some distro's the support wasn't as good. Enlightenment also targets embedded and mobile distro's such as tizen which may not be as well setup or may not have a display manager to set these values up. Certainly when I asked upstream last time they seemed to think that removing the wizard pages should be all you need to do but I guess something changed somewhere in the codebase. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c5 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High --- Comment #5 from Ludwig Nussel <lnussel@suse.com> --- Will we have a fix for RC1? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c6 --- Comment #6 from Simon Lees <simonf.lees@suse.com> --- We will have a partial fix + workaround in place, Ancor has been on leave the last 2 days so that combined with some other work means I haven't progressed further with the keyboard layout issue. As a work around for this I will re add the keyboard layout selection page to the first run wizard which isn't ideal as a user will be asked twice in most cases, enlightenment also ships with a shelf gadget allowing you to easily swap layouts and on a multi user system different users may want different layouts. As for setting the language I have a patch that fixes that ready and tested and I will submit that alongside a patch fix release shortly (There was a issue with Qt apps in tumbleweed that I was going to see if I could do at the same time but thats still waiting for a new Qt5-style-gtk package. The German translations are done upstream but I wasn't planning on adding them until they came in with the next point release unless you think its important to have them sooner. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c7 --- Comment #7 from Simon Lees <simonf.lees@suse.com> --- <ancorgs> Simotek: you should query localectl Will get that done early next week. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c8 --- Comment #8 from Ludwig Nussel <lnussel@suse.com> --- What's the status here? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c9 --- Comment #9 from Simon Lees <simonf.lees@suse.com> --- (In reply to Ludwig Nussel from comment #8)
What's the status here?
The main user facing action is tested and works fine, however the user is currently always prompted for there keyboard layout 1 time on first run. I have been working with upstream to get the detection automatic and its close but not quite there yet unfortunately i've had to deal with a large number of CVE's in the last 2 weeks. I am aiming to the auto detection completed tomorrow from there ill test it from the devel repo and then tumbleweed and as enlightenment is only on the net iso I can do a maintenance request to make it available before release (or this enhancement can be postponed until 42.2 So in short enlightenment will currently launch and work in the language selected from the installer however they will be asked again for a preffered keyboard layout and that choice is handled correctly. Outside of this issue and some minor branding issues I fixed the other day i've given enlightenment a lot of testing both in Leap and Tumbleweed (Currently the same version) and its run rock solid with no issues. Its probably in better shape in 42.2 then any previous openSUSE releases (better stabilization upstream has also helped here). I have 2-3 further enhancements to make to remove openQA soft failures in the future but i'll handle that after Leap is done, my aim is to have leap updates also tested in openQA but as part of the upstream release process i'm currently manually testing them more then what openQA does anyway. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c12 --- Comment #12 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (1003939) was mentioned in https://build.opensuse.org/request/show/477879 42.2 / enlightenment -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c14 --- Comment #14 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2017:0751-1: An update that has three recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1003939,1008982,983978 CVE References: Sources used: openSUSE Leap 42.2 (src): enlightenment-0.21.7-3.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c23 --- Comment #23 from Swamp Workflow Management <swamp@suse.de> --- This is an autogenerated message for OBS integration: This bug (1003939) was mentioned in https://build.opensuse.org/request/show/591767 15.0 / enlightenment -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c24 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |WONTFIX --- Comment #24 from Tomáš Chvátal <tchvatal@suse.com> --- This is automated batch bugzilla cleanup. The openSUSE 42.3 changed to end-of-life (EOL [1]) status. As such it is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of openSUSE (At this moment openSUSE Leap 15.1, 15.0 and Tumbleweed) please feel free to reopen this bug against that version (!you must update the "Version" component in the bug fields, do not just reopen please), or alternatively create a new ticket. Thank you for reporting this bug and we are sorry it could not be fixed during the lifetime of the release. [1] https://en.opensuse.org/Lifetime -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1003939 http://bugzilla.suse.com/show_bug.cgi?id=1003939#c25 --- Comment #25 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1003939) was mentioned in https://build.opensuse.org/request/show/809716 15.2 / enlightenment -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com