Links from third-party apps open in a new window instead of a tab
-
chaospaladin123 last edited by
If I'm close all opened tabs in Opera 86+ (latest confirmed affected 86.0.4363.32) to state "Start page" and trying open some link from 3rd party app like Telegram chats, Opera open webpage in new window, not tab. If Opera have already opened some tabs with pages - link open in new tab
BS-30763
-
burnout426 Volunteer last edited by
Does it also happen when you do:
"C:\Program Files\Opera\launcher.exe" "https://www.example.com/"
(adjust path to your launcher.exe)
in a command prompt?
What about:
start "test" "https://www.example.com/"
when Opera is set as the default browser for the https protocol?
I tried those 2 ways and "search on internet" for highlighted text in Notepad++ with Opera as the default browser with just the start page open, and all open in a new tab in the existing window. No new window is triggered.
-
chaospaladin123 last edited by
@burnout426 yes, happened for both provided ways.
Opera its default browser in PCIts happen when I'm close all tabs to state "Speed dial" tab and then trying open some link from 3rd party app like Telegram (also tested in Notepad++ link)
Probably its can start happen when added option in "On startup - Ask me when Opera is started by a shortcut specifying an URL"
-
burnout426 Volunteer last edited by
@chaospaladin123 Does it happen with all extensions disabled too?
Another thing you can try: Goto the URL
opera://about
and take note of the "profile" and "cache" paths. Then, close Opera. In Windows Explorer (File Explorer), rename those "Opera Stable" folders to "Opera Stable old". Then, start Opera. Opera will start with a fresh profile. Test things out that way without importing anything in Opera and without enabling Opera Sync.Are you able to reproduce the problem with that new profile too?
When done testing, close Opera, delete those new "Opera Stable" folders and rename the "Opera Stable old" folders back to "Opera Stable" to restore Opera back to how you had it.
I can't reproduce the problem myself. I even tried all kinds of scenarios with the "Ask me when Opera is started by a shortcut specifying an URL" option.
-
chaospaladin123 last edited by
@burnout426 on "clean profile" its not happen. huh. On old with all extensions disabled its still happen.
-
burnout426 Volunteer last edited by
@chaospaladin123 Okay. I have an idea on how to fix your regular profile that I will post in a bit.
-
chaospaladin123 last edited by
@burnout426 thanks.
I'm also trying "Restore" with just reset only settings, but keep data, from "opera://update/" and its not resolve issue.
-
burnout426 Volunteer last edited by
Make a copy of your "Opera Stable" folders ("Opera Stable Backup" for example) while Opera is closed. Then, in the active "Opera Stable" profile folder, delete all files in the "sessions" folder to see if that fixes it. When done testing, you can copy over the session files from the backup.
-
burnout426 Volunteer last edited by
Another thing you can try:
In the "Opera Stable" profile folder, while Opera is closed, edit the "Preferences" file with JSONedit in tree mode. Under root/profile/content_settings/exceptions, look for
apps_navigation
, right-click it, choose "delete selected node", and save your changes. I'm doubting this will help since a resetting of Opera's settings from the UI didn't help. But, you can try anyway.If that or deleting the files in the sessions folder doesn't help, you can test one other thing. Just make backup copies of your "Opera Stable" folders first. While Opera is closed, delete the "Secure Preferences" file in the "Opera Stable" profile folder and start Opera just to test if that fixes things. Once you're done testing, close Opera, delete those "Opera Stable" folders and restore your backups. Deleting the Secure Preferences file can mess things up with other files where you might lose things, so this is just a test, and not a solution. It's just a test to see if the root/ui/shortcut_startup_url_filter node in Secure Preferences is messed up and causing issues. Again, make sure you make backups of your "Opera Stable" folders first before testing this so that you can restore after testing.
If you still don't know what file is causing the issue, you can use the backup/restore of the "Opera Stable" folders to test deleting other files in the profile folder just to find out which one is the culprit if you really want to know.
The other option is to export your bookmarks and passwords, start with a new profile, and import your bookmarks and passwords into the new profile (requiring starting from scratch with the rest of your data).
(Not saying that Opera doesn't have a bug here somewhere. Just saying that if things are fine in a new profile, you can try to get rid of what triggers it.)
-
chaospaladin123 last edited by
@burnout426 I'm just reinstall fully Opera for tests. Installed version 86.0.4363.32.
Nothing settings changed.
First initial launch looks ok (but guess there still way to reproduce that)
Then after restart Opera and start testing this issue. It's happen always when all tabs closed to state "Speed dial" -
burnout426 Volunteer last edited by burnout426
@chaospaladin123 Video helped. I can reproduce it now.
Here are my detailed steps:
- First, goto the URL
opera://settings/onStartup
, make sure "Retain tabs from previous session" is selected ("display start page first" can be on or off) and turn off "Ask me when Opera is started by a shortcut specifying an URL", close all tabs except the start page, and restart Opera. (The "ask me" setting doesn't need to be enabled to trigger the issue and the dialog just gets in the way of testing.)
Opera should now be open with just a single start page tab.
-
With Opera set as the default browser for the https protocol, run the following in the command prompt:
start "test" "https://example.com/"
-
After https://example.com/ loads in a new tab in Opera, click the X on the start page tab (while unfocused or focused, doesn't matter) to close it.
-
Then, click the X on the only remaining tab (the https://example.com/ tab) to close it and open a new start page tab in one shot.
-
Run
start "test" "https://example.com/"
again.
Result: This time, Opera opens a new window and opens https://example.com/ in that new window instead of just opening https://example.com/ in a tab in the existing window like before.
(Instead of testing things in a command prompt, you can select some text in Notepad++, right-click the selection and choose "search on internet".)
Disabling the flag at the URL
opera://flags/#new-session-manager
and restarting Opera seems to avoid the problem, unless I just got lucky.I can reproduce in Opera Developer too.
- First, goto the URL
-
chaospaladin123 last edited by
@burnout426 said in Links from third-party apps open in a new window instead of a tab:
Disabling the flag at the URL opera://flags/#new-session-manager and restarting Opera seems to avoid the problem, unless I just got lucky.
Can confirm, this works and resolve issue for me too.
-
-