http://bugs.winehq.org/show_bug.cgi?id=9579
Summary: Window doesnt redraw after restoring Product: Wine Version: 0.9 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: darkside83@yandex.ru
Good day time! I use internet trading system Aton-Line. When I launch it it starts and works finely. But when i minimize it and restore the window does not redraw, it become transparent, so i see a part of desktop under the window. Sometimes it restoring normally. When I disable support of window manager it works normally, i can minimize an restore window so i want. I think it is a bug of window management. I try wine 0.9.36-0.9.44
This is a link for demo version http://www.aton-line.ru/alfiles/demo.exe
Login: tr3011418 Password: 924320
I use Slackware 12.0, KDE 3.5.8, wine-0.9.44.
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #1 from Roman Vasilyev darkside83@yandex.ru 2007-09-04 04:28:53 --- Created an attachment (id=7954) --> (http://bugs.winehq.org/attachment.cgi?id=7954) Screenshots
http://bugs.winehq.org/show_bug.cgi?id=9579
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|0.9 |0.9.44.
http://bugs.winehq.org/show_bug.cgi?id=9579
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.aton- | |line.ru/alfiles/demo.exe Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #2 from Roman Vasilyev darkside83@yandex.ru 2007-09-05 01:02:57 --- Today i launch wine taskmgr and see the same problem. But then i click restore in system tray icon menu it redraw????? Also i see strange problems then i resize window of taskmgr. It seems like wine tries to redraw not last resing but all of them.
http://bugs.winehq.org/show_bug.cgi?id=9579
Roman Vasilyev darkside83@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |critical
--- Comment #3 from Roman Vasilyev darkside83@yandex.ru 2007-09-07 03:16:26 --- I trace wine with flags "+x11drv". In the moment of window restoration in logs appearers current lines:
.............................................. .............................................. trace:x11drv:X11DRV_CreateBitmap (0x9c50) 80x50 1 bpp trace:x11drv:X11DRV_Expose win 0x20044 (3000006) 0,0 1121x705 trace:x11drv:error_handler got ignored error 8 req 42 trace:x11drv:X11DRV_CreateBitmap (0x9c70) 80x50 24 bpp .............................................. ..............................................
Can anybody help me?
http://bugs.winehq.org/show_bug.cgi?id=9579
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |enhancement
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-07 03:41:53 ---
trace:x11drv:X11DRV_CreateBitmap (0x9c50) 80x50 1 bpp trace:x11drv:X11DRV_Expose win 0x20044 (3000006) 0,0 1121x705 trace:x11drv:error_handler got ignored error 8 req 42
What makes you think that ignored error above has anything to do with the problem you reported? For sure this doesn't make the severity critical.
http://bugs.winehq.org/show_bug.cgi?id=9579
Roman Vasilyev darkside83@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |critical
--- Comment #5 from Roman Vasilyev darkside83@yandex.ru 2007-09-07 04:43:38 ---
What makes you think that ignored error above has anything to do with the problem you reported?
Because i try it few times and this lines repeat. You can see an attachment.
For sure this doesn't make the severity critical.
I think it is not a problem of only one application. Even wine taskmgr have a such problem.
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #6 from Roman Vasilyev darkside83@yandex.ru 2007-09-07 04:46:49 --- Created an attachment (id=7982) --> (http://bugs.winehq.org/attachment.cgi?id=7982) wine log
http://bugs.winehq.org/show_bug.cgi?id=9579
Roman Vasilyev darkside83@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |enhancement
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-07 05:06:36 ---
trace:x11drv:error_handler got ignored error 8 req 42
error 8 is BadMatch, and it is being ignored only if request is X_SetInputFocus, so that can't be related to redrawing problems of any kind.
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #8 from Roman Vasilyev darkside83@yandex.ru 2007-09-07 07:34:43 ---
error 8 is BadMatch, and it is being ignored only if request is X_SetInputFocus, so that can't be related to redrawing problems of any kind.
It happens systematically then i try to restore window after minimizing. Restoring window makes new portion of this lines in the log.
I added +event,+synchronous in $WINEDEBUG and get new log.
This lines appears before minimizing
trace:x11drv:X11DRV_SetWindowPos win 0x20044 window (32,106)-(132,138) client (32,106)-(132,138) style 36cf0000 .... trace:x11drv:X11DRV_SetWindowPos win 0x4003a window (32,106)-(992,106) client (35,128)-(989,128) style 94ca0000 trace:x11drv:X11DRV_SetWindowPos unmapping zero size or off-screen win 0x4003a
This after restoring
trace:event:process_events ClientMessage for hwnd/window 0x20044/4200006 trace:event:handle_wm_protocols got take focus msg for 0x20044, enabled=1, visible=0 (style 26cf0000), focus=0x4003a, active=0x4003a, fg=0x4003a, last=0x20044 trace:event:set_focus setting foreground window to 0x4003a trace:event:set_focus setting focus to 0x4003a (4200001) time=-541778137 trace:x11drv:error_handler got ignored error 8 req 42
I know that Delphi application has main invisible window. I know that my application was written in Delphi. So, may be wine send messages for another window? It is invisible an cannot restore. Certainly window cannot take focus if it is invisible.
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-07 09:00:41 --- Certainly in Win32 focus can be set to a not visible window, and in Wine we have tests for that. I don't think that this spurious X_SetInputFocus error has anything to do with real problem.
What video drivers do you have installed? Did you try to run under other window manager?
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #10 from Roman Vasilyev darkside83@yandex.ru 2007-09-09 21:51:24 --- (In reply to comment #9)
What video drivers do you have installed? Did you try to run under other window manager?
I try to launch my application on various ptatfoms. So, i use intel driver, nvidia driver, now i use a vesa driver. I try few window manageres: KDE, Gnome, XFCE4. But probably nothing changed. I think this problem is only WINE API window management bug, because without window management support it works finelly.
http://bugs.winehq.org/show_bug.cgi?id=9579
Roman Vasilyev darkside83@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Priority|P2 |P1
--- Comment #11 from Roman Vasilyev darkside83@yandex.ru 2007-09-22 23:50:27 --- I think I found the solution. I patch winpos.c, function X11DRV_MapNotify
- if (data->managed && (win->dwStyle & WS_VISIBLE) && (win->dwStyle & WS_MINIMIZE)) + if (data->managed && (win->dwStyle & WS_MINIMIZE))
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #12 from Dmitry Timoshkov dmitry@codeweavers.com 2007-09-23 05:24:16 --- Roman, you finding looks reasonable. Please send a patch to wine-patches.
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #13 from Roman Vasilyev darkside83@yandex.ru 2007-09-25 08:55:32 --- I sent my patch. Will wait for result.
http://bugs.winehq.org/show_bug.cgi?id=9579
earther@eartherdesigns.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |earther@eartherdesigns.com
--- Comment #14 from earther@eartherdesigns.com 2008-04-17 18:13:46 --- I am seeing this behavior starting with wine 0.9.58. Some times the window frame is empty some times it redraws as expected. If I toggle maximize/minimize eventually it will appear.
I have observed this bug with Photoshop and also NoteTab text editor (written in Delphi).
This glitch is also present in wine 0.9.59 but so much else was buggy that I rolled back to 0.9.58.
http://bugs.winehq.org/show_bug.cgi?id=9579
Larry Hamilton lm_hamilton@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lm_hamilton@yahoo.com
--- Comment #15 from Larry Hamilton lm_hamilton@yahoo.com 2008-09-13 12:14:46 --- This issue affected NoteTab Pro, Standard, and Light, in teh last few betas before Wine 1.0.0.
It has come back in Wine 1.1.3 and 1.1.4 on all Distributions of Linux.
NoteTab is a Delphi application. The developer tells us that Delphi applications draw a hidden Window, and that this is what we are seeing.
We get a second "Title Bar" when restore after minimizing. Clicking X to close on either title bar works.
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #16 from Larry Hamilton lm_hamilton@yahoo.com 2008-09-14 18:31:45 --- For NoteTab, this same behavior is seen in all versions, including the trial versions of Standard and Pro. All can be obtained here: www.notetab.com.
http://bugs.winehq.org/show_bug.cgi?id=9579
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #17 from Lei Zhang thestig@google.com 2008-09-15 15:18:07 --- confirming bug
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #18 from Larry Hamilton lm_hamilton@yahoo.com 2008-11-29 11:39:59 --- It occurs on all of the latest variations of NoteTab: Light, Standard, Pro, with the latest version 5.7b, on Wine up to 1.1.8.
1.1.9 is not yet available for Slackware for me to test.
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #19 from Austin English austinenglish@gmail.com 2008-11-29 14:36:53 --- Works fine for me in 5.7b freeware, and Gnome (metacity 2.24.0).
http://bugs.winehq.org/show_bug.cgi?id=9579
--- Comment #20 from Larry Hamilton lm_hamilton@yahoo.com 2009-01-11 18:41:16 --- This is still a problem with Wine 1.1.12 and NoteTab, all versions. Slackware 12.1.
Now, the user can minimize and restore once, but if NoteTab is minimized again, the minimize button disappears when NoteTab is restored.
http://bugs.winehq.org/show_bug.cgi?id=9579
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #21 from Austin English austinenglish@gmail.com 2010-06-13 04:46:03 --- (In reply to comment #20)
This is still a problem with Wine 1.1.12 and NoteTab, all versions. Slackware 12.1.
Now, the user can minimize and restore once, but if NoteTab is minimized again, the minimize button disappears when NoteTab is restored.
Works fine in 1.2-rc3, using NoteTab Pro trial.
http://bugs.winehq.org/show_bug.cgi?id=9579
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org 2010-06-18 12:46:07 --- Closing bugs fixed in 1.2-rc4.