http://bugs.winehq.org/show_bug.cgi?id=12127
Summary: Kai Power Tools 3 filters z-order problem in Photoshop 7 Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
In http://www.winehq.org/pipermail/wine-users/2008-March/030421.html, a user complained that Kai Power Tools misbehaved. In particular, versions 3, 5, 6, and 7 of Kai Power Tools, when used with Photoshop 7, suffer from a black screen in front of the Kai filter and everything else; alt-tabbing around sometimes can get the Kai filter in front of the black window.
I have reproduced this myself with KPT 3 and both Photoshop 7 and Photoshop CS2 on Ubuntu 7.10, using the standard metacity 1:2.20.0-0ubuntu3.
And -- here's the awesome part -- the problem can infect any windows on the desktop at the time, giving them a very strange "click on me to send me to the back" behavior, even after you quit wine!
Next I'll try the patch from bug 11431...
http://bugs.winehq.org/show_bug.cgi?id=12127
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Kai Power Tools 3 filters z-|Kai Power Tools filters z- |order problem in Photoshop 7|order problem in Photoshop | |(7, CS2)
--- Comment #1 from Dan Kegel dank@kegel.com 2008-03-20 14:44:54 --- The patch from 11431 didn't seem to help.
http://bugs.winehq.org/show_bug.cgi?id=12127
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2008-03-20 19:37:50 --- (In reply to comment #0)
And -- here's the awesome part -- the problem can infect any windows on the desktop at the time, giving them a very strange "click on me to send me to the back" behavior, even after you quit wine!
Isn't that suggests that's a WM bug?
http://bugs.winehq.org/show_bug.cgi?id=12127
--- Comment #3 from Dan Kegel dank@kegel.com 2008-03-20 20:26:01 --- Yes, indeedy. (Although since it's in Gutsy, which is a very common distro, we might conceivably consider taking countermeasures. And our bugzilla is as good a place as any to gather data.)
I'm going to test on KDE and on Hardy next.
http://bugs.winehq.org/show_bug.cgi?id=12127
--- Comment #4 from Austin English austinenglish@gmail.com 2008-03-20 20:58:05 --- (In reply to comment #3)
Yes, indeedy. (Although since it's in Gutsy, which is a very common distro, we might conceivably consider taking countermeasures. And our bugzilla is as good a place as any to gather data.)
I'm going to test on KDE and on Hardy next.
I've got kubuntu hardy if you have something I can download and test.
http://bugs.winehq.org/show_bug.cgi?id=12127
--- Comment #5 from Dan Kegel dank@kegel.com 2008-03-22 16:04:44 --- Problem persists on Hardy Gnome (metacity 2.22.0-0ubuntu1). (Sorry, I don't have a copy of kpt I can give out.)
http://bugs.winehq.org/show_bug.cgi?id=12127
--- Comment #6 from v/ valery@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/
http://bugs.winehq.org/show_bug.cgi?id=12127
--- Comment #7 from Dan Kegel dank@kegel.com 2008-03-26 10:14:47 --- See bug 12234 for a possibly related z-order problem with a different app.
http://bugs.winehq.org/show_bug.cgi?id=12127
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2008-04-22 06:52:22 --- The problem is that metacity doesn't respect the transient for hint on TYPE_NORMAL windows. I put in a workaround.
http://bugs.winehq.org/show_bug.cgi?id=12127
--- Comment #9 from Dan Kegel dank@kegel.com 2008-04-22 08:50:19 --- Thanks, do we also need to file a bug with metacity?
http://bugs.winehq.org/show_bug.cgi?id=12127
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2008-04-22 09:24:45 --- (In reply to comment #9)
Thanks, do we also need to file a bug with metacity?
Well, the spec doesn't say anything on this point, so it's probably considered an allowed behavior. The whole window type thing is very badly specified I'm afraid.
http://bugs.winehq.org/show_bug.cgi?id=12127
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2008-05-02 12:38:05 --- Closing bugs fixed in 0.9.61.
http://bugs.winehq.org/show_bug.cgi?id=12127
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified