• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    [Opera 21] suddenly overriding web site keyboard shortcuts

    Opera for Windows
    3
    6
    2221
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rainforest1155
      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,
      Sebastian

      PS: 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.

      Reply Quote 0
        1 Reply Last reply
      • tjamroszczak
        tjamroszczak last edited by

        @rainforest1155: can you provide an example webpage for testing this with other installs?

        Reply Quote 0
          1 Reply Last reply
        • rainforest1155
          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?

          Reply Quote 0
            1 Reply Last reply
          • sgunhouse
            sgunhouse Moderator Volunteer last edited by

            Or just try the example as is. Ctrl-Shift-X is Exit, the browser will close. Not that I still have a copy of 20 to compare it with.

            Reply Quote 0
              1 Reply Last reply
            • tjamroszczak
              tjamroszczak last edited by

              @rainforest1155

              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?


              @sgunhouse

              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"
              
              Reply Quote 0
                1 Reply Last reply
              • rainforest1155
                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!

                Reply Quote 0
                  1 Reply Last reply
                • First post
                  Last post

                Computer browsers

                • Opera for Windows
                • Opera for Mac
                • Opera for Linux
                • Opera beta version
                • Opera USB

                Mobile browsers

                • Opera for Android
                • Opera Mini
                • Opera Touch
                • Opera for basic phones

                • Add-ons
                • Opera account
                • Wallpapers
                • Opera Ads

                • Help & support
                • Opera blogs
                • Opera forums
                • Dev.Opera

                • Security
                • Privacy
                • Cookies Policy
                • EULA
                • Terms of Service

                • About Opera
                • Press info
                • Jobs
                • Investors
                • Become a partner
                • Contact us

                Follow Opera

                • Opera - Facebook
                • Opera - Twitter
                • Opera - YouTube
                • Opera - LinkedIn
                • Opera - Instagram

                © Opera Software 1995-2025