Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2813 closed Bug (invalid)

Firefox 3.6 context menu shown over torrent context menu

Reported by: thuerrsch Owned by: kjg
Priority: Normal Milestone: None Set
Component: Web Client Version: 1.76+
Severity: Normal Keywords:
Cc:

Description

When I right-click a torrent in Firefox 3.6 (Linux), the browser's own context menu is displayed over the torrent's context menu, partially or sometimes completely obscuring it. To access the torrent's context menu, I have to press escape or click somewhere outside both layers of context menus. This has been happening since I upgraded to Firefox 3.6 with Transmission 1.76 up to the current 1.82.

Firefox version: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2) Gecko/20100117 Ubuntu/9.10 (karmic) Firefox/3.6 - Build ID: 20100117060338

Change History (2)

comment:1 Changed 12 years ago by kjg

  • Resolution set to invalid
  • Status changed from new to closed

Thanks for the report.

I've done some investigating and it appears that Firefox has changed their security policies and in 3.6 they no longer allow javascript to block the system context menu by default.

You can re-enable this by going into the firefox settings. Click on the "Content" section. Click the "Advanced..." button next to "Enable JavaScript?". Now check the box next to "Disable or replace context menus" and click ok.

Hope this helps.

comment:2 Changed 12 years ago by thuerrsch

Thank you very much for taking the time to investigate this. You're right, allowing JavaScript? to replace context menus resolves this issue for the Transmission Web Client. However it also means that any web site out there can play all kinds of tricks with my context menus for pages, frames, images, links and whatnot. There are plenty of good reasons not to allow this. Too bad Firefox doesn't have site-specific settings for JavaScript? (the NoScript? add-on seems to have something like that, perhaps I should try it.)

My suggestion for the Transmission Web Client would be to offer an alternative way of accessing the torrent context menu. I'm thinking of an unobtrusive little button, for example with a downward-pointing triangle on it, similar in style and position to the pause/resume button. Clicking on this button would bring up the same options as the context menu, but in a more dropdown-like manner. It could also serve as a reminder that this menu exists all, for people who find right-clicking in a web GUI a little unusual (myself included). Think about it.

Note: See TracTickets for help on using tickets.