Hi there,
i have a problem with a contextmenu within a listgrid using datasource.
I'm using a listgrid with a datasource. All the elements that shuld be displayed in the listgrid are displayed well. The problem is, if i'm selecting multiple elements in the listgrid chrome doesn't open up the context menu.
If i'm only selecting one element, the contextmenu opens without problems. Another "problem" is that firefox hasn't git this problems.
If i'm seperating the lisgrid generation to test it in stand-alone, the contextmenu doesappear.
Maybe you could give me a hint with the log? I have selected 2 elements in the listgrid and clicked with the right button to open the context menu. i repeated this click 3 times.
This is the Log of the console in chrome.
I also have the log of firefox with the same action (opening the contexmenu on multiple items). Here it works like proposer
Do you have any helpful informations, why the contextmenu is not triggered in chrome but in firefox?
Thanks in advance and best regards
Simon
i have a problem with a contextmenu within a listgrid using datasource.
I'm using a listgrid with a datasource. All the elements that shuld be displayed in the listgrid are displayed well. The problem is, if i'm selecting multiple elements in the listgrid chrome doesn't open up the context menu.
If i'm only selecting one element, the contextmenu opens without problems. Another "problem" is that firefox hasn't git this problems.
If i'm seperating the lisgrid generation to test it in stand-alone, the contextmenu doesappear.
Maybe you could give me a hint with the log? I have selected 2 elements in the listgrid and clicked with the right button to open the context menu. i repeated this click 3 times.
This is the Log of the console in chrome.
Code:
14:15:52.223:MDN7:INFO:EventHandler:Target Canvas for event 'mousedown': [GridBody ID:elementsListGrid_15_body] 14:15:52.224:MDN7:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[GridBody ID:elementsListGrid_15_body]' has handler: Canvas.prepareForDragging() 14:15:52.224:MDN7:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[ListGrid ID:elementsListGrid_15]' has handler: Canvas.prepareForDragging() 14:15:52.224:MDN7:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[VLayout ID:detailVLayout_15]' has handler: Canvas.prepareForDragging() 14:15:52.224:MDN7:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[VLayout ID:mainVLayout_14]' has handler: Canvas.prepareForDragging() 14:15:52.224:MDN7:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[HLayout ID:rootHLayout_14]' has handler: Canvas.prepareForDragging() 14:15:52.224:MDN7:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[HLayout ID:navigationLayout_6]' has handler: Canvas.prepareForDragging() 14:15:52.225:MDN7:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[PaneContainer ID:navigationTabSet_2_paneContainer]' has handler: Canvas.prepareForDragging() 14:15:52.225:MDN7:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[TabSet ID:navigationTabSet_2]' has handler: Canvas.prepareForDragging() 14:15:52.225:MDN7:DEBUG:EventHandler:Event 'prepareForDragging' bubbled to top 14:15:52.225:MDN7:DEBUG:dragDrop:No dragTarget, not dragging 14:15:52.229:MDN7:DEBUG:EventHandler:Bubbling event 'rightMouseDown', target '[GridBody ID:elementsListGrid_15_body]' has handler: GridRenderer.rightMouseDown() 14:15:52.230:MDN7:DEBUG:Selection:elementsListGrid_15_selection:selectOnMouseDown: recordNum: 2 14:15:52.230:MDN7:DEBUG:EventHandler:Event 'rightMouseDown' bubbled to top 14:15:52.230:MDN7:DEBUG:MessagingDMISocket:isc_MessagingDMISocket_3:$139v: {sendChannel: "DECD2D3F-17C6-4638-B6BA-ABBD79F6330B", packet: Obj, callback: null, sequence: 6626} 14:15:52.375:MUP9:INFO:EventHandler:Target Canvas for event 'mouseup': [GridBody ID:elementsListGrid_15_body] 14:15:58.455:MDN1:INFO:EventHandler:Target Canvas for event 'mousedown': [GridBody ID:elementsListGrid_15_body] 14:15:58.455:MDN1:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[GridBody ID:elementsListGrid_15_body]' has handler: Canvas.prepareForDragging() 14:15:58.455:MDN1:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[ListGrid ID:elementsListGrid_15]' has handler: Canvas.prepareForDragging() 14:15:58.456:MDN1:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[VLayout ID:detailVLayout_15]' has handler: Canvas.prepareForDragging() 14:15:58.456:MDN1:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[VLayout ID:mainVLayout_14]' has handler: Canvas.prepareForDragging() 14:15:58.456:MDN1:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[HLayout ID:rootHLayout_14]' has handler: Canvas.prepareForDragging() 14:15:58.456:MDN1:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[HLayout ID:navigationLayout_6]' has handler: Canvas.prepareForDragging() 14:15:58.456:MDN1:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[PaneContainer ID:navigationTabSet_2_paneContainer]' has handler: Canvas.prepareForDragging() 14:15:58.456:MDN1:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[TabSet ID:navigationTabSet_2]' has handler: Canvas.prepareForDragging() 14:15:58.456:MDN1:DEBUG:EventHandler:Event 'prepareForDragging' bubbled to top 14:15:58.456:MDN1:DEBUG:dragDrop:No dragTarget, not dragging 14:15:58.456:MDN1:DEBUG:EventHandler:Bubbling event 'rightMouseDown', target '[GridBody ID:elementsListGrid_15_body]' has handler: GridRenderer.rightMouseDown() 14:15:58.457:MDN1:DEBUG:Selection:elementsListGrid_15_selection:selectOnMouseDown: recordNum: 2 14:15:58.457:MDN1:DEBUG:EventHandler:Event 'rightMouseDown' bubbled to top 14:15:58.457:MDN1:DEBUG:MessagingDMISocket:isc_MessagingDMISocket_3:$139v: {sendChannel: "DECD2D3F-17C6-4638-B6BA-ABBD79F6330B", packet: Obj, callback: null, sequence: 6643} 14:15:58.535:MUP3:INFO:EventHandler:Target Canvas for event 'mouseup': [GridBody ID:elementsListGrid_15_body] 14:16:03.943:MDN5:INFO:EventHandler:Target Canvas for event 'mousedown': [GridBody ID:elementsListGrid_15_body] 14:16:03.943:MDN5:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[GridBody ID:elementsListGrid_15_body]' has handler: Canvas.prepareForDragging() 14:16:03.943:MDN5:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[ListGrid ID:elementsListGrid_15]' has handler: Canvas.prepareForDragging() 14:16:03.943:MDN5:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[VLayout ID:detailVLayout_15]' has handler: Canvas.prepareForDragging() 14:16:03.943:MDN5:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[VLayout ID:mainVLayout_14]' has handler: Canvas.prepareForDragging() 14:16:03.943:MDN5:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[HLayout ID:rootHLayout_14]' has handler: Canvas.prepareForDragging() 14:16:03.944:MDN5:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[HLayout ID:navigationLayout_6]' has handler: Canvas.prepareForDragging() 14:16:03.944:MDN5:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[PaneContainer ID:navigationTabSet_2_paneContainer]' has handler: Canvas.prepareForDragging() 14:16:03.944:MDN5:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[TabSet ID:navigationTabSet_2]' has handler: Canvas.prepareForDragging() 14:16:03.944:MDN5:DEBUG:EventHandler:Event 'prepareForDragging' bubbled to top 14:16:03.944:MDN5:DEBUG:dragDrop:No dragTarget, not dragging 14:16:03.944:MDN5:DEBUG:EventHandler:Bubbling event 'rightMouseDown', target '[GridBody ID:elementsListGrid_15_body]' has handler: GridRenderer.rightMouseDown() 14:16:03.944:MDN5:DEBUG:Selection:elementsListGrid_15_selection:selectOnMouseDown: recordNum: 2 14:16:03.944:MDN5:DEBUG:EventHandler:Event 'rightMouseDown' bubbled to top 14:16:03.945:MDN5:DEBUG:MessagingDMISocket:isc_MessagingDMISocket_3:$139v: {sendChannel: "DECD2D3F-17C6-4638-B6BA-ABBD79F6330B", packet: Obj, callback: null, sequence: 6660} 14:16:04.047:MUP7:INFO:EventHandler:Target Canvas for event 'mouseup': [GridBody ID:elementsListGrid_15_body]
Code:
14:22:33.423:MDN3:INFO:EventHandler:Target Canvas for event 'mousedown': [GridBody ID:elementsListGrid_9_body] 14:22:33.424:MDN3:INFO:EventHandler:mouseDown on masked [GridBody ID:elementsListGrid_9_body] firing clickAction, will hide mask 14:22:33.424:MDN3:INFO:clickMask:hideClickMask called with ID: cm_10 14:22:33.424:MDN3:INFO:clickMask:hiding clickMask ID: cm_10[autoHide:true], all masks hidden 14:22:33.425:MDN3:INFO:resize:isc_EH_screenSpan:resize of drawn component: new width/height: 1,1, old width/height: 1744,677, delta width/height: -1743,-676 Canvas.resizeBy(_1=>-1743, _2=>-676, _3=>undef, _4=>undef, _5=>undef) Canvas.resizeTo(_1=>1, _2=>1, _3=>undef, _4=>undef, _5=>undef) ScreenSpan.hide(_1=>undef, _2=>undef, _3=>undef, _4=>undef) [c]EventHandler.hideClickMask(_1=>"cm_10") [c]EventHandler.$lj(_1=>Obj{ID:cm_10}) [c]EventHandler.clickMaskClick(_1=>[GridBody ID:elementsListGrid_9_body]) [c]EventHandler.doHandleMouseDown(_1=>[object MouseEvent], _2=>undef) doHandleMouseDownObservation([object MouseEvent], undef) [c]EventHandler.handleMouseDown(_1=>[object MouseEvent], _2=>undef) [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseDown(), _2=>[object MouseEvent]) anonymous(event=>[object MouseEvent]) 14:22:33.426:MDN3:INFO:sizing:isc_EH_screenSpan:Specified size: 1x1, drawn scroll size: 3200x2401, border: 0x0, margin: 0x0, reason: resize 14:22:33.427:MDN3:DEBUG:sizing:isc_EH_screenSpan:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 3200, scrollHeight: 2401, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 1, styleLeft: "0px", styleTop: "0px", styleWidth: "1px", styleHeight: "1px", styleClip: ""} 14:22:33.429:MDN3:INFO:aria:ARIA state: hidden: true, set on element: [DIVElement]{ID:isc_4Z} 14:22:33.431:MDN3:INFO:nativeFocus:elementsListGrid_9_body:about to call native focus() Canvas.setFocus(_1=>true, _2=>undef) [a]MathFunction.invokeSuper(_1=>null, _2=>"setFocus", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef) [a]MathFunction.Super(_1=>"setFocus", _2=>[object Arguments], _3=>undef) GridRenderer.setFocus(_1=>true, _2=>undef) Canvas.focus(_1=>undef) Canvas.$rk() Canvas.hide() ** recursed on [a]MathFunction.invokeSuper 14:22:33.431:BLR4:DEBUG:nativeFocus:onblur fired on: [GridBody ID:contextMenu_9_body] 14:22:33.432:FCS5:DEBUG:nativeFocus:onfocus fired on: [GridBody ID:elementsListGrid_9_body] 14:22:33.434:FCS5:DEBUG:MessagingDMISocket:isc_MessagingDMISocket_2:$139v: {sendChannel: "F7A0578D-CDD8-49E3-8B19-1D0CB618D060", packet: Obj, callback: null, sequence: 1325} 14:22:33.435:MDN3:INFO:aria:ARIA state: hidden: true, set on element: [DIVElement]{ID:isc_MP} 14:22:33.436:MDN3:INFO:clickMask:hideClickMask called with ID: cm_10 14:22:33.436:MDN3:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[GridBody ID:elementsListGrid_9_body]' has handler: Canvas.prepareForDragging() 14:22:33.437:MDN3:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[ListGrid ID:elementsListGrid_9]' has handler: Canvas.prepareForDragging() 14:22:33.437:MDN3:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[VLayout ID:detailVLayout_9]' has handler: Canvas.prepareForDragging() 14:22:33.438:MDN3:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[VLayout ID:mainVLayout_8]' has handler: Canvas.prepareForDragging() 14:22:33.438:MDN3:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[HLayout ID:rootHLayout_8]' has handler: Canvas.prepareForDragging() 14:22:33.439:MDN3:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[HLayout ID:navigationLayout_6]' has handler: Canvas.prepareForDragging() 14:22:33.439:MDN3:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[PaneContainer ID:navigationTabSet_2_paneContainer]' has handler: Canvas.prepareForDragging() 14:22:33.440:MDN3:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[TabSet ID:navigationTabSet_2]' has handler: Canvas.prepareForDragging() 14:22:33.440:MDN3:DEBUG:EventHandler:Event 'prepareForDragging' bubbled to top 14:22:33.440:MDN3:DEBUG:dragDrop:No dragTarget, not dragging 14:22:33.441:MDN3:DEBUG:EventHandler:Bubbling event 'rightMouseDown', target '[GridBody ID:elementsListGrid_9_body]' has handler: GridRenderer.rightMouseDown() 14:22:33.442:MDN3:DEBUG:Selection:elementsListGrid_9_selection:selectOnMouseDown: recordNum: 1 14:22:33.443:MDN3:DEBUG:EventHandler:Event 'rightMouseDown' bubbled to top 14:22:33.443:MDN3:DEBUG:MessagingDMISocket:isc_MessagingDMISocket_2:$139v: {sendChannel: "F7A0578D-CDD8-49E3-8B19-1D0CB618D060", packet: Obj, callback: null, sequence: 1342} 14:22:33.558:MUP8:INFO:EventHandler:Target Canvas for event 'mouseup': [GridBody ID:elementsListGrid_9_body] 14:22:33.560:CXT0:INFO:EventHandler:Target Canvas for event 'contextmenu': [GridBody ID:elementsListGrid_9_body] 14:22:33.561:CXT0:INFO:aria:ARIA state: hidden: false, set on element: [DIVElement]{ID:isc_MP} 14:22:33.563:CXT0:INFO:aria:ARIA state: hidden: true, set on element: [DIVElement]{ID:isc_MP} 14:22:33.566:CXT0:INFO:clickMask:showing click mask, action: isc.Menu.hideAllMenus('outsideClick'), autoHide true , focusCanvas: [GridBody ID:elementsListGrid_9_body] 14:22:33.567:CXT0:DEBUG:Page:setEvent(resize): action => [Class ScreenSpan] 14:22:33.568:CXT0:INFO:resize:isc_EH_screenSpan:resize of drawn component: new width/height: 1744,677, old width/height: 1,1, delta width/height: 1743,676 Canvas.resizeBy(_1=>1743, _2=>676, _3=>undef, _4=>undef, _5=>undef) Canvas.resizeTo(_1=>1744, _2=>677, _3=>undef, _4=>undef, _5=>undef) ScreenSpan.fitToScreen() ScreenSpan.show(_1=>undef, _2=>undef, _3=>undef, _4=>undef) [c]EventHandler.showScreenSpan(_1=>Obj{ID:cm_11}) [c]EventHandler.showClickMask(_1=>"isc.Menu.hideAllMenus('outsideClick')", _2=>"soft", _3=>undef, _4=>undef) [c]Menu.$781() Menu.show(_1=>undef) Menu.showContextMenu(_1=>undef) Canvas.showContextMenu(Obj) [a]MathFunction.invokeSuper(_1=>null, _2=>"showContextMenu", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef) [a]MathFunction.Super(_1=>"showContextMenu", _2=>[object Arguments], _3=>undef) [o]ListGrid.showContextMenu(Obj) Canvas.handleShowContextMenu(_1=>Obj, undef) [c]EventHandler.bubbleEvent(_1=>[ListGrid ID:elementsListGrid_9], _2=>"showContextMenu", _3=>undef, _4=>undef) [c]EventHandler.$k8(_1=>[object MouseEvent], _2=>undef) [c]EventHandler.handleContextMenu(_1=>[object MouseEvent], _2=>undef) [c]EventHandler.dispatch(_1=>[c]EventHandler.handleContextMenu(), _2=>[object MouseEvent]) anonymous(event=>[object MouseEvent]) 14:22:33.570:CXT0:INFO:sizing:isc_EH_screenSpan:Specified size: 1744x677, drawn scroll size: 3200x2401, border: 0x0, margin: 0x0, reason: resize 14:22:33.570:CXT0:DEBUG:sizing:isc_EH_screenSpan:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 3200, scrollHeight: 2401, clientWidth: undef, clientHeight: undef, offsetWidth: 1744, offsetHeight: 677, styleLeft: "0px", styleTop: "-1px", styleWidth: "1744px", styleHeight: "677px", styleClip: ""} 14:22:33.572:CXT0:INFO:aria:ARIA state: hidden: false, set on element: [DIVElement]{ID:isc_4Z} 14:22:33.573:CXT0:DEBUG:clickMask:Added unmasked targets:contextMenu_9,contextMenu_9_body [+ decendants] to clickMask with ID: cm_11 14:22:33.574:CXT0:INFO:aria:ARIA state: hidden: false, set on element: [DIVElement]{ID:isc_MP} 14:22:33.575:CXT0:INFO:nativeFocus:contextMenu_9_body:about to call native focus() Canvas.setFocus(_1=>true, _2=>undef) [a]MathFunction.invokeSuper(_1=>null, _2=>"setFocus", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef) [a]MathFunction.Super(_1=>"setFocus", _2=>[object Arguments], _3=>undef) GridRenderer.setFocus(_1=>true, _2=>undef) Canvas.focus(_1=>undef) Menu.$35w() Menu.show(_1=>undef) Menu.showContextMenu(_1=>undef) Canvas.showContextMenu(Obj) ** recursed on [a]MathFunction.invokeSuper 14:22:33.576:BLR1:DEBUG:nativeFocus:onblur fired on: [GridBody ID:elementsListGrid_9_body] 14:22:33.576:FCS2:DEBUG:nativeFocus:onfocus fired on: [GridBody ID:contextMenu_9_body] 14:22:33.578:FCS2:DEBUG:MessagingDMISocket:isc_MessagingDMISocket_2:$139v: {sendChannel: "F7A0578D-CDD8-49E3-8B19-1D0CB618D060", packet: Obj, callback: null, sequence: 1359} 14:22:33.578:CXT0:DEBUG:EventHandler:Bubbling for event 'showContextMenu' cancelled via false return value by target:[ListGrid ID:elementsListGrid_9]
Thanks in advance and best regards
Simon
Comment