[Bug 37614] Applications do not always start inside a configured virtual desktop

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 3 20:56:56 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=37614

Sebastian Lackner <sebastian at fds-team.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian at fds-team.de
   Target Milestone|---                         |1.8.0

--- Comment #3 from Sebastian Lackner <sebastian at 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.



More information about the wine-bugs mailing list