@dwing said in Last active tab not remembered when switching workspaces:

if you have multiple Workspaces (i have abt 200 Tabs total at 6 Workspaces) and you start or restarting Opera, then after switching from the main workspace to any other workspace, you are thrown each time to a different randomly selected Tab instead of starting from last left active Tab.

I can't confirm this myself. The last active tab is always remembered in each workspace. (Before closing Opera, I switch to the main workspace so that its selected when starting Opera. Then, I switch to any other workspace (I tested with 6) and the last active tab in each is remembered.

Can you confirm this in a standalone installation? (Do not import anything into it, do not enable Opera Sync, and do not install any extensions in it. Create the workspaces and open up some tabs in each.)

If things work fine there, maybe it's one of your extensions triggering the bug. Or, your session files are corrupted. You could disable all your extensions as a test to see if that makes any difference.

For your session files, you could delete them. Goto the URL opera://about, take note of the "profile" path, and close Opera. Then, in the "sessions" folder in the profile folder, delete all the files. Of course, if you want to retain your opened tabs, in each workspace, right-click on an open tab or the tab bar and choose "save all as a speed dial folder". Then, rename the folder to say "Workspace 1" and so on. Then, after you're done and yo close Opera and delete the session files and reopen Opera, you can right click on the folder for each workspace and choose "open all in tabs" while in that workspace. That'll restore yo open tabs. And, of course, you can always backup your sessions folder just in case you want to restore it. You can also delete those speed dial folders after you're done if you want.

If you've been upgrading for a while and using the same Opera profile for a long time, it's possible that there's a bug or bad entry in your Preferences file that snuck in while Workspaces were being developed and improved. If this is the case, it'll be less likely that someone else would be able to reproduce your problem. For example, if you file a bug, Opera might need your whole profile folder or at least your session files and Preferences file to reproduce.

The bug might also require a certain number of tabs before it shows its face. I didn't test with 200+ tabs or anything.