• 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

    Cmd+W closes the window instead of the tab.

    Opera for Mac
    29
    62
    31207
    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.
    • leocg
      leocg Moderator Volunteer last edited by This post is deleted!
      Reply Quote 0
        1 Reply Last reply
      • A Former User
        A Former User last edited by

        For now, there is a temporary work aroun: After you've hit Command + W (and the window closes instead of the tab) do the following: Command + N (to open a new window) followed by Command + Shift + T (to re-open the last tab). This will actually open the last window you've closed including all tabs (granted it wasn't an incognito window).

        Reply Quote 0
          A Former User 1 Reply Last reply
        • shinobu
          shinobu last edited by

          Yes I tried that too. Hasn't happened once since I reinstalled Opera yesterday...

          Reply Quote 0
            1 Reply Last reply
          • A Former User
            A Former User @Guest last edited by

            For me the best workaround for this issue is:

            1. Open again opera
            2. Chooce "History" option from the top
            3. Choose option: reopen last closed window
            Reply Quote 0
              1 Reply Last reply
            • shintoplasm01
              shintoplasm01 last edited by

              This just happened to me too (and not for the first time either)...

              Opera Stable 57.0.3098.116
              macOS Mojave 10.14.2
              MacBook Pro+Touch Bar (mid-2016)

              Reply Quote 0
                shintoplasm01 1 Reply Last reply
              • shintoplasm01
                shintoplasm01 @shintoplasm01 last edited by

                @shintoplasm01

                Presumably this is now being fixed in the Developer version 59 (under DNA-73684). I've asked if this could at least be backported to the upcoming Stable 58...

                Reply Quote 0
                  avl 1 Reply Last reply
                • headspacedude
                  headspacedude @Guest last edited by

                  @hub It won't be fixed as cmd+w is a macOS system wide keyboard shortcut to close windows. Looking into it, it seems dumb that Opera would include this as a shortcut to close current tabs, when it is a system wide mac command.. All I can think of is that macOS is over riding it and that Opera should introduce a new shortcut to overcome this. See list of mac shortcuts here: https://support.apple.com/en-gb/HT201236

                  Reply Quote 0
                    shintoplasm01 1 Reply Last reply
                  • avl
                    avl Opera @shintoplasm01 last edited by

                    @shintoplasm01 said in Cmd+W closes the window instead of the tab.:

                    @shintoplasm01

                    Presumably this is now being fixed in the Developer version 59 (under DNA-73684). I've asked if this could at least be backported to the upcoming Stable 58...

                    It has been backported to O58 stable, let us know if you still see anything like this problem!

                    Reply Quote 0
                      1 Reply Last reply
                    • shintoplasm01
                      shintoplasm01 @headspacedude last edited by

                      @headspacedude All browsers, including FF, Safari and Chrome include Cmd+W as a shortcut to close tabs and none have displayed this bug. I'm glad that O58 looks likely to have fixed this, by the way, as confirmed elsewhere.

                      Reply Quote 0
                        headspacedude 1 Reply Last reply
                      • A Former User
                        A Former User last edited by

                        Still same problem wit O58, Very annoying. I'm seriously considering switching back to another browser, even if I liked Opera a lot,

                        Reply Quote 0
                          shintoplasm01 1 Reply Last reply
                        • shintoplasm01
                          shintoplasm01 @Guest last edited by

                          @sinouhe I concur. I just had this happen to me again... Opera devs, this bug is seriously dragging on for quite a few versions now... 😞

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

                            To fix the issue you need to close the start tab (Speed dial). After that it works normally

                            Also, it makes sense to enable window closing confirmation.

                            Hopefully that helps.

                            Reply Quote 1
                              1 Reply Last reply
                            • avl
                              avl Opera last edited by

                              Everyone, my most sincere apologies, I read some information wrong: the fix for the remaining issue that occurs after opening a new window was not backported to O58 in time for the initial release, so it'll only be in the next O58 update to come along. This will be released at the start of next week.

                              Reply Quote 1
                                1 Reply Last reply
                              • headspacedude
                                headspacedude @shintoplasm01 last edited by

                                @shintoplasm01 Yes, because as I said, this is a macOS system shortcut, not one exclusive to Opera. Opera need to provide a new shortcut on macOS to close tabs. Or you could redefine it, which I know is not ideal (see the link): https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=2ahUKEwjd-62Eg5PgAhWcUxUIHfmnAAwQFjACegQIBxAM&url=http%3A%2F%2Fosxdaily.com%2F2017%2F08%2F08%2Fcreate-custom-keyboard-shortcut-mac%2F&usg=AOvVaw019KKJXU-aAg6ebNq05HWb

                                Reply Quote 0
                                  shintoplasm01 1 Reply Last reply
                                • shintoplasm01
                                  shintoplasm01 @headspacedude last edited by

                                  @headspacedude So please could you explain to me why the Cmd+W shortcut works perfectly for closing tabs and not windows in Chrome and Firefox? It's not an incompatibility with system-wide macOS shortcuts, it's an Opera bug which is still waiting for a fix.

                                  Reply Quote 0
                                    avl 1 Reply Last reply
                                  • avl
                                    avl Opera @shintoplasm01 last edited by

                                    @shintoplasm01 said in Cmd+W closes the window instead of the tab.:

                                    @headspacedude So please could you explain to me why the Cmd+W shortcut works perfectly for closing tabs and not windows in Chrome and Firefox? It's not an incompatibility with system-wide macOS shortcuts, it's an Opera bug which is still waiting for a fix.

                                    Yes, just to be clear, this is an Opera bug :). It appeared when updating to macOS 10.14 because Apple changed the behavior of how often menus and shortcuts get refreshed.

                                    Reply Quote 0
                                      sergeyivan 1 Reply Last reply
                                    • mister-k
                                      mister-k last edited by

                                      This may be an Opera bug but it is definitely not confined to macOS.

                                      I've been using Opera on macOS Sierra (10.12.6) and two Windows 10 machines and keep getting the same annoying behaviour.

                                      All was good until November 2018.

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

                                        Still happening and reproducible on my MacBook Pro as of Stable 58.0.3135.53

                                        Reply Quote 0
                                          1 Reply Last reply
                                        • A Former User
                                          A Former User last edited by

                                          Tested on multiple Macs and still happening with latest version.
                                          This is very annoying, as Chrome, FF and Safari don't have such a bug.

                                          Reply Quote 0
                                            1 Reply Last reply
                                          • A Former User
                                            A Former User last edited by

                                            Hi,

                                            Has anyone tried creating a keyboard shortcut under App Shortcuts to override the Close tab shortcut? It may sound weird, but it is worth trying as a user-side patch if it does work.

                                            I'm currently using this now but I cannot recall the last time it has closed the window so I want to see if this idea can work for others too.

                                            Screenshot

                                            Reply Quote 1
                                              shintoplasm01 A Former User 2 Replies 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-