View Issue Details

IDProjectCategoryView StatusLast Update
0029362LazarusIDEpublic2016-01-10 22:29
ReporterOndrej PokornyAssigned ToMaciej Izak 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.7 (SVN)Product Build 
Target Version1.8Fixed in Version1.7 (SVN) 
Summary0029362: [New menu editor, sparta]: IDE crashes when double-clicking a menu item to create default event
DescriptionWhen I double-click a menu item in the new menu editor, the IDE crashes.
Steps To ReproduceInstall sparta docked designer.

1.) Open a form in the designer.
2.) Place a popup menu onto a form.
3.) Open a popup menu in the new menu editor.
4.) Double-click the first (auto created) menu item.
5.) The IDE crashes.
Additional InformationCall Stack output:

#0 CLASSES$_$TFPLISTENUMERATOR_$__$$_MOVENEXT$$BOOLEAN at :0
0000001 GETSHADOWFORMENUITEM(0x101e45d0, 0x16bace40) at ..\designer\menushadows.pp:5760
0000002 ONDESIGNERMODIFIED(0x101e45d0, 0x1034d6b0) at ..\designer\menushadows.pp:5705
0000003 MODIFIED(0x155f1050, 0x1034d6b0) at propedits.pp:6088
0000004 MODIFIED(0x1034d6b0) at propedits.pp:2748
0000005 SETMETHODVALUE(0x1034d6b0, {CODE = 0x0, DATA = 0x16db70b8}) at propedits.pp:2791
0000006 SETVALUE(0x1034d6b0, 0x156c121c 'MenuItem11Click') at propedits.pp:4499
0000007 EDIT(0x1034d6b0) at propedits.pp:4294
0000008 EDIT(0x102bbd68) at componenteditors.pas:766
0000009 ADDONCLICK(0x1023f798, 0x0) at ..\designer\menushadows.pp:4701
0000010 DBLCLICK(0x17cc37c0) at ..\designer\menushadows.pp:6420
0000011 WMLBUTTONDBLCLK(0x17cc37c0, {MSG = 515, KEYS = 1, XPOS = 86, YPOS = 10, POS = {X = 86, Y = 10}, DUMMY = 655446, RESULT = 0}) at include\control.inc:2377
0000012 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal at :0
0000013 WNDPROC(0x17cc37c0, {MSG = 515, WPARAM = 1, LPARAM = 655446, RESULT = 0, WPARAMLO = 1, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 86, LPARAMHI = 10, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\control.inc:2124
0000014 WNDPROC(0x17cc37c0, {MSG = 515, WPARAM = 1, LPARAM = 655446, RESULT = 0, WPARAMLO = 1, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 86, LPARAMHI = 10, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\wincontrol.inc:5383
0000015 DELIVERMESSAGE(0x17cc37c0, 0) at lclmessageglue.pas:112
0000016 DOWINDOWPROC(0x13d8a2d8) at win32\win32callback.inc:2407
0000017 WINDOWPROC(201082, 515, 1, 655446) at win32\win32callback.inc:2565
0000018 ?? at :0
0000019 ?? at :0
0000020 ?? at :0
0000021 ?? at :0
0000022 APPPROCESSMESSAGES(0xf4f17a0) at win32\win32object.inc:355
0000023 PROCESSMESSAGES(0xf499bf0) at include\application.inc:373
0000024 REFRESHFAKES(0x1023f798) at ..\designer\menushadows.pp:5524
0000025 SETSELECTEDSHADOW(0x1023f798, 0x0, 0x16bace40, true) at ..\designer\menushadows.pp:5872
0000026 SETSELECTEDMENUITEM(0x1023f798, 0x16bace40, true, false) at ..\designer\menushadows.pp:5832
0000027 ONDESIGNERSETSELECTION(0x1585fbb0, 0x16c884c8) at ..\designer\menueditorform.pas:226
0000028 SETSELECTION(0x155f1050, 0x16c884c8) at propedits.pp:5971
0000029 OIONSELECTPERSISTENTS(0x13d90630, 0x17ce9140) at main.pp:1705
0000030 SETSELECTION(0x17ce9140, 0x16be3230) at objectinspector.pp:4365
0000031 SETSELECTION(0x1694fd10, 0x173fd660) at customformeditor.pp:507
0000032 ONCONTROLSELECTIONCHANGED(0x13d90630, 0x16b702f8, false) at main.pp:8781
0000033 DOCHANGE(0x16b702f8, false) at ..\designer\controlselection.pp:2087
0000034 ENDUPDATE(0x16b702f8) at ..\designer\controlselection.pp:1002
0000035 ASSIGNPERSISTENT(0x16b702f8, 0x16bace40) at ..\designer\controlselection.pp:2253
0000036 ONPROPHOOKPERSISTENTADDED(0x13d90630, 0x16bace40, true) at main.pp:12464
0000037 PERSISTENTADDED(0x155f1050, 0x16bace40, true) at propedits.pp:5897
0000038 ACTIVATE(0x1585fbb0) at ..\designer\menueditorform.pas:403
0000039 CMACTIVATE(0x1585fbb0, {MSG = 45056, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\customform.inc:823
0000040 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal at :0
0000041 WNDPROC(0x1585fbb0, {MSG = 45056, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\control.inc:2124
0000042 WNDPROC(0x1585fbb0, {MSG = 45056, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\wincontrol.inc:5383
0000043 WNDPROC(0x1585fbb0, {MSG = 45056, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\customform.inc:1445
0000044 PERFORM(0x1585fbb0, 45056, 0, 0) at include\control.inc:1453
0000045 SETFOCUSEDFORM(0xf4d9758, 0x1585fbb0) at include\screen.inc:889
0000046 SETFOCUSEDCONTROL(0x1585fbb0, 0x101d0c80) at include\customform.inc:2471
0000047 WNDPROC(0x101d0c80, {MSG = 7, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\wincontrol.inc:5302
0000048 DELIVERMESSAGE(0x101d0c80, 0) at lclmessageglue.pas:112
0000049 DOWINDOWPROC(0x13d8a168) at win32\win32callback.inc:2407
0000050 WINDOWPROC(1576312, 7, 1118122, 0) at win32\win32callback.inc:2565
0000051 BITBTNWNDPROC(1576312, 7, 1118122, 0) at win32\win32wsbuttons.pp:523
0000052 ?? at :0
#53 ?? at :0
#54 ?? at :0
0000055 ?? at :0
0000056 ?? at :0
0000057 SETFOCUS(1576312) at include\winapi.inc:926
0000058 WNDPROC(0x1585fbb0, {MSG = 7, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\customform.inc:1411
0000059 DELIVERMESSAGE(0x1585fbb0, 0) at lclmessageglue.pas:112
0000060 DOWINDOWPROC(0x13d89198) at win32\win32callback.inc:2407
0000061 WINDOWPROC(1118122, 7, 199572, 0) at win32\win32callback.inc:2565
0000062 CUSTOMFORMWNDPROC(1118122, 7, 199572, 0) at win32\win32wsforms.pp:382
0000063 ?? at :0
0000064 ?? at :0
0000065 ?? at :0
0000066 ?? at :0
0000067 ?? at :0
0000068 ?? at :0
0000069 CALLDEFAULTWINDOWPROC(1118122, 6, 2, 135486) at win32\win32callback.inc:84
0000070 DOWINDOWPROC(0x13d89ba8) at win32\win32callback.inc:2315
0000071 WINDOWPROC(1118122, 6, 2, 135486) at win32\win32callback.inc:2565
0000072 CUSTOMFORMWNDPROC(1118122, 6, 2, 135486) at win32\win32wsforms.pp:382
0000073 ?? at :0
0000074 ?? at :0
0000075 ?? at :0
0000076 ?? at :0
0000077 ?? at :0
0000078 ?? at :0
0000079 PEEKMESSAGE(0xf4f17a0, {HWND = 1431655765, MESSAGE = 1431655765, WPARAM = 1431655765, LPARAM = 1431655765, TIME = 1431655765, PT = {X = 1431655765, Y = 1431655765}}, 0, 0, 0, 1) at win32\win32winapi.inc:2576
0000080 APPPROCESSMESSAGES(0xf4f17a0) at win32\win32object.inc:347
0000081 HANDLEMESSAGE(0xf499bf0) at include\application.inc:1260
0000082 RUNLOOP(0xf499bf0) at include\application.inc:1395
0000083 APPRUN(0xf4f17a0, {Proc = {procedure (POINTER)} 0xf3afedc, Self = 0xf499bf0}) at include\interfacebase.inc:54
0000084 RUN(0xf499bf0) at include\application.inc:1383
0000085 main at lazarus.pp:140
TagsDockedFormDesigner, menu editor
Fixed in Revision51240
LazTarget-
Widgetset
Attached Files

Relationships

related to 0029205 resolvedOndrej Pokorny Patches patch and files to implement a new IDE menueditor 
related to 0029328 closedMaciej Izak Lazarus sparta docked designer and menu editor AVs 

Activities

Maciej Izak

2016-01-10 21:33

developer   ~0088766

Fixed in Sparta branch r51240.

Ondrej Pokorny

2016-01-10 22:29

reporter   ~0088768

Thanks!

Issue History

Date Modified Username Field Change
2016-01-10 11:13 Ondrej Pokorny New Issue
2016-01-10 11:14 Ondrej Pokorny Relationship added related to 0029205
2016-01-10 11:14 Ondrej Pokorny Tag Attached: DockedFormDesigner
2016-01-10 11:14 Ondrej Pokorny Tag Attached: menu editor
2016-01-10 11:20 Ondrej Pokorny Relationship added related to 0029328
2016-01-10 14:52 Maciej Izak Assigned To => Maciej Izak
2016-01-10 14:52 Maciej Izak Status new => assigned
2016-01-10 21:33 Maciej Izak Fixed in Revision => 51240
2016-01-10 21:33 Maciej Izak Note Added: 0088766
2016-01-10 21:33 Maciej Izak Status assigned => resolved
2016-01-10 21:33 Maciej Izak Fixed in Version => 1.7 (SVN)
2016-01-10 21:33 Maciej Izak Resolution open => fixed
2016-01-10 22:29 Ondrej Pokorny Note Added: 0088768
2016-01-10 22:29 Ondrej Pokorny Status resolved => closed
2016-01-10 22:29 Ondrej Pokorny Target Version => 1.8