Closed Bug 238923 Opened 21 years ago Closed 18 years ago

middle+right click shows image context menu (for autoscroll image)

Categories

(Firefox :: Menus, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: iravick, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Using any capable mouse to simultaneously middle- and right-click will bring up the image context menu. Firefox thinks the autoscroller PNG is a page element. The functionality *does* work -- you can save, view, or set the PNG as your wallpaper (which I think looks rather "artistc" when Windows stretches it). Also provided is an option to block images from "global," though it does not seem to do anything noticeable. Reproducible: Always Steps to Reproduce: 1. Simultaneously middle- and right-click. 2. Observe the resultant context menu. 3. Actual Results: The autoscroller appears, as does a context menu based on the autoscoller PNG. Expected Results: I'm not sure. Either show the autoscroller, show the context menu for the page, show both the autoscroller and the page context menu, or cancel the event altogether. I recommend option 3.
Confirmed Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040327 Firefox/0.8.0+ IMO the page context menu should be displayed only. The autoscroll image doesn't belongs to the page. Instead it's just an overlay.
Status: UNCONFIRMED → NEW
Ever confirmed: true
More precise steps to reproduce: 1. Right button down 2. Middle button down 3. Right button up 4. Middle button up Steps 3 and 4 can be interchanged and you'll still see the bug. This bug probably doesn't affect Linux, where context menus appear onmousedown instead of onmouseup. (IMO, context menus should appear onmousedown that on Windows too, but that's bug 89308.)
Summary: Incorrect context menu on middle+right click → middle+right click shows image context menu (for autoscroll image)
we really need to get the autoscroll image out of the page DOM...
Yeah. It causes all kinds of problems there: bug 215825, bug 238815, bug 228389, bug 215762.
Blocks: 212273
This affects Linux as well: 1. Click and release the middle button. The autoscroll marker appears. Don't move the pointer outside the autoscroll image. 2. Then click and release the right button. The context menu for the autoscroll image appears. Hey, "Block Images from global" doesn't work :)
OS: Windows XP → All
Fixing Bug 242621 would probably take care of this.
Depends on: 242621
Confirmed User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1 Further if a user manages to do "right mouse down, middle mouse down, right mouse up, move mouse down and to the left a bit, left mouse down then up", the browser will load the appropriate autoscroll image (e.g. chrome://global/content/bindings/autoscroll_v.png) into the current tab, as the user will have clicked "View Image". This is of course incredibly confusing, and although it can be remedied by clicking the back button, it would be best if this didn't happen. Incidentally it's a lot easier than it seems :) All the user has to do is fiddle with their mouse by pressing all the buttons at the same time and be a little bit unlucky about the order in which he does things.
Assignee: firefox → nobody
QA Contact: bugzilla → menus
*** Bug 326830 has been marked as a duplicate of this bug. ***
This should be fixed with my checkin for bug 242621.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.