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.