http://bugs.winehq.org/show_bug.cgi?id=11431
Summary: Photoshop CS2: z-overlay of image containers Product: Wine Version: 0.9.54. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: pascal.duersteler@gmail.com
Moved from Bug 11412
I found out that if you work with more than one image at the same time, z-order also fails » inactive image containers sometimes overlay the focused and active image container.
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #1 from Pascal Dürsteler pascal.duersteler@gmail.com 2008-02-01 09:16:50 --- Created an attachment (id=10559) --> (http://bugs.winehq.org/attachment.cgi?id=10559) Overlay bug
http://bugs.winehq.org/show_bug.cgi?id=11431
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Dan Kegel dank@kegel.com 2008-02-03 05:45:27 --- Stephen Gentle says "I was trying to close an image, and it turned out that the 'This document is unsaved...' dialog was actually under it, when it should have popped up on top." So the conflict is not just between image windows, but also between image windows and warning dialogs?
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #3 from Pascal Dürsteler pascal.duersteler@gmail.com 2008-02-03 07:12:51 --- Semms like you're right, Dan. Could repoduce it, also dialog boxes like "New document" is sometimes under other windows.
http://bugs.winehq.org/show_bug.cgi?id=11431
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Component|-unknown |user32 Keywords| |download
--- Comment #4 from Dan Kegel dank@kegel.com 2008-02-03 07:17:09 --- Setting component. (For those who just tuned in, getting z-order right has been a longstanding issue, see bug 8985 and bug 10948.)
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #5 from Dan Kegel dank@kegel.com 2008-02-18 10:33:36 --- This is really annoying. To reproduce, just hit ^N enter ^N enter to create two unnamed windows (unnamed-1 and unnamed-2). The second one is created *under* the first.
Worse, when you move one around, often it gets shuffled to the bottom while you move it!
http://bugs.winehq.org/show_bug.cgi?id=11431
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Photoshop CS2: z-overlay of |Adobe Photoshop CS2: z- |image containers |overlay of image containers
http://bugs.winehq.org/show_bug.cgi?id=11431
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major Target Milestone|--- |1.0.0
--- Comment #6 from Dan Kegel dank@kegel.com 2008-03-07 09:00:29 --- Marking for 1.0 and raising priority because this makes it very hard to work with multiple images.
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2008-03-13 14:58:25 --- Created an attachment (id=11359) --> (http://bugs.winehq.org/attachment.cgi?id=11359) z-order hack
Please give this a try.
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #8 from Dan Kegel dank@kegel.com 2008-03-13 19:59:21 --- That solves half of the problem. With the hack, new windows appear at the wrong z-order as before, but clicking on the title bars does the right thing instead of a confusingly wrong thing.
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2008-03-15 05:28:59 --- What window manager are you using?
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #10 from Dan Kegel dank@kegel.com 2008-03-15 07:33:06 --- I use default ubuntu, so gnome. At work I use dapper, at home I use gutsy.
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #11 from Dan Kegel dank@kegel.com 2008-03-15 10:52:36 --- Just verified again that today's git plus your hack behaves as I described on vanilla Ubuntu 7.10; creating two new windows with ^N shows the 2nd window created behind the first one, but clicking on windows brings them properly to the front.
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #12 from Timo-Heikki Mäkelä imaxfun@gmail.com 2008-03-15 10:53:33 --- Created an attachment (id=11403) --> (http://bugs.winehq.org/attachment.cgi?id=11403) Screenshot dialog going behind test dialog, remaining inactive
I know this bug is about Photoshop, but exactly the same bug has been repeatable also with the Wine conformance test for as long as I recall, say two years+. When downloading the test, the start dialog always goes behind the main information dialog. And without knowing it's there, one gets quite lost, because the active window cannot be seen.
I just made a couple of tests with the conformance test now, and made some notes. First, the start dialog of the test is not the only one getting behind. If thereafter I launch a screenshot dialog, which should become active and on top at that time, also it goes behind BOTH those test dialogs! It will also remain inactive until one explicitly chooses to activate it. (See screenshot above. I've moved the main information dialog of the test a bit to show what's behind, but it still remains inactive.)
Second, IF one launches a screenshot dialog, but cancels it, on second try the screenshot dialog does appear correctly, active and on top. So, touching the screenshot dialog does change, which window will be active thereafter. (Screenshot below.)
I also use Ubuntu Dapper and Gnome.
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #13 from Timo-Heikki Mäkelä imaxfun@gmail.com 2008-03-15 10:55:01 --- Created an attachment (id=11404) --> (http://bugs.winehq.org/attachment.cgi?id=11404) Screenshot dialog after having canceled one.
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #14 from Dmitry Timoshkov dmitry@codeweavers.com 2008-03-19 10:46:41 --- Created an attachment (id=11494) --> (http://bugs.winehq.org/attachment.cgi?id=11494) Suggested fix
I have investigated the problem with 2 new image windows in CS2, and reported my findings to Alexandre.
Alexandre suggested a fix, and it worked for me. Please give it a try.
The bug is reproduceable with Metacity 2.18.2, but seems to be fixed in 2.20.2.
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #15 from Dan Kegel dank@kegel.com 2008-03-19 20:00:00 --- Works for me!
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #16 from Dmitry Timoshkov dmitry@codeweavers.com 2008-03-19 20:09:47 --- Just for the record, Dan, what Metacity version is that?
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #17 from Dan Kegel dank@kegel.com 2008-03-19 20:31:11 --- 2.14.5-0ubuntu1
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #18 from Dan Kegel dank@kegel.com 2008-03-22 15:35:48 --- In Hardy, which uses metacity-2.22.0-0ubuntu1, things work pretty well with the suggested fix. Windows get created on top. Windows one clicks on get brought to the top.
However, if you click on a window's title bar (even the frontmost one), the next time you press ^N, The "New" dialog appears behind the window whose title bar you clicked on! Evidently it's brought too far forward!
This is getting to be somewhat minor. I'd be happy with the suggested fix, and deferring further improvements for a bit.
http://bugs.winehq.org/show_bug.cgi?id=11431
--- Comment #19 from Dmitry Timoshkov dmitry@codeweavers.com 2008-03-24 22:48:42 --- Alexandre has committed the patch, please retest.
http://bugs.winehq.org/show_bug.cgi?id=11431
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #20 from Dan Kegel dank@kegel.com 2008-03-25 00:31:02 --- WFM on Gutsy. Most excellent. Marking fixed, thanks.
http://bugs.winehq.org/show_bug.cgi?id=11431
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |descentspb@ya.ru
--- Comment #21 from Dmitry Timoshkov dmitry@codeweavers.com 2008-03-25 11:00:30 --- *** Bug 12214 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=11431
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org 2008-04-04 10:05:47 --- Closing bugs fixed in 0.9.59.