Is there a way to set a keyboard shortcut to bring up the last window closed?

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

12. August 2012, 11:19:27

triplemaya

Posts: 33

Is there a way to set a keyboard shortcut to bring up the last window closed?

Is there a way to set a keyboard shortcut like ctrl shift n to bring up the last window closed as on firefox?

Yes, I know there is a list of closed windows. And to get to it I have to mouse and click and I have blossoming RSI and I want to use the mouse as little as possible. (I spurn apple macs on this basis!)

I use firefox as my main browser because of addons like hacktheweb which is indispensable. I use chrome as my second browser, but I prefer opera these days, now that so many of the standard keyboard shortcuts have been adopted. But chrome has ctrl shift t which works - it does last closed window instead of tab in time sequence. In order to go over to opera I need some kind of simple keyboard shortcut which opens the last window closed.

12. August 2012, 11:54:00

Pesala

Reclining Buddha

Posts: 25608

The default shortcut for New Tab in Opera is Ctrl T, and to reopen it the shortcut is Ctrl Shift T.

Shortcuts can be modified as you like in Preferences, Advanced, Shortcuts, keyboard setup.

The command you are looking for is "Reopen Window."
SkinsTipsButtonsBackupSecurityUser ScriptsLanguage ForumsWiki
Browser JSChangelogsOpera NextDragonflyBugsCrashesFTP
My WebsiteMy ForumsOpera ReviewMy FontsIrfanViewSearchDownloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

12. August 2012, 15:50:46 (edited)

triplemaya

Posts: 33

Thanks, but that does not quite get me there because I cannot find the command Reopen Window anywhere in Preferences, Advanced, Shortcuts, keyboard setup.

I found
advanced > shortcuts > keyboard setup > Browser Window > Reopen Page
but that is set to t ctrl shift, and it just reopens the last tab closed in that window as one would expect.

I looked all through
advanced > shortcuts > keyboard setup > Browser Window
advanced > shortcuts > keyboard setup > Application
advanced > shortcuts > keyboard setup > Document Window
and
advanced > shortcuts > keyboard setup > advanced
but I can't find Reopen Window.

I'm using 12.01 under linux; could this be a glitch?


I also found this googling about:
Ctrl+Z is the standard command to undo the last action. That is what it does in Opera.
This sounds idea but this does not work.
but this does not work either.

Bizarrely I opened this search
http://www.opera.com/helpsearch/index.dml?words=reopen%20window
and typed in reopen window and got the response:

No results matches on search for “reopen window”. Please try refining your keywords.

 Did you mean: reopen window


I click on the suggested phrase, but being identically the same as my original search query I get the same search result.

!!??

Reopen window seems to be in an information black hole. We think it must be there but it does not show up!

Further to that I found this post:

Thanks for the pointer -- AllActionsListPlus does list "reopen window" (the others don't), but it doesn't provide any more documentation. So I still have no idea why it's not working.


But when I searched AllActionsListPlus I found no Reopen Window command, but then that was for opera 9 and I can't find one for opera 12 by googling.

Still hugely confused because in that list it states

Reopen page — The webpage window which has just been shut, will immediately reopen.


So in that version reopen page meant reopen window, but now it seems it means reopen tab.

Lost!

12. August 2012, 16:37:50 (edited)

Pesala

Reclining Buddha

Posts: 25608

Just start typing the command in the keyboard setup actions field for T Ctrl Shift or whatever shortcut you want to use for that command, or add a new shortcut such as W Ctrl Shift



Edit: Unfortunately, the command doesn't work — maybe the syntax is wrong. "reopen window, 1" also doesn't work.

Reopen page = reopen tab. The tab bar is actually called the pagebar. The shortcut for New Page used to be Ctrl N, but was later changed to Ctrl T to suit ex-Firefox users. Type "page" in the actions field, and you will find a whole lot of commands for opening pages. Type "tab" and you will find only a few for tab groups.
SkinsTipsButtonsBackupSecurityUser ScriptsLanguage ForumsWiki
Browser JSChangelogsOpera NextDragonflyBugsCrashesFTP
My WebsiteMy ForumsOpera ReviewMy FontsIrfanViewSearchDownloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

12. August 2012, 16:48:46

triplemaya

Posts: 33

Thanks, but I still don't have what I'm looking for.

I type in page and everything seems to refer to tabs, as I would expect from what you say.

I type in window and I get nothing that refers to reopening a window.

I tried following your example and give n ctrl shift to Reopen window but it is still just private browsing.

Is reopen window broken then?

12. August 2012, 17:16:57 (edited)

Pesala

Reclining Buddha

Posts: 25608

Originally posted by triplemaya:

I type in window and I get nothing that refers to reopening a window.I tried following your example and give n ctrl shift to Reopen window but it is still just private browsing.Is reopen window broken then?

There's a lot of commands, you have to scroll down to find "Reopen Window"

If n ctrl shift is still opening a private browsing tab, then I guess you didn't select your edited keyboard setup.

The command may be broken, it may be deprecated, or we may be using the wrong syntax.

Reopen window is listed in the AllActions command list for Opera 10.5, which is not too far out-of-date.

Try creating a command instead for:

w ctrl shift = Show popup menu, "internal closed window list"

That does work (as long as you have closed at least one window).
SkinsTipsButtonsBackupSecurityUser ScriptsLanguage ForumsWiki
Browser JSChangelogsOpera NextDragonflyBugsCrashesFTP
My WebsiteMy ForumsOpera ReviewMy FontsIrfanViewSearchDownloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

12. August 2012, 19:39:45

triplemaya

Posts: 33

Thanks, that works beautifully.

I have gone through every last option in the settings and there really is no reopen window. I have gone through every variation. Which subsection is it listed in on your system? And on which keyboard setup do you find it? Opera -- standard -- 9.2 compatible -- Standard for UNIX.

If I can find it and it doesn't work I'll raise as a bug. If it isn't there then it is a request to restore a feature.

12. August 2012, 20:28:07

Pesala

Reclining Buddha

Posts: 25608

Originally posted by triplemaya:

Which subsection is it listed in on your system? And on which keyboard setup do you find it? Opera -- standard -- 9.2 compatible -- Standard for UNIX.


There is no shortcut assigned to it — it just appears in the list of available commands in the Action drop down and in the AllCommands list.
SkinsTipsButtonsBackupSecurityUser ScriptsLanguage ForumsWiki
Browser JSChangelogsOpera NextDragonflyBugsCrashesFTP
My WebsiteMy ForumsOpera ReviewMy FontsIrfanViewSearchDownloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

13. August 2012, 00:49:10

mochikun

Posts: 807

Originally posted by triplemaya:

I'll raise as a bug.

I reported already (DSK-370380). Some commands don't work anymore in 12.01 as single commands (see here ).
This works for me:
Delay,1 & Reopen window

Opera 11.64, Puppy Linux 5.28

13. August 2012, 09:20:21

triplemaya

Posts: 33

Thanks for the info mochikun. Sadly this does not work for me - copied the command and pasted it into the box but still no go. And you're on linux. Hmm. I'm on Debian with Opera 12. I guess I can just get hold of opera 11 and it should work.

13. August 2012, 09:21:25

triplemaya

Posts: 33

Thanks Pesala. Now I get it -- finally!

13. August 2012, 14:39:41

mochikun

Posts: 807

Originally posted by triplemaya:

copied the command and pasted it into the box but still no go.

Try first if any other command works (e.g. New page) to make sure that it's really the command that causes the trouble and not your key assignment. If New page works, try if increasing the delay helps:Delay,100 & Reopen window
Opera 11.64, Puppy Linux 5.28

14. August 2012, 03:51:48

rif

Posts: 561

Originally posted by triplemaya:

Is there a way to set a keyboard shortcut like ctrl shift n to bring up the last window closed as on firefox?


If you are talking about reopening the last tab closed, the below works in my Opera 12.01 on Win 7

14. August 2012, 12:55:05

triplemaya

Posts: 33

Hi rif. Thanks for the picture, but no. See above!

14. August 2012, 12:56:54

triplemaya

Posts: 33

Thanks mochikun. New page works ok. But even with increased delay to 100 no joy with reopen window. sad

14. August 2012, 13:03:28

Pesala

Reclining Buddha

Posts: 25608

Originally posted by triplemaya:

no joy with reopen window


Have you actually closed any Windows? The shortcut works for me with a delay of 1, but not without it.
SkinsTipsButtonsBackupSecurityUser ScriptsLanguage ForumsWiki
Browser JSChangelogsOpera NextDragonflyBugsCrashesFTP
My WebsiteMy ForumsOpera ReviewMy FontsIrfanViewSearchDownloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

14. August 2012, 20:33:05

triplemaya

Posts: 33

Open a window. Do a random google. Ctrl click a link so now there's two tabs. Close. Ctrl shift n gets me a new blank window.

I just forgot and closed a window without meaning to. Then I had to go picking through all my list of recent windows to find what tabs I had open from various times today. I stack them up in the order I'm going to go through them later. It's a real bummer when you are used to having a feature!! Might have to go back to firefox and chrome for the time being. But I really do like opera these days so I'd very much like to get this sorted.

15. August 2012, 02:25:04 (edited)

mochikun

Posts: 807

Originally posted by triplemaya:

Ctrl shift n gets me a new blank window.

Ctrl shift n gets you a new blank private window. If you created your accidentally closed window the same way, then that's the cause of your problems since private windows leave no traces of your browsing history when closed. They don't end up in the trash can and can't be retrieved with reopen window. Use Ctrl n when creating new windows or just be careful when closing a private window or tab.

[Edit]
I just reread your first and last post. You said that you can see the closed windows in the Closed Tabs list and that you just need a shortcut to retrieve them easier. If this is the case then private windows can't be the problem and Delay,1 & Reopen window should work. I also fail to understand the problem you describe in your last post: "I had to go picking through all my list of recent windows". The last closed window is the last in the list. Shouldn't take too long to pick it up.
Opera 11.64, Puppy Linux 5.28

15. August 2012, 11:29:12

triplemaya

Posts: 33

Hi. I agree with you that " Delay,1 & Reopen window should work.". If it works for others running opera 12 under linux it ought to work for me. It doesn't! I would very much like to get to the bottom of why. (though I see you are using opera 11 - perhaps that is a better bet for now)

Hmm, it doesn't work under window 7 either. I just set it up on the windows box, and in the pull down menu of closed windows the keyboard shortcut is clearly stated ctrl+shift+n but it does not actually work!!? I'm calling that a significant bug.

With regard to "I had to go picking through all my list of recent windows" you have helped me greatly here. I forgot about the closed windows list completely and had to go picking through the browsing history to reconstruct it. If it happens again I shall recall there is a much easier option! Thanks for saving me from my own idiocy!

15. August 2012, 13:22:11

mochikun

Posts: 807

Originally posted by triplemaya:

I see you are using opera 11 - perhaps that is a better bet for now


For me it is. 12.xx freezes too often for my liking.
Regardless of Opera version I experience shortcuts that should work, but don't . But this is because the key combination is "taken" by another application or the OS. Such a key combination wouldn't work with any Opera command. What is strange is that in your case a given key combination executes new page , but not reopen window. Could be some kind of Linux conflict. If you are still interested to solve the case I recommend to post in the Linux forum. Users there are more experienced with Linux quirks and may be able to confirm your problem.

I forgot about the closed windows list completely .... Thanks for saving me from my own idiocy!

It's not your idiocy, it's the uncomprehensible idiocy of Opera ASA to replace the trashcan icon they used for ages and which symbolizes a *recycle* bin with a tiny triangle that sympolizes nothing and is easy to overlook.
Opera 11.64, Puppy Linux 5.28

Forums » Opera for Windows/Mac/Linux » Opera browser