http://bugs.winehq.org/show_bug.cgi?id=18175
Summary: AutoCAD 2008: Pop menu in Text Formating doesn't work correctly Product: Wine Version: 1.1.19 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lukasz.wojnilowicz@gmail.com
Created an attachment (id=20643) --> (http://bugs.winehq.org/attachment.cgi?id=20643) Image showing popup menu
I'm using wine-1.1.19-271-g0a42190 (compiled using gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) ) on Fedora 10 i386.
The problem is that when i want to go with mouse pointer below first separation line of popup menu then this popup menu disappears and I cannot choose anything below this separator. I can navigate below this separator only with keyboard but when i press left or right arrow the popup menu again disappears which doesn't happen when i try do the same with everything above this separator.
http://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #1 from Rein Klazes wijn@online.nl 2009-04-23 23:28:24 --- Please attach a +relay,+tid,+menu trace when you do the mouse pointer thing.
http://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #2 from NSLW lukasz.wojnilowicz@gmail.com 2009-04-24 00:06:13 --- Created an attachment (id=20652) --> (http://bugs.winehq.org/attachment.cgi?id=20652) WINEDEBUG=+delay,+menu,+tid
Log file was over 1.4 GB
http://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #3 from Rein Klazes wijn@online.nl 2009-04-24 01:21:20 --- Thanks, unfortunately I do not see anything about this menu in the trace. Most of it is the shutdown of the program. I was looking at all the "menu:" trace lines and searched for some of the strings in the popup menu ("Paragraph", "Insert Field")
In such circumstances I normally try to make this part as short as possible: 1) do your thing; 2) ALT-Tab back to the terminal 3) type Ctrl-C. (if that does not work I use Ctrl-Z and kill -9 %1).
For the moment just get me the +menu,+tid trace.
http://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #4 from NSLW lukasz.wojnilowicz@gmail.com 2009-04-24 01:45:55 --- Created an attachment (id=20654) --> (http://bugs.winehq.org/attachment.cgi?id=20654) WINEDEBUG=+menu,+tid
I still have got this 1.4 GB log so if you would like i can cut the most interesting part for you. Just say from which line and how much.
http://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #5 from Rein Klazes wijn@online.nl 2009-04-24 02:24:52 --- Well this is the interesting part:
0020:trace:menu:InsertMenuW hMenu 0x2e90, pos -1, flags 00000410, id 2f30, str L"Paragraph Alignment" 0020:trace:menu:MENU_InsertItem inserting at 4 by pos 1024 0020:trace:menu:do_debug_print_menuitem MENU_SetItemData from: { ID=0x0 } 0020:trace:menu:MENU_SetItemData flags=410 str=0xb18f5c8 0020:trace:menu:do_debug_print_menuitem MENU_SetItemData to : { ID=0x2f30, Sub=0x2f30, fType=pop, Text=L"Paragraph Alignment" } 0020:trace:menu:InsertMenuW hMenu 0x2e90, pos -1, flags 00000400, id 000e, str L"Paragraph..." 0020:trace:menu:MENU_InsertItem inserting at 5 by pos 1024 0020:trace:menu:do_debug_print_menuitem MENU_SetItemData from: { ID=0x0 } 0020:trace:menu:MENU_SetItemData flags=400 str=0xb18f5c8 0020:trace:menu:do_debug_print_menuitem MENU_SetItemData to : { ID=0xe, Text=L"Paragraph..." } 0020:trace:menu:InsertMenuW hMenu 0x2e90, pos -1, flags 00000410, id 2f80, str L"Bullets and Lists" 0020:trace:menu:MENU_InsertItem inserting at 6 by pos 1024 0020:trace:menu:do_debug_print_menuitem MENU_SetItemData from: { ID=0x0 } 0020:trace:menu:MENU_SetItemData flags=410 str=0xb18f5c8 0020:trace:menu:do_debug_print_menuitem MENU_SetItemData to : { ID=0x2f80, Sub=0x2f80, fType=pop, Text=L"Bullets and Lists" } 0020:trace:menu:DestroyMenu (0x2f80) 0020:warn:menu:MENU_GetMenu invalid menu handle=0x2fd0, ptr=0xf13b48, magic=10 0020:trace:menu:DestroyMenu (0x2fd0) 0020:trace:menu:DestroyMenu (0x2f30) 0020:trace:menu:CreateMenu return 0x2f30 0020:trace:menu:CreateMenu return 0x2f80
You see that sub-popup menus are added ("Pargraph Alignment" and "Bulltest and Lists") BUT the handles of those popup menu's ( 2f30 and 2f80 ) are destroyed.
A known issue for menu's is that Windows locks menu's as long as they are referenced by another menu but in Windows they will be destroyed making such menu's unworking.
There is another bug report about this somewhere, but this is the better report.
Fixing this is on my to do list somewhere, but there is some more urgent stuff as well. I will see what I can do.
If you can you can look in your 1.4GB file for the above lines and attach just that part.
http://bugs.winehq.org/show_bug.cgi?id=18175
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20652|0 |1 is obsolete| |
--- Comment #6 from NSLW lukasz.wojnilowicz@gmail.com 2009-04-24 03:33:03 --- Created an attachment (id=20656) --> (http://bugs.winehq.org/attachment.cgi?id=20656) WINEDEBUG=+delay,+menu,+tid
I think this is the output you wanted.
http://bugs.winehq.org/show_bug.cgi?id=18175
Rein Klazes wijn@online.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1
--- Comment #7 from Rein Klazes wijn@online.nl 2009-04-24 03:52:53 --- Yes that confirms what I wrote before. The program calls DestroyMenu on sub-menu's that are still referenced by another menu. Works on Windows, not in wine.
You will have to wait until some locking or reference counting mechanism for such menu's is implemented.
http://bugs.winehq.org/show_bug.cgi?id=18175
Rein Klazes wijn@online.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |phobieweb@yahoo.de
--- Comment #8 from Rein Klazes wijn@online.nl 2009-04-24 03:56:17 --- *** Bug 17189 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18175
Rein Klazes wijn@online.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chiraag@verizon.net
--- Comment #9 from Rein Klazes wijn@online.nl 2009-08-11 22:58:37 --- *** Bug 19700 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18175
Rein Klazes wijn@online.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scallegari@arces.unibo.it
--- Comment #10 from Rein Klazes wijn@online.nl 2009-09-27 02:06:56 --- *** Bug 20163 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #11 from NSLW lukasz.wojnilowicz@gmail.com 2010-04-21 00:41:19 --- This is still an issue in Wine 1.1.43
http://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #12 from NSLW lukasz.wojnilowicz@gmail.com 2011-04-21 12:21:33 CDT --- Hello, this bug is already 2 year old and it has person assigned to it. Is the situation better to fix the bug in reasonable time?
http://bugs.winehq.org/show_bug.cgi?id=18175
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de AssignedTo|wine-bugs@winehq.org |wijn@online.nl
--- Comment #13 from André H. nerv@dawncrow.de 2011-11-22 13:55:05 CST --- fixing assignee
http://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #14 from NSLW lukasz.wojnilowicz@gmail.com 2012-06-13 11:57:00 CDT --- Still issue in Wine 1.5.6
http://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #15 from NSLW lukasz.wojnilowicz@gmail.com 2013-03-06 13:32:16 CST --- Still issue in 1.5.25
http://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #16 from NSLW lukasz.wojnilowicz@gmail.com --- Still issue in 1.7.16
https://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #17 from NSLW lukasz.wojnilowicz@gmail.com --- Created attachment 51332 --> https://bugs.winehq.org/attachment.cgi?id=51332 Image showing toolbar (incorrectly displayed)
In Wine 1.7.41 toolbar containing popup menu is displayed incorrectly, thus no possibility to check if this bug is still valid.
https://bugs.winehq.org/show_bug.cgi?id=18175
--- Comment #18 from Austin English austinenglish@gmail.com --- (In reply to NSLW from comment #17)
Created attachment 51332 [details] Image showing toolbar (incorrectly displayed)
In Wine 1.7.41 toolbar containing popup menu is displayed incorrectly, thus no possibility to check if this bug is still valid.
Please run a regression test and file a new bug, as a blocker for this one.
https://bugs.winehq.org/show_bug.cgi?id=18175
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=18175
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #19 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-6.19?