https://bugs.winehq.org/show_bug.cgi?id=39856
Bug ID: 39856 Summary: Regedit: Wrong default registry key is selected if the language changes Product: Wine Version: 1.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sworddragon2@aol.com Distribution: ---
After bug #37403 is fixed I'm noticing that it still appears one time after the language changes.
https://bugs.winehq.org/show_bug.cgi?id=39856
sworddragon2@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bunglehead@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39856
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead@gmail.com | Severity|normal |trivial
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- I don't think it's a problem. One Windows LastKey is localized too, meaning it saves a string that represents My Computer root key. If you have MUI Windows installation you can try to see if it breaks on UI language switch.
Path to check is:
--- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey ---
So far I don't think there's anything to fix.
https://bugs.winehq.org/show_bug.cgi?id=39856
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |programs
https://bugs.winehq.org/show_bug.cgi?id=39856
--- Comment #2 from Austin English austinenglish@gmail.com --- Could you give more info? I.e., what key did you select before, which language were you running then switched to, and what key did it select on next start?
https://bugs.winehq.org/show_bug.cgi?id=39856
--- Comment #3 from sworddragon2@aol.com --- With my default system language (LANG=de_DE.UTF-8) I have opened regedit and selected the root key (named "My Computer" in english). After this I have closed regedit, changed LANG to C and opened regedit again. But instead of the root key being selected its first child key was selected.
I'm trying now to see what happens if I'm changing the language in Windows XP to english too. But changing the language there seems not to be easy (installing the "Windows XP Service Pack 3 MUI Pack Update" and setting anything to english seems to be not enough. Also on the official language pack site from Microsoft for Windows XP there is no english language pack listed).
https://bugs.winehq.org/show_bug.cgi?id=39856
--- Comment #4 from sworddragon2@aol.com --- I wasn't able to successfully install/enable an english language pack. But I have found an alternative way to test this issue because the question here is what basically happens if HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey points to a non-existent registry key. To test this I have opened regedit in Windows XP, selected any random key, closed regedit and imported the following file:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit] "LastKey"="test"
After starting regedit again the root key was selected. If I'm opening regedit with Wine, selecting any random key, closing regedit, manually setting HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey in ~/.wine/userdef.reg to "test" and then starting regedit again the first child key of the root key is selected.
So this issue is about that Windows XP's regedit does default to the root key while Wine's regedit does default to the first child key of the root key.
https://bugs.winehq.org/show_bug.cgi?id=39856
sworddragon2@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regedit: Wrong default |Regedit: Default registry |registry key is selected if |key is not the same as on |the language changes |Windows
https://bugs.winehq.org/show_bug.cgi?id=39856
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to sworddragon2 from comment #4)
I wasn't able to successfully install/enable an english language pack.
What language pack? Why are you installing it?
https://bugs.winehq.org/show_bug.cgi?id=39856
--- Comment #6 from sworddragon2@aol.com --- An english language pack for an out of the box localized Windows XP to do the test as suggested in comment #1.
https://bugs.winehq.org/show_bug.cgi?id=39856
--- Comment #7 from Austin English austinenglish@gmail.com --- (In reply to sworddragon2 from comment #6)
An english language pack for an out of the box localized Windows XP to do the test as suggested in comment #1.
The suggestion was to try it on MUI Windows, not to install a language pack under Wine.
https://bugs.winehq.org/show_bug.cgi?id=39856
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Assignee|wine-bugs@winehq.org |bunglehead@gmail.com Ever confirmed|0 |1
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- (In reply to sworddragon2 from comment #4)
I wasn't able to successfully install/enable an english language pack. But I have found an alternative way to test this issue because the question here is what basically happens if HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\L astKey points to a non-existent registry key. To test this I have opened regedit in Windows XP, selected any random key, closed regedit and imported the following file:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit] "LastKey"="test"
After starting regedit again the root key was selected. If I'm opening regedit with Wine, selecting any random key, closing regedit, manually setting HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\L astKey in ~/.wine/userdef.reg to "test" and then starting regedit again the first child key of the root key is selected.
So this issue is about that Windows XP's regedit does default to the root key while Wine's regedit does default to the first child key of the root key.
Yes, I see what you mean now. Will take a look.
https://bugs.winehq.org/show_bug.cgi?id=39856
--- Comment #9 from sworddragon2@aol.com --- (In reply to Austin English from comment #7)
The suggestion was to try it on MUI Windows, not to install a language pack under Wine.
The language pack was tried to be installed on a native Windows to do the test and not on Wine^^ This action failed but I found a simpler testcase to achieve the same result.
https://bugs.winehq.org/show_bug.cgi?id=39856
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=39856
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |9e35dd15454be28c487b0f1bebe | |fbbe530b2aca4
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- This is fixed, 9e35dd15454be28c487b0f1bebefbbe530b2aca4. Thanks, Jakub.
https://bugs.winehq.org/show_bug.cgi?id=39856
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.6.
https://bugs.winehq.org/show_bug.cgi?id=39856
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=39856
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #12 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.2.