http://bugs.winehq.org/show_bug.cgi?id=35456
Bug ID: 35456 Summary: Child window in a separate process dose not show Product: Wine Version: 1.7.11 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: hwei.sy@gmail.com Classification: Unclassified
Created attachment 47330 --> http://bugs.winehq.org/attachment.cgi?id=47330 source code
The area of a child window from a separate process dose not show anything. While mouse events work correctly.
Run the program in attachment. It will create a parent window and a child window in the same process and works fine.
Then run a second instance of the program. It will create a child window in the previous parent window. This child windows dose not show. Resize the parent window, and you will see the white "shadow" of the "hidden" child window. You can still drag this "hidden" child window or close it.
http://bugs.winehq.org/show_bug.cgi?id=35456
--- Comment #1 from Huang Wei hwei.sy@gmail.com --- Created attachment 47331 --> http://bugs.winehq.org/attachment.cgi?id=47331 Windows compiled program
http://bugs.winehq.org/show_bug.cgi?id=35456
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #47330|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=35456
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|gdi32 |-unknown
http://bugs.winehq.org/show_bug.cgi?id=35456
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Child window in a separate |Child window in a separate |process dose not show |process does not show
http://bugs.winehq.org/show_bug.cgi?id=35456
--- Comment #2 from Ken Thomases ken@codeweavers.com --- Yes, I believe this is due to limitations in the Mac driver. In general, the Mac windowing system does not allow one process to draw into the windows of another process. And, unlike X11, there's no real concept of child windows.
From the point of view of the window server, all windows are top-level windows.
Within a process, the frameworks subpartition the window area – for example, Cocoa maintains a view hierarchy within a window – but that has no externally-accessible representation.
You can try using the X11 driver to confirm. Set this in the registry:
[HKEY_CURRENT_USER\Software\Wine\Drivers] "Graphics"="x11,mac"
If I'm correct, a solution would require some mechanism to share window surfaces across processes. That would also be necessary to support virtual desktop mode with the Mac driver, for the same reason.
http://bugs.winehq.org/show_bug.cgi?id=35456
--- Comment #3 from Huang Wei hwei.sy@gmail.com --- (In reply to comment #2)
You can try using the X11 driver to confirm. Set this in the registry:
This solved the problem. Thank you. :)
I am also looking forward to a Mac driver solution in future. Because it better supports layered window and dock icons.
http://bugs.winehq.org/show_bug.cgi?id=35456
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ken@codeweavers.com Component|-unknown |winemac.drv
http://bugs.winehq.org/show_bug.cgi?id=35456
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Child window in a separate |Child window in a separate |process does not show |process does not show (Mac | |driver specific)
https://bugs.winehq.org/show_bug.cgi?id=35456
--- Comment #4 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).