https://bugs.winehq.org/show_bug.cgi?id=45974
Bug ID: 45974 Summary: regedit exits prematurely Product: Wine Version: 3.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: zl29ah@gmail.com Distribution: ---
Run the following shell script:
cat > desktop.reg << EOF REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\Explorer] "Desktop"="Default" EOF regedit desktop.reg winecfg
And observe that winecfg is ran in a window instead of firing up the virtual desktop. Adding `sleep 5` between regedit and winecfg makes it work as expected.
https://bugs.winehq.org/show_bug.cgi?id=45974
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- There's a 1-second delay before shutting down an existing explorer process, to improve performance in case another app is launched right away. That's on purpose.
https://bugs.winehq.org/show_bug.cgi?id=45974
--- Comment #2 from Sergey Alirzaev zl29ah@gmail.com --- (In reply to Alexandre Julliard from comment #1)
There's a 1-second delay before shutting down an existing explorer process, to improve performance in case another app is launched right away. That's on purpose.
`sleep 5` is because lesser values have misfired at least once. What would be the proper way to wait for it to die or kill it for good?
https://bugs.winehq.org/show_bug.cgi?id=45974
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- (In reply to Sergey Alirzaev from comment #2)
(In reply to Alexandre Julliard from comment #1)
There's a 1-second delay before shutting down an existing explorer process, to improve performance in case another app is launched right away. That's on purpose.
`sleep 5` is because lesser values have misfired at least once. What would be the proper way to wait for it to die or kill it for good?
Why do you need that? What are you trying to do?
If the goal is to launch inside a specific desktop, you can do that by invoking explorer explicitly, something like "explorer /desktop=foo winecfg".
https://bugs.winehq.org/show_bug.cgi?id=45974
--- Comment #4 from Sergey Alirzaev zl29ah@gmail.com --- Some applications misbehave when ran w/o a virtual desktop, so i want to run them (and only them) with a virtual desktop.
https://bugs.winehq.org/show_bug.cgi?id=45974
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- You can use the explorer /desktop trick, or configure the desktop entry for the specific executable name by adding the application on winecfg's first screen.
https://bugs.winehq.org/show_bug.cgi?id=45974
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- For what it's worth, you can also use `wineserver -w` to reliably wait for an existing wineserver instance to quit. (Of course, in this instance explicitly using `wine explorer /desktop`, as recommended by Alexandre, is probably the better option.)
https://bugs.winehq.org/show_bug.cgi?id=45974
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #7 from André H. nerv@dawncrow.de --- closing wontfix