[Bug 10142] Switching workspaces/desktops can make some application windows disappear

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 20 10:27:32 CDT 2010


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





--- Comment #60 from Danila Sentiabov <dsent.zen at gmail.com>  2010-06-20 10:27:31 ---
(In reply to comment #59)
How do you think it could be possible implemented?

When you minimize Windows application, it receives special "minimize" message.
Minimized window could be restored by sending "restore" message. uTorrent with
"minimize to tray" option enabled catches "minimize" message and completely
destroys its own main window instead of minimizing it. So when you switch back
to your uTorrent desktop there is no window to be restored. uTorrent window
must be created from scratch (by clicking on system tray icon).
Now Wine just transfers Linux WM "minimize" and "restore" messages to windows
applications. It results in exactly the behavior described in this bug report.
To work around this Wine should detect desktop change and block system
"minimize" message. Instead it should hide a window some other way and restore
it when desktop is switched back.
So you basically suggest that Wine should block window manager functions and
reimplement them with its own with unusual and not very clear logic. It is a
whole lot of work to do.
On the other hand, you can just enable "close to tray" option and disable
"minimize to tray" option in uTorrent. It will not hide on switching desktops,
it will go to tray when you clock close button, it will exit application
through application menu or system tray menu.

-- 
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