[Bug 12127] Kai Power Tools filters z-order problem in Photoshop (7, CS2)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 24 01:42:22 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=12127





--- Comment #6 from v/ <valery at vslash.com>  2008-03-24 01:42:22 ---
from the "user complained" : 
Box : FreeBSD-6.3 / WM : IceWM-1.2.32
It's possible the trouble is coming from Wine and its X11 driver, ie a misuse
of X11 layer hierarchy management by childs windows, leading to some anarchy.
For example, try to minimize your Photoshop main window, and some child (like
Tool Panel) will complain to you manager (if this one support it) : they need
to raise themselves. Other example :  get focus on Photoshop tool panel, change
X11 layer from normal to desktop, and see what happen : nothing, they don't
support it, they depend on their group leader, ie main Photoshop window. 
In our case - fullscreen plugin like KPT - this one can use itself some other
childs windows, like File manager ("Load/Save ..."), but covering all the
screen, you can't see it. Because they depend on our main Photoshop window, you
cannot tell to X11 to raise them over the rest. The tree could be like :

# Window Name               X11 Layer     User Appearance
- ------------------------- ------------- -------------------------
1 Photoshop                 Normal        Normal
2 --Tool Panel              N/A           Over Normal
3 --KPT Plugin Fullscreen   N/A           Over Normal, Fullscreen
4 ----Files_Panel           N/A           Under #3

In our case, #4 is calling from plugin #3, but is a Photoshop object. KPT call
Photoshop to display a FileManager panel ; because Photoshop main window is
under our KPT Fullscreen window, you can't see it (but it actually exist)
It is perhaps very difficult to change this behaviour, Win32 is not X11 ! In
earlier Wine version, the main problem was coming out from this deal, this is
not exactly a new problem i think ; at this time, we loosed entire focus on any
child panel, even mapping events, and Photoshop was totally unusable. Last but
not least, it is possible my WM don't understand something.
I hope this comment shed up a light on the mess,
thanks,
v/


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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