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@winehq.org ReportedBy: austinenglish@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.