[Bug 17537] New: Can't export virtual desktop registry settings
http://bugs.winehq.org/show_bug.cgi?id=17537 Summary: Can't export virtual desktop registry settings Product: Wine Version: 1.1.15 Platform: PC OS/Version: Linux Status: NEW Keywords: download, source Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: austinenglish(a)gmail.com Noticed a weird bug when setting up daily winetest. I wanted to test in a virtual desktop, but using: wine explorer /desktop=name,1024x768 program.exe is impractical for obvious reasons. So I decided to use the registry key in the registry. I enabled it in winecfg and used regedit to export the key, then the same to import it each time. Regedit's .reg file is: ------- REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\Explorer] "Desktop"="Default" [HKEY_CURRENT_USER\Software\Wine\Explorer\Desktops] "Default"="800x600" ------- looks fine. But importing that fails. Curious, I ran diff on the .wine and found that apparently regedit isn't exporting the full key: ------- REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\Explorer] "Desktop"="Default" [HKEY_CURRENT_USER\Software\Wine\Explorer\Desktops] 1234567890 "Default"="800x600" ------- Notice the timestamp. I suppose it's a regedit bug, but do we actually need that timestamp? Looking at the diff more, seems it's also used in: +[Software\\Wine\\Fonts] 1235641812 -[Software\\Wine\\Fonts\\External Fonts] 1235641855 +[Software\\Wine\\Fonts\\External Fonts] 1235641812 Does that really need to change each time winecfg is ran? Importing the registry key allows the virtual desktop to work fine. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17537 --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> 2009-02-26 04:04:29 --- The Wine internal registry and regedit export files are not in the same format. The timestamp is only in the internal registry, it can't be exported or imported. What is the actual failure? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17537 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2009-02-26 04:10:35 --- (In reply to comment #1)
The Wine internal registry and regedit export files are not in the same format. The timestamp is only in the internal registry, it can't be exported or imported.
What is the actual failure?
What I was doing originally (a few days ago): $ winecfg #enable virtual desktop $ regedit #export registry key to foo.reg $ rm -rf ~/.wine $ wineboot $ regedit foo.reg $ wine notepad # should be in a virtual desktop, but isn't. wasn't working, but when I retested just now to verify the steps, seems to work. Looking at the .reg files I had, seems that it must be exported from [HKEY_CURRENT_USER\Software\Wine\Explorer] and not [HKEY_CURRENT_USER\Software\Wine\Explorer\Desktops] That's what I get for reporting bugs at 4AM...sigh. Sorry for the noise. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17537 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2009-02-26 04:10:42 --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org