[Bug 37614] New: Applications do not always start inside a configured virtual desktop
https://bugs.winehq.org/show_bug.cgi?id=37614 Bug ID: 37614 Summary: Applications do not always start inside a configured virtual desktop Product: Wine Version: 1.7.31 Hardware: x86 OS: Linux Status: NEW Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: austinenglish(a)gmail.com Distribution: --- Created attachment 50062 --> https://bugs.winehq.org/attachment.cgi?id=50062 screenshot I noticed some strangeness with virtual desktops. Configuring one (either via winetricks or winecfg) and then starting e.g., notepad/regedit starts the application outside of the virtual desktop. To ensure it wasn't a race, I did 'wineserver -w' (and also added a sleep of 10 seconds), but the problem remains. After a few tries (usually 2-3), the application will start inside the desktop, and from there, it seems to always work as expected. Commandline used: $ winetricks -q vd=1024x768 ; wineserver -w ; sleep 10 ; notepad screenshot attached. [austin(a)localhost ~]$ xfwm4 --version This is xfwm4 version 4.10.1 (revision 3918e6b) for Xfce 4.10 Released under the terms of the GNU General Public License. Compiled against GTK+-2.24.24, using GTK+-2.24.25. Build configuration and supported features: - Startup notification support: Yes - XSync support: Yes - Render support: Yes - Xrandr support: Yes - Embedded compositor: Yes - KDE systray proxy (deprecated): No [austin(a)localhost ~]$ wine --version wine-1.7.31-99-g5ecea72 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 zippy <gohabsgo60(a)yahoo.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gohabsgo60(a)yahoo.ca --- Comment #1 from zippy <gohabsgo60(a)yahoo.ca> --- (In reply to Austin English from comment #0)
To ensure it wasn't a race, I did 'wineserver -w' (and also added a sleep of 10 seconds), but the problem remains. After a few tries (usually 2-3), the application will start inside the desktop, and from there, it seems to always work as expected.
same here but the virtual desktop gets flaky again when i run winetricks, even if i don't change any settings. btw, i always get the expected behavior if i run notepad with e.g., wine explorer /desktop=MyDesktop,640x480 notepad -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source CC| |imwellcushtymelike(a)gmail.co | |m -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Rosanne DiMesio <dimesio(a)earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hramrach(a)gmail.com --- Comment #2 from Rosanne DiMesio <dimesio(a)earthlink.net> --- *** Bug 39169 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de Target Milestone|--- |1.8.0 --- Comment #3 from Sebastian Lackner <sebastian(a)fds-team.de> --- I've tracked down the race condition and it should be easy to fix. The problem occurs when: * Thread 1 calls GetDesktopWindow() and is responsible for setting up the desktop. * Desktop process finishes CreateWindow call. The desktop is now partially initialized, but still has size 0x0. * Thread 2 calls GetDesktopWindow() and receives a valid handle. The code assumes that the desktop is already initialized, but actually it isn't. The relevant function is X11DRV_CreateDesktopWindow, which doesn't handle partially initialized desktops. I think its easy enough to fix this annoying bug before the 1.8 release, assigning to myself. (But other people are also welcome to help searching for the best solution of course.) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs(a)winehq.org |sebastian(a)fds-team.de -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #4 from Austin English <austinenglish(a)gmail.com> --- Nice find, thanks Sebastian. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Anders Jonsson <anders.jonsson(a)norsjovallen.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anders.jonsson(a)norsjovallen | |.se -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 --- Comment #5 from Bruno Jesus <00cpxxx(a)gmail.com> --- This is still an issue, and for me at least the rate has increased from almost never to a few times in a hundred tests. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Lucian Poston <lucianposton(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucianposton(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #6 from winetest(a)luukku.com --- Bug 38813 dupe or related. Has a download. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrien_fernandes2(a)hotmail.c | |om --- Comment #7 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 42978 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 --- Comment #8 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 42643 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark_k(a)iname.com --- Comment #9 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- *** Bug 38813 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 --- Comment #10 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Still occurs in Wine 4.18. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 --- Comment #11 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- I cannot recreate this using Wine 7.9 using notepad or winecfg. Can someone else try? Maybe it's been fixed? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick(a)piezo-forte.be --- Comment #12 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- (In reply to Ken Sharp from comment #11)
I cannot recreate this using Wine 7.9 using notepad or winecfg. Can someone else try? Maybe it's been fixed?
Hello, I created a fresh wineprefix on wine 7.9 and ran winecfg to set a 1024x768 virtual desktop. Then I made a 100 iterations loop of "notepad; wineserver -w" followed by a few manual run of winecfg, regedit, notepad and taskmgr. The issue didn't occur once. Regards. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #13 from Austin English <austinenglish(a)gmail.com> --- (In reply to Olivier F. R. Dierick from comment #12)
(In reply to Ken Sharp from comment #11)
I cannot recreate this using Wine 7.9 using notepad or winecfg. Can someone else try? Maybe it's been fixed?
Hello,
I created a fresh wineprefix on wine 7.9 and ran winecfg to set a 1024x768 virtual desktop.
Then I made a 100 iterations loop of "notepad; wineserver -w" followed by a few manual run of winecfg, regedit, notepad and taskmgr. The issue didn't occur once.
I can't reproduce either (in 500 runs), nor have I seen anyone seen any reports of this recently elsewhere. Unfortunately my current setup can't compile very old wine (5.0 fails to build here); would be curious to know what fixed this (I suppose there's a small chance it could've been fixed/worked around in X11 instead..). Anyway, works here, and I don't have 1.7.31/4.18 to see if it was wine or X11. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 --- Comment #14 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- I have some pre-built versions of Wine installed back to 2.0.5 and I couldn't recreate the issue, so this may have been fixed outside of Wine. I also tried 1.8.7 (and earlier) but it crashes out badly. I also discovered that X11 has a window (client) limit - who knew? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 --- Comment #15 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Actually, using schroot magic... Tested >1000 times with Wine 1.7.0 using winecfg and notepad and could not recreate this behaviour. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37614 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #16 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.10. -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla