Project

General

Profile

Actions

Defect #1655

closed

Right Click Does not work in Opera

Added by Anke Maklo almost 16 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
2008-07-16
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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.

Actions #1

Updated by Michael Pirogov almost 16 years ago

Is your Opera java powered? What java, browser version, OS, etc you use?

Actions #2

Updated by Anke Maklo almost 16 years ago

Yes it has java. I've used the newest java version avaible right now. Firefox and IE also work fine.

Actions #3

Updated by Michael Pirogov almost 16 years ago

Dunno, I've Opera 9.51, build 2061, w/o JRE, x86_64.

Alt+LeftButton gives me a menu

Actions #4

Updated by Anke Maklo almost 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

Actions #5

Updated by Jean-Philippe Lang almost 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).

Actions #6

Updated by Derek Montgomery almost 16 years ago

Also make sure you click AWAY from the link, not ON it... I had forgotten about that myself :P

Actions #7

Updated by Anke Maklo almost 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.

Actions #8

Updated by Philipp Führer over 15 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; }

Actions #9

Updated by Anke Maklo over 15 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.

Actions #10

Updated by Jean-Philippe Lang over 15 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Fixed

Fix applied in r1762. Thanks.

Actions

Also available in: Atom PDF