[Bug 9615] New: RPG Maker: c0000005 exception when clicking menu bar
http://bugs.winehq.org/show_bug.cgi?id=9615 Summary: RPG Maker: c0000005 exception when clicking menu bar Product: Wine Version: 0.9.44. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-binary AssignedTo: wine-bugs(a)winehq.org ReportedBy: nodisgod(a)yahoo.com After obtaining RPG Maker from (http://www.enterbrain.co.jp/tkool/RPG_XP/eng/download.html), I install it. I believe on 0.9.33 it seamlessly installed, but on latest 0.9.44, running the EXE produces help output for msiexec in terminal; I had to do wine msiexec /i on the MSIs in the directories. Installation is ok, and starting the app is okay, but when I click the menu, it gives me an exception: c0000005 at address 004749B5. No dump is produced that is indicative of any error. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 scguy318 <nodisgod(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|other |Linux Platform|Other |PC -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|wine-binary |wine-misc Keywords| |download --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2007-09-09 00:43:31 --- Please attach (as a file) complete terminal output. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #2 from Kelly Miller <lightsolphoenix(a)gmail.com> 2007-09-09 02:15:32 --- Created an attachment (id=8008) --> (http://bugs.winehq.org/attachment.cgi?id=8008) Logfile for running RPG Maker XP in Wine and using the menu. All I did for this log was start the program and use the menu. The error pops up and Wine stops running. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 Kelly Miller <lightsolphoenix(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lightsolphoenix(a)gmail.com --- Comment #3 from Kelly Miller <lightsolphoenix(a)gmail.com> 2007-09-09 02:16:24 --- I've attached a logfile for this bug, and I'm also confirming it (it happens any time you run RMXP and try to use the menu). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000(a)yahoo.co.uk Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #4 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2007-09-09 02:53:54 --- I know this bug from the past, so i can confirm it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #5 from Lei Zhang <thestig(a)google.com> 2007-09-10 16:05:43 --- can you file a separate bug for the installer problem? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #6 from Kelly Miller <lightsolphoenix(a)gmail.com> 2007-09-10 16:27:55 --- (In reply to comment #5)
can you file a separate bug for the installer problem?
The installer itself produces no errors or messages to post; it just runs for a few minutes, then displays the results of incorrectly calling msiexec. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 Lei Zhang <thestig(a)google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.enterbrain.co.jp/ | |tkool/RPG_XP/eng/download.ht | |ml --- Comment #7 from Lei Zhang <thestig(a)google.com> 2007-09-10 20:16:03 --- I filed bug 9628 for the installer problem. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us(a)edmeades.me.uk --- Comment #8 from Jason Edmeades <us(a)edmeades.me.uk> 2007-09-11 17:35:51 --- The trap is caused by SendMessageW( mt.hOwnerWnd, WM_ENTERIDLE, MSGF_MENU, win); in MENU_TrackMenu because wFlags is missing TPM_ENTERIDLEEX win is NULL, and things go wrong. (It will get further if you temporarily change it to: SendMessageW( mt.hOwnerWnd, WM_ENTERIDLE, MSGF_MENU, (LPARAM)menu->hWnd); /*win );*/ ) However, then the menus appear but do not disappear. The root cause appears to be TrackMenuEx not being implemented although I am not 100% convinced. Certainly the trackmenu* functions do not pass through TPM_ENTERIDLEEX (which is purely internal) and I am not sure why not or why it only sends the menu->hWnd if it has been set. Putting it down for now to see if this triggers any thoughts from anyone else, otherwise I might have another play later. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #9 from Jason Edmeades <us(a)edmeades.me.uk> 2007-09-11 17:37:15 --- (Note even after that change, the menus only appear without an immediate trap, they do not seem functional) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 Nicholai Benalal <olympia(a)skydreams.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |olympia(a)skydreams.org --- Comment #10 from Nicholai Benalal <olympia(a)skydreams.org> 2007-11-26 14:07:39 --- I've never used RPG maker the bug with the application menus is for sure the same reported about all chessbase applications (See ie bug 10246). I came to the same conclusion about the ENTERIDLE message and posted about it here: http://www.winehq.org/pipermail/wine-devel/2007-October/060169.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 Lei Zhang <thestig(a)google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hen.asraf(a)gmail.com --- Comment #11 from Lei Zhang <thestig(a)google.com> 2007-12-20 12:35:50 --- *** Bug 10790 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #12 from Kelly Miller <lightsolphoenix(a)gmail.com> 2008-02-28 03:29:15 --- I've confirmed the bug is still present in 0.9.55... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #13 from Dan Kegel <dank(a)kegel.com> 2008-04-22 09:01:18 --- *** Bug 9808 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.mehrmann(a)gmx.de --- Comment #14 from Dan Kegel <dank(a)kegel.com> 2008-04-22 09:02:42 --- *** Bug 10246 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|RPG Maker: c0000005 |RPG Maker, Fritz9, Amazon |exception when clicking menu|Music Downloader: crasj when |bar |clicking menu bar --- Comment #15 from Dan Kegel <dank(a)kegel.com> 2008-04-22 09:04:53 --- Changing title to reflect related apps. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Daniel Kammerer <d_kammerer(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d_kammerer(a)web.de -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Fabio Napodano <napodano(a)napodano.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |napodano(a)napodano.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Forrest Samuels <forrest(a)alumni.ncsu.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |forrest(a)alumni.ncsu.edu -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 scguy318 <nodisgod(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|RPG Maker, Fritz9, Amazon |RPG Maker, Fritz9, Amazon |Music Downloader: crasj when|Music Downloader: crash when |clicking menu bar |clicking menu bar -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Ryan Schultz <schultz.ryan(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schultz.ryan(a)gmail.com --- Comment #16 from Ryan Schultz <schultz.ryan(a)gmail.com> 2008-05-26 21:10:25 --- Noting that this is still an issue in Wine 1.0-rc2; clicking on the menus causes the program to end with a 'Critical Error,' although it doesn't seem to actually produce a crash that Wine knows about. I tinkered with this some, but I can't figure out how to get a backtrace since RPG Maker XP is apparently handling the crash itself, making it difficult to tell exactly what's happening. Making the change suggested by Jason Edmeades (although the actual line in the Wine source has itself changed slightly to pass (LPARAM)win rather than just win) still allows the menus to load, but clicking anything in them causes another 'Critical Error.' I don't know enough about this sort of thing to do much on my own, but I'd be happy to help in any way I can -- this is one of the only programs I've always wanted to be able to run in Wine, but which didn't eventually start working. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Alexej Dwina <white-hat(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |white-hat(a)gmx.net -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #17 from Alexej Dwina <white-hat(a)gmx.net> 2008-07-13 11:50:49 --- Created an attachment (id=14788) --> (http://bugs.winehq.org/attachment.cgi?id=14788) log output RPGXP.exe Clicking an item in the menu bar still crashes on wine-1.1.1; log output attached -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Alexej Dwina <white-hat(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14788|0 |1 is obsolete| | --- Comment #18 from Alexej Dwina <white-hat(a)gmx.net> 2008-07-13 11:52:28 --- Created an attachment (id=14789) --> (http://bugs.winehq.org/attachment.cgi?id=14789) log output RPGXP.exe (correct one) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Philip Sylvain <contact(a)sphilip.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |contact(a)sphilip.com --- Comment #19 from Philip Sylvain <contact(a)sphilip.com> 2008-09-03 07:18:30 --- I have the same bug with Fritz 11 and the problem come from the component user32 with a dispatching message see [url=http://bugs.winehq.org/show_bug.cgi?id=13751]bug 13751[/url] -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Lei Zhang <thestig(a)google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14789|application/octet-stream |text/plain mime type| | -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Jorgevan007 <jorgevan007(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jorgevan007(a)hotmail.com --- Comment #20 from Jorgevan007 <jorgevan007(a)hotmail.com> 2008-09-03 18:37:02 --- This same problem (with the applications freezing upon accessing the menus) is also present in the following Chessbase software: as: a) Fritz 10 B) Fritz 11 c) Junior 10 d) Chessbase 10 Does anyone know what is the show stopper for this bug? Can anyone let us know how else we can contribute to a speedier fix of this bug? Thanks. Jorgevan007 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Dusan Saiko <dusan.saiko(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dusan.saiko(a)gmail.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #21 from Dusan Saiko <dusan.saiko(a)gmail.com> 2008-10-04 08:16:24 --- Hi. This bug is quite annoying for me, I have tried even Crossover office, menu is not working there as well. .. So I have downloaded wine source, CDT eclipse plugin and found fix for the issue. -------------------- Error can be easily reproduced by installing free chess client from playchess homepage, then running the app, entering as guest and clicking any menu item. Gnome completly freezes for me in current wine version. As I was debugging the code, it seems to me application does not have simple winapi menu, rather some sort of button which open independent popup menus. The fix has two parts in user32.dll/menu.c: - the crash was caused by sending null value to application as lparam in WM_ENTERIDLE message, see msdn description of the event lParam - Handle to the dialog box (if wParam is MSGF_DIALOGBOX) or window containing the displayed menu (if wParam is MSGF_MENU). -------------------- fix in MENU_TrackMenu (line 3035 in current git source): HWND win = (wFlags & TPM_ENTERIDLEEX && menu->wFlags & MF_POPUP) ? menu->hWnd : 0; enterIdleSent = TRUE; if(win) { //added condition SendMessageW( mt.hOwnerWnd, WM_ENTERIDLE, MSGF_MENU, (LPARAM)win ); } -------------------- but as was already noticed, this does not close the popup menus then at all. after further debugging, the application sends message to popup menu to be closed before opening a new popup. The message is 0xb09, and I have not found any reference to it on the internet. After adding following fix, the menu behaves correctly. -------------------- fix in MENU_TrackMenu (line 3044 in current git source): if(msg.message == 0xb09) { fEndMenu = TRUE; //do not remove message from queue break; } -------------------- I am attaching patch for the trunk git version of menu.c. Please comment the fix (and possibly find meaning of 0xb09 message), hopefully it can be included in the source tree. regards DS -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #22 from Dusan Saiko <dusan.saiko(a)gmail.com> 2008-10-04 08:17:49 --- Created an attachment (id=16462) --> (http://bugs.winehq.org/attachment.cgi?id=16462) menu.c patch to solve TraxkPopupMenuEx issue for chessbase chess clients -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cmckaydubbo(a)yahoo.com.au --- Comment #23 from Dan Kegel <dank(a)kegel.com> 2008-10-04 09:36:05 --- *** Bug 13322 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #24 from Dan Kegel <dank(a)kegel.com> 2008-10-04 09:37:10 --- *** Bug 13751 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |user32 Keywords| |patch --- Comment #25 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2008-10-04 10:34:55 --- Dusan, thanks very much for looking into this. I can confirm your patch works for Chessbase Light. I guess this needs a testcase to be written. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #26 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2008-10-04 10:35:59 --- Created an attachment (id=16465) --> (http://bugs.winehq.org/attachment.cgi?id=16465) Dusan's patch in git format, so it can be applied easily -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #27 from Austin English <austinenglish(a)gmail.com> 2008-10-04 16:33:03 --- (In reply to comment #22)
Created an attachment (id=16462) --> (http://bugs.winehq.org/attachment.cgi?id=16462) [details] menu.c patch to solve TraxkPopupMenuEx issue for chessbase chess clients
Please add a testcase and remove C++ style comments, use /* comment */ instead -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #28 from Anastasius Focht <focht(a)gmx.net> 2008-10-04 19:24:53 --- Hello, the second part of the patch can't obviously be correct. That message id is an application internal one, used to trigger next (menu) action - hence you won't find any related information on the internet. The reason why this patch "works" is because this internal message is *posted* every time after the app sends WM_CANCELMODE to the owner window of the popup - which ought to dismiss it. That WM_CANCELMODE message is sent using SendMessage() which directly calls into window proc - not seen by menu tracking message pump. Wine's default WM_CANCELMODE handler doesn't call EndMenu() when the receiving end is a child window/control (WS_CHILD set, popup owner -> toolbar). EndMenu() should force the menu tracking message pump to exit. I'm curious why this restriction to non child windows exists here. Any parent window/control which owns the active menu can have such style. Regards -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #29 from Dusan Saiko <dusan.saiko(a)gmail.com> 2008-10-05 05:26:28 --- (In reply to comment #28) And what would you suggest then to make it work ? Hope the answer woun't be in the form "we do it in correct way, the application is wrong". -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #30 from Nicholai Benalal <olympia(a)skydreams.org> 2008-10-06 19:47:01 --- (In reply to comment #28)
I'm curious why this restriction to non child windows exists here. Any parent window/control which owns the active menu can have such style.
Indeed, the application menus work even better (ie perfectly) when just disabling that condition and always call EndMenu() in the default WM_CANCELMODE handler. I'm not sure if this is correct though. I guess the condition was there for a reason... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #31 from Dusan Saiko <dusan.saiko(a)gmail.com> 2008-10-07 01:03:57 --- (In reply to comment #30) What would be the process to decide if we can do this ? "Wine's default WM_CANCELMODE handler doesn't call EndMenu() when the receiving end is a child window/control (WS_CHILD set, popup owner -> toolbar)" - where can I see this in code ? "That message id is an application internal one" - where can I see sending of this message ? (if I grep over all source for b09 or 2825, I do not find it) it would be really good to force some fix for it, it is long time problem which hangs the complete X session and the fix (in any form) should not be so difficult ... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #32 from Nicholai Benalal <olympia(a)skydreams.org> 2008-10-07 01:48:26 --- (In reply to comment #31)
(In reply to comment #30)
"Wine's default WM_CANCELMODE handler doesn't call EndMenu() when the receiving end is a child window/control (WS_CHILD set, popup owner -> toolbar)" - where can I see this in code ?
have a look at defwnd.c around line 620. Comment out the child window condition: //if (!(GetWindowLongW( hwnd, GWL_STYLE ) & WS_CHILD)) EndMenu(); -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #33 from Dusan Saiko <dusan.saiko(a)gmail.com> 2008-10-12 20:49:05 --- -- so there are two ways, how to easily fix this issue: - fix null pointer exception by not sending 0 as window handle - and - a) call EndMenu from WM_CANCELMODE handler of defwnd.c (remove the if condition) - or - b) use undocumented message 0xb09 to cancel the menu loop I actually think, either of them can be used. For a) - if CANCELMODE message is sent, then menu should be closed, EndMenu just sets fEndMenu variable and then calls PostMessageW( top_popup, WM_CANCELMODE, 0, 0); may be I would add some condition to prevent any possible WM_CANCELMODE loop For b) - the "fix" does not do anything else just ends the menu loop when message 0xb09 is sent. Even this is not documented, it fixes the issue in correct way, loop should not be running after this message. So, in summary, I am done here. It is possible to get rid of this quite serious bug in few lines change (I can't do it, somebody else would have to), but well, may be it is better to leave it open for several next years, and keep given set of applications crashing .... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #34 from James Hawkins <truiken(a)gmail.com> 2008-10-12 21:01:25 --- (In reply to comment #33)
So, in summary, I am done here. It is possible to get rid of this quite serious bug in few lines change (I can't do it, somebody else would have to), but well, may be it is better to leave it open for several next years, and keep given set of applications crashing ....
Sure, fixing this bug is not your responsibility, but Wine is an open source project...it's not anyone's responsibility. Whichever bugs do get fixed, it's because someone stepped up and made that extra effort. Have you sent a patch to wine-patches? No, I just checked. Sending a patch would at least eventually get you a "no this is wrong because of xyz." You can also write a test case, which would go a long way towards getting this bug fixed. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #35 from Nicholai Benalal <olympia(a)skydreams.org> 2008-10-13 03:10:24 --- (In reply to comment #33)
-- so there are two ways, how to easily fix this issue: - fix null pointer exception by not sending 0 as window handle - and - a) call EndMenu from WM_CANCELMODE handler of defwnd.c (remove the if condition) - or - b) use undocumented message 0xb09 to cancel the menu loop
I actually think, either of them can be used.
To me it didn't seem like the 0xb09 handling "fix" worked 100%. If you open a menu and then click on the active menu header, the menu should close. This happens in case a but not case b as no 0xb09 message seems to be sent. Anyway, I agree that the likely reply if we try to get any of these fixes applied is that we need a testcase. Unfortunately I'm not the right person to do it. In the meanwhile I'm investigating some other (more minor problems) with chessbase apps ;-) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd(a)gmail.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #36 from Nicholai Benalal <olympia(a)skydreams.org> 2008-11-23 10:15:12 --- Created an attachment (id=17419) --> (http://bugs.winehq.org/attachment.cgi?id=17419) prevents the crash when accessing the application 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #37 from Nicholai Benalal <olympia(a)skydreams.org> 2008-11-23 10:18:20 --- Created an attachment (id=17420) --> (http://bugs.winehq.org/attachment.cgi?id=17420) patch to close old menu items -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #38 from Nicholai Benalal <olympia(a)skydreams.org> 2008-11-23 10:19:41 --- (In reply to comment #37)
Created an attachment (id=17420) --> (http://bugs.winehq.org/attachment.cgi?id=17420) [details] patch to close old menu items
the two patches I posted were also sent to the mailing list but rejected. Posted here since they at least solve the problem with all Chessbase applications -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #39 from Dan Kegel <dank(a)kegel.com> 2008-11-23 13:47:07 --- As far as I know, they were not rejected, they're just not accepted yet. You should add a conformance test that proves that each patch is correct. See http://wiki.winehq.org/DeveloperFaq#head-1e5a50563dbdb221702cbde246b23f5de08... and http://www.winehq.org/site/docs/winedev-guide/testing It might not be easy, but if it's at all possible, it needs doing. Conformance tests are the backbone of Wine. Without them, we are coding in the dark. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #40 from Nicholai Benalal <olympia(a)skydreams.org> 2008-11-23 18:26:50 --- (In reply to comment #39)
Conformance tests are the backbone of Wine. Without them, we are coding in the dark.
Sure, I can understand the need for this but until I or someone else has the time/energy to do that, I though I could as well add my patches here for people who want to compile their own wine -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #41 from Dan Kegel <dank(a)kegel.com> 2008-11-23 18:48:17 --- I'm just saying your patches weren't necessarily rejected; they're just not accepted yet. There's a difference. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #42 from Jorgevan007 <jorgevan007(a)hotmail.com> 2008-11-23 18:56:56 --- (In reply to comment #41)
I'm just saying your patches weren't necessarily rejected; they're just not accepted yet. There's a difference.
I dont know how to compile wine and honestly I dont want to. In the time you are emailing back and forth with explanations of why the patches haven't been added to the list of approved patches, you could have probably tested the patches that were provided. Please make an extra effort to make this correction another successful addition to the wine project and move on. End users like myself and other will certainly appreciate it! Thanks. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|dank(a)kegel.com | -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #43 from Nicholai Benalal <olympia(a)skydreams.org> 2008-11-25 17:50:08 --- (In reply to comment #41)
I'm just saying your patches weren't necessarily rejected; they're just not accepted yet. There's a difference.
Alright...so let's start with the first issue: There are a number of applications that crash if the os sends a WM_ENTERIDLE message with a NULL window handler. I'm not sure what these applications want to do so how do you propose to write a testcase? A condition to crash if win == NULL doesn't strike me as very revealing ;-) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #44 from Vincent Povirk <madewokherd(a)gmail.com> 2008-11-25 18:54:17 --- If you think Wine is posting the WM_ENTERIDLE messages incorrectly, you need to write a test showing that if you follow some series of steps, in Wine you get one set of messages (including the WM_ENTERIDLE you think is wrong), and in Windows you get a different set. Whatever programs are doing to cause this, that is roughly what your test must do. You'll probably want to build on the user32 message tests (dlls/user32/tests/msg.c) since they already have tools for this. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #45 from Dusan Saiko <dusan.saiko(a)gmail.com> 2008-11-25 19:46:59 --- Well, finally I understand why is Wine after more than 15 years of history not usable for anything serious (except Notepad, maybe ....) Cool. But never mind, after five years on Linux desktop, I am back to Windows now ... I do not need to spend nights making things working, I actually have time to use the software ... No flame, this was my last comment. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #46 from Philip Sylvain <contact(a)sphilip.com> 2008-11-26 07:50:26 --- (In reply to comment #43)
Alright...so let's start with the first issue:
Thanks to your patch. It works fine. I hope your efforts will be successfull to make the tests. I seen the documentation to make them and I found it very hard. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 pau <linuxnow(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linuxnow(a)gmail.com --- Comment #47 from pau <linuxnow(a)gmail.com> 2008-12-15 17:58:11 --- I've patched wine-1.1.10 with the 2 proposed patches, and tested it on a Fedora 10 x86_64 and Fritz 11 works flawlessly. The issue with the menus does not happen and I have not suffered a single failure. So I vote for their inclusion. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |randy(a)procyonlabs.com --- Comment #48 from Austin English <austinenglish(a)gmail.com> 2009-01-18 17:03:10 --- *** Bug 16430 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com Summary|RPG Maker, Fritz9, Amazon |RPG Maker, Fritz9, Amazon |Music Downloader: crash when|Music Downloader: crash when |clicking menu bar |clicking menu bar. (Screws | |up Adobe Photoshop CS4 | |menus, too.) Target Milestone|--- |1.2.0 --- Comment #49 from Dan Kegel <dank(a)kegel.com> 2009-01-18 20:21:00 --- Affects popular apps, working patch -> nominate for 1.2 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #50 from Rein Klazes <wijn(a)online.nl> 2009-03-02 13:24:00 --- A fix for the crash clicking on the menubar was committed today: http://source.winehq.org/git/wine.git/?a=commit;h=5c130c813a5d070a92a9de9330... I have send in a fix for another crash using the popu menus as well: http://www.winehq.org/pipermail/wine-patches/2009-March/070123.html The problem with menus staying open and not closing is still there. I am not sure, but I think this bug should be marked as fixed and a new one opened for the last problem. Is that right? Rein. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #51 from Austin English <austinenglish(a)gmail.com> 2009-03-02 16:38:44 --- (In reply to comment #50)
A fix for the crash clicking on the menubar was committed today:
http://source.winehq.org/git/wine.git/?a=commit;h=5c130c813a5d070a92a9de9330...
I have send in a fix for another crash using the popu menus as well:
http://www.winehq.org/pipermail/wine-patches/2009-March/070123.html
The problem with menus staying open and not closing is still there.
I am not sure, but I think this bug should be marked as fixed and a new one opened for the last problem. Is that right?
Rein.
Please. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Rein Klazes <wijn(a)online.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #52 from Rein Klazes <wijn(a)online.nl> 2009-03-03 00:47:32 --- Marking this bug, crashing when clicking the menu bar, as fixed. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Rein Klazes <wijn(a)online.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |support(a)ics.de --- Comment #53 from Rein Klazes <wijn(a)online.nl> 2009-03-12 06:23:20 --- *** Bug 17663 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #54 from Alexandre Julliard <julliard(a)winehq.org> 2009-03-13 11:15:29 --- Closing bugs fixed in 1.1.17. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #55 from Rein Klazes <wijn(a)online.nl> 2009-04-03 11:32:44 --- fix for the non-closing menus is now in git: http://source.winehq.org/git/wine.git/?a=commit;h=e861d8be43c180c438b54a684f... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 --- Comment #55 from Rein Klazes <wijn(a)online.nl> 2009-04-03 11:32:44 CDT --- fix for the non-closing menus is now in git: http://source.winehq.org/git/wine.git/?a=commit;h=e861d8be43c180c438b54a684f... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=9615 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5c130c813a5d070a92a9de93303 | |82b47b44380ea -- 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.
https://bugs.winehq.org/show_bug.cgi?id=9615 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.enterbrain.co.jp |https://web.archive.org/web |/tkool/RPG_XP/eng/download. |/20120606155403/http://geno |html |tec.games.tucows.com/files/ | |RPG_Maker_XP.zip -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla