Defect #1655
closedRight Click Does not work in Opera
0%
Description
The right click feature on the page Issues does not work in Opera. No matter if alt+click, ctrl + click. no mouse-keyboard combination seems to activate the right click feature of redmine.
Updated by Michael Pirogov over 16 years ago
Is your Opera java powered? What java, browser version, OS, etc you use?
Updated by Anke Maklo over 16 years ago
Yes it has java. I've used the newest java version avaible right now. Firefox and IE also work fine.
Updated by Michael Pirogov over 16 years ago
Dunno, I've Opera 9.51, build 2061, w/o JRE, x86_64.
Alt+LeftButton gives me a menu
Updated by Anke Maklo over 16 years ago
I tried it with Version
9.51
Build
10081
Platform
Win32
OS
Windows XP
Java
Sun Java Runtime Environment version 1.6
XHTML+Language
Plugin not installed
didnt work
Updated by Jean-Philippe Lang over 16 years ago
Did a test with a fresh opera 9.51.10081 on win32. Works fine.
Make sure you use ALT + LEFT click (right click behaviour can not be changed with opera).
Updated by Derek Montgomery over 16 years ago
Also make sure you click AWAY from the link, not ON it... I had forgotten about that myself :P
Updated by Anke Maklo over 16 years ago
I think the problem might have been caused with FastCGI. I'm running Redmine with FCGI and the menus simply won't popup with alt + left click while on redmine.org it works.
Updated by Philipp Führer over 16 years ago
Anke Maklo wrote:
I think the problem might have been caused with FastCGI. I'm running Redmine with FCGI and the menus simply won't popup with alt + left click while on redmine.org it works.
I have the same problem. A right click on redmine.org works, but not with Firefox or Opera at my site.
so i've changed in context_menu.js:
if (Event.findElement(e, 'a') != document) { return; }
to:
if (Event.findElement(e, 'a') != undefined) { return; }
after this it's working.. in opera and firefox.
btw, you could also use: if (Event.element(e).tagName == 'A') { return; }
Updated by Anke Maklo over 16 years ago
- Status changed from New to Resolved
Philipp flip Führer wrote:
btw, you could also use:
if (Event.element(e).tagName == 'A') { return; }
Wonderful! It works! Maybe this should be included in redmine as patch.
Updated by Jean-Philippe Lang about 16 years ago
- Status changed from Resolved to Closed
- Resolution set to Fixed
Fix applied in r1762. Thanks.