[Bug 5439] Menus don't collapse properly in Shareaza
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Oct 28 23:07:08 CDT 2007
http://bugs.winehq.org/show_bug.cgi?id=5439
Rafael Bedia <dcat+wine at trillinux.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcat+wine at trillinux.org
--- Comment #3 from Rafael Bedia <dcat+wine at trillinux.org> 2007-10-28 23:07:07 ---
There is a patch for Shareaza that fixes this bug.
(http://sourceforge.net/tracker/index.php?func=detail&aid=1821020&group_id=110672&atid=657154)
But in case it doesn't get committed or other programs have this same problem
I'll try to explain my understanding of the bug.
In some cases when Shareaza asks for the menu to be closed it uses PostMessage(
WM_CANCELMODE, 0, 0 ) and things work as they are supposed to. But in 3 places
Shareaza uses SendMessage( WM_CANCELMODE, 0, 0 ) instead to close the menu.
Windows has no trouble with this second method but wine does. I did some
debugging (but I'm pretty new to wine) and found that wine doesn't seem to be
"seeing" the WM_CANCELMODE message when SendMessage is used. wine's
implementation of EndMenu() uses PostMessage( WM_CANCELMODE, 0, 0 ) and
changing Shareaza to send that message, as the patch above does, fixes things
in wine.
Hope that helps.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list