Community
Participate
Working Groups
Created attachment 125429 [details] wireshark file of the right click traffic being sent to server Build ID: I20081211-1908 Steps To Reproduce: 1.Firefox 3.0.6 on fedora 10 i86 or x86_64 fresh install 2.go to a TableViewer with a context menu 3.right click 4. selection event is ignored, no right click menu and the row is not selected (which it, if configured in the TableViewer controls demo) 5. the bug can be replicated with a fedora 10 liveCD and the controls demo TableViewer example More information: I have tested this in WinXP with firefox and ie, and others have confirmed that ebuntu 3.0.4 does not have this problem - so it seems very specfic to fedora/firefox 3.0.6 I booted up a fresh fedora live cd with all extensions disabled and was able to replicate this problem, so I am fairly confident this is a bug in either firefox or something else..
This is from the client debug log, of the right click activity; requestCounter=44; ] 123602 DEBUG: org.eclipse.swt.Request[40]: sending request [ w4.activeControl=w53; org.eclipse.swt.events.mouseDown=w53; org.eclipse.swt.events.mouseDown.button=3; org.eclipse.swt.events.mouseDown.x=318; org.eclipse.swt.events.mouseDown.y=233; org.eclipse.swt.events.mouseDown.time=123465; w1.focusControl=w53; uiRoot=w1; requestCounter=45; ] 123748 DEBUG: org.eclipse.swt.Request[40]: sending request [ org.eclipse.swt.events.mouseUp=w53; org.eclipse.swt.events.mouseUp.button=3; org.eclipse.swt.events.mouseUp.x=318; org.eclipse.swt.events.mouseUp.y=234; org.eclipse.swt.events.mouseUp.time=123610; w1.focusControl=w53; uiRoot=w1; requestCounter=46; ]
I'm not sure how relevant this is, but if I try a similar action, ie right click on a TreeViewer, it sends a widgetSelected event rather than a MouseDown; 8713877 DEBUG: org.eclipse.swt.Request[40]: sending request [ w3.activeControl=w79; w79.selection=w81,; org.eclipse.swt.events.widgetSelected=w79; org.eclipse.swt.events.widgetSelected.item=w81; w1.focusControl=null; uiRoot=w1; requestCounter=117; ]
I've compared the effect of right-clicking a row in a TableViewer under firefox 3.0.6 on windows XP in firebug to the same thing on fedora/firefox 3.0.6, and Windows firefox seems to be sending both the mouseDown and mouseUP events in a single post like so; http://192.168.1.2:10080/rap?nocache=1234389294614&org.eclipse.swt.events.mouseDown=w48&org.eclipse.swt.events.mouseDown.button=3&org.eclipse.swt.events.mouseDown.time=257430&org.eclipse.swt.events.mouseDown.x=276&org.eclipse.swt.events.mouseDown.y=136&org.eclipse.swt.events.mouseUp=w48&org.eclipse.swt.events.mouseUp.button=3&org.eclipse.swt.events.mouseUp.time=257444&org.eclipse.swt.events.mouseUp.x=276&org.eclipse.swt.events.mouseUp.y=136&org.eclipse.swt.events.widgetSelected=w48&org.eclipse.swt.events.widgetSelected.index=2&requestCounter=28&uiRoot=w1&w1.focusControl=w48&w3.activeControl=w48&w48.selection=2
and on fedora a right click is sent in 2 separate POSTs like this; http://localhost:10080/rap?nocache=1234389423418&org.eclipse.swt.events.mouseDown=w48&org.eclipse.swt.events.mouseDown.button=3&org.eclipse.swt.events.mouseDown.time=10686390&org.eclipse.swt.events.mouseDown.x=250&org.eclipse.swt.events.mouseDown.y=196&requestCounter=142&uiRoot=w1&w1.focusControl=w48&w3.activeControl=w48 http://localhost:10080/rap?nocache=1234389423538&org.eclipse.swt.events.mouseUp=w48&org.eclipse.swt.events.mouseUp.button=3&org.eclipse.swt.events.mouseUp.time=10686510&org.eclipse.swt.events.mouseUp.x=250&org.eclipse.swt.events.mouseUp.y=196&requestCounter=143&uiRoot=w1&w1.focusControl=w48
I've uploaded a copy of a prototype with a TableViewer to the URL in the bug if you need something to test against.
Can you check the default FF settings in Fedora - it is in Content -> Enable JavaScript -> Advanced? There are some settings in FF to control whether scripts are allowed the open context menu and in which situations.
Hi, I checked those settings and both "Move or resize existing Windows" "Disable or replace context menues" are checked, and the others are not. I compared to a WinXp box running firefox 3.0.6 and those settings are the same, however the right click on the TableViewer works correctly there. Thanks, Tom
Hm, still no idea how to reproduce this. Tom, do you have any new insights on this one?
Please reopen if you have further information