http://bugs.winehq.org/show_bug.cgi?id=25394
Summary: MPQEdit beta: Rebar menus don't work properly Product: Wine Version: 1.3.8 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: adys.wh@gmail.com
Created an attachment (id=32314) --> (http://bugs.winehq.org/attachment.cgi?id=32314) Coolbar Menu source
Download: http://zezula.net/download/mpqediten32_beta.zip
- Run $ wine mpqeditor - Open a menu - Hover an element in the menu
The effects are complicated to explain, but at that point everything goes crazy.
Ladislav Zezula, author of MPQEditor, has kindly agreed to share the relevant bits of source; I have attached them in a zip:
""" TCoolMenu::Create is the function that creates the menu, it requires to be called when the coolbar is empty.
The WndMain.cpp is heavily cut, and it just shows how the window messages are handled by the cool menu. """
No relevant log messages.
Note: I have not tried compiling & running the attached source; if someone could build an exe and attach it it'd be great.
http://bugs.winehq.org/show_bug.cgi?id=25394
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2010-12-02 09:35:30 CST --- Does installing comctl32 with winetricks help?
http://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #2 from Jerome Leclanche adys.wh@gmail.com 2010-12-02 10:05:39 CST --- Nope.
After a bit of digging I found out two things: - It doesn't happen on the first menu (File) - REBAR_SetCursor is not getting called on that menu (?), which makes no sense.
I don't know the menu code well enough to go on.
http://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2010-12-02 10:32:38 CST --- (In reply to comment #2)
I don't know the menu code well enough to go on.
That's not a menu code, application uses toolbar to emulate a menu.
http://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #4 from Jerome Leclanche adys.wh@gmail.com 2010-12-02 10:35:55 CST --- (In reply to comment #3)
(In reply to comment #2)
I don't know the menu code well enough to go on.
That's not a menu code, application uses toolbar to emulate a menu.
""" First of all, WINE's implementatio of TB_INSERTBUTTON window message doesnn't seem to accept I_IMAGENONE in TBUTTON::iBitmap member.
I'll create a special build of MPQ Editor that will show a debug console, and will display messages that go to the coolbar while playing with CoolMenu with the mouse. I confirmed that the console works also in WINE, so I might be able to figure out something. """
http://bugs.winehq.org/show_bug.cgi?id=25394
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://zezula.net/download/ | |mpqediten32_beta.zip
http://bugs.winehq.org/show_bug.cgi?id=25394
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikolaj.zalewski@gmail.com
--- Comment #5 from Jerome Leclanche adys.wh@gmail.com 2010-12-03 13:17:09 CST --- CC Mikolaj, as he's the one who worked most on TB_INSERTBUTTON implementation.
http://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #6 from Jerome Leclanche adys.wh@gmail.com 2010-12-03 23:44:56 CST --- """ this is what I found so far, fuhrter investigation is pointless until this doesn't work:
1) Apparently, WM_CANCENMODE message sent to the owner of a menu does not cancel the menu. This causes serious troubles to the menu management. 2) When creating button in the toolbar, WINE ignores I_IMAGENONE in the TBUTTON::iBitmap member. The created button still looks like it has a bitmap, even tho empty.
L. """
http://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2010-12-05 11:22:41 CST --- (In reply to comment #5)
CC Mikolaj, as he's the one who worked most on TB_INSERTBUTTON implementation.
If native comctl32 doesn't help that's not related then.
http://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #8 from Jerome Leclanche adys.wh@gmail.com 2010-12-05 11:31:20 CST --- (In reply to comment #7)
(In reply to comment #5)
CC Mikolaj, as he's the one who worked most on TB_INSERTBUTTON implementation.
If native comctl32 doesn't help that's not related then.
Actually, native comctl32 does help the issue with the "empty" bitmaps. I should file a different bug for it though.
http://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #9 from Jerome Leclanche adys.wh@gmail.com 2011-03-26 20:24:36 CDT --- Still an issue in wine-1.3.16.
http://bugs.winehq.org/show_bug.cgi?id=25394
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://zezula.net/download/ |http://zezula.net/download/ |mpqediten32_beta.zip |mpqediten32.zip
http://bugs.winehq.org/show_bug.cgi?id=25394
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #10 from Ken Sharp kennybobs@o2.co.uk 2011-04-19 14:57:39 CDT --- Confirming
http://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #11 from Jerome Leclanche adys.wh@gmail.com 2011-08-25 10:59:09 CDT --- Still an issue in wine-1.3.26-190-gbcec384
http://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #12 from Jerome Leclanche adys.wh@gmail.com 2012-04-22 22:18:22 CDT --- (In reply to comment #11) Still an issue in wine-1.5.2
https://bugs.winehq.org/show_bug.cgi?id=25394
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #13 from Wylda wylda@volny.cz --- I tried to reproduce, but it seems to work for me. What this bug is specifically about?
That source can't be compiled, because some *.h files are missing.
https://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #14 from Jerome Leclanche adys.wh@gmail.com --- (In reply to Wylda from comment #13) Rebar menus need to be specifically turned on now in MPQEdit.ini as mpqedit detects wine.
https://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #15 from Wylda wylda@volny.cz ---
Rebar menus need to be specifically turned on now in MPQEdit.ini as mpqedit detects wine.
OK, could you post such recipe (parametrs&values for MPQEdit.ini)? Author's did't find that on author's webpage nor couldn'd google that.
https://bugs.winehq.org/show_bug.cgi?id=25394
--- Comment #16 from Jerome Leclanche adys.wh@gmail.com --- It's an old email, but if you find MPQEdit.ini (somewhere in appdata IIRC), you need to set UseClassicMenu=false inside it.
https://bugs.winehq.org/show_bug.cgi?id=25394
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|MPQEdit beta: Rebar menus |MPQEdit 3.2 rebar menus |don't work properly |don't work properly URL|http://zezula.net/download/ |https://web.archive.org/web |mpqediten32.zip |/20110724142659if_/http://w | |ww.zezula.net/download/mpqe | |diten32.zip
--- Comment #17 from Gijs Vermeulen gijsvrm@gmail.com --- Still present with wine-6.14-212-g2cc98b72846.
Adding a stable download.
$ sha1sum mpqediten32.zip 62d4d61262b730a63e71a64a782903c14ff9d405 mpqediten32.zip
$ du -sh mpqediten32.zip 496K mpqediten32.zip