[Opera 21] suddenly overriding web site keyboard shortcuts
-
rainforest1155 last edited by
With the update to version 21, shortcuts on web sites are no longer working if they coincide with Opera keyboard shortcuts.
For example, in the desk.com agent screen I use for work, there's a shortcut to update a case using CTRL+U and one to resolve a case with CTRL+R. Prior to the latest update, those worked fine, but now they open the page source / refresh the page respectively.
Is there any way this can be returned to the previous behavior on where web site shortcuts are the first priority and only if the site doesn't use the shortcut, would it be passed on to Opera.
Thanks,
SebastianPS: I'm aware of the option to manually edit the preference file to change the Opera shortcut, however I generally like having CTRL+R to refresh a page as that's the default shortcut for all browsers.
-
tjamroszczak last edited by
@rainforest1155: can you provide an example webpage for testing this with other installs?
-
rainforest1155 last edited by admin
@tjamroszczak: You can test this here:
http://www.openjs.com/scripts/events/keyboard_shortcuts/
Scroll down to "live evaluation" and set up CTRL+U or CTRL+R in the code. You should see that the shortcut takes no effect and instead Opera's default action is executed.Interestingly, if I change the default Opera shortcuts to Ctrl+Shift+U and Ctrl+Shift+R respectively and test it again using these shortcuts, the javascript alert box is executed fine. So it appears Opera only enforces its built-in shortcuts as long as they're not user defined in the preferences.
EDIT: In fact, this just gave me the idea for a perfect workaround - I've now manually added the default shortcuts to the preferences file:
"Reload": [ "Ctrl+R" ],
"ViewSource": [ "Ctrl+U" ]
and now Opera no longer seems to interfere with the above test page or the desk.com site.Still, would be nice to get this resolved. Perhaps the folks in this thread:
https://forums.opera.com/topic/2564/opera-21-annoying-new-behavior-with-ctrl-backspace/12
are seeing the same issue just with a different shortcut? -
tjamroszczak last edited by
http://www.openjs.com/scripts/events/keyboard_shortcuts/ Scroll down to "live evaluation" and set up CTRL+U or CTRL+R in the code. You should see that the shortcut takes no effect and instead Opera's default action is executed.
No, I couldn't reproduce it with Opera Stable version 21.0.1432.67.
Have you modified shortcuts in your Preferences file?
Or just try the example as is. Ctrl-Shift-X is Exit
Some of the shortcuts are "non-overridable" by web pages. These are the "important" shortcuts:
"AddBlankTab", "CloseActiveTab", "CloseWindow", "CycleBackwardInActivationList", "CycleForwardInActivationList", "Exit", "FindNext", "FindPrevious", "OpenPrivateWindow", "OpenWindow", "PasteAndGo", "ReopenLastClosedTab", "SelectPreviouslyActiveTab", "SwitchToRightTab", "SwitchToLeftTab", "ToggleFullscreen"
-
rainforest1155 last edited by
@rainforest1155
No, I couldn't reproduce it with Opera Stable version 21.0.1432.67.
Have you modified shortcuts in your Preferences file?
@tjamroszczak
Ah, I was still on 21.0.1432.57 and updating to 67 seems to have fixed the issue. Thanks for your quick assistance!