Drive4ik / simple-tab-groups

Create, modify and quick change tab groups. Inspired by the Tab Groups app :)
https://addons.mozilla.org/firefox/addon/simple-tab-groups/
Mozilla Public License 2.0
1.2k stars 96 forks source link

'Unsupported URL' error when reopening tabs pointing to local links #1063

Open ultrapoci opened 1 year ago

ultrapoci commented 1 year ago

Describe the bug I have a few tabs opened on local links pointing to PDFs saved on my hard disk. Whenever I open the browser and my tabs load (because they were already open in a previous session), I get an Unsupported URL error. Note that copying and pasting the URL opens the PDF correctly. The bug happens also when using links pointing to local folders.

To Reproduce Steps to reproduce the behavior:

  1. Open PDFs in Firefox with STG extension
  2. Close the browser
  3. Restart PC
  4. Open browser
  5. Bug

Note that closing and reopening the browser does not seem to reproduce the bug. I get the bug only when opening Firefox after turning on the PC.

Expected behavior The tab pointing to local files and folders should open normally, without causing an Unsupported URL error.

Screenshots immagine

Desktop (please complete the following information):

mikkishull commented 1 year ago

I have just gotten the same issue on my Windows 11 PC. How can this be avoided/fixed in the future?

I think the same situation... opening a Simple Groups tab for PDFdocs

DUN-Cosmos commented 1 year ago

FireFox View (about:firefoxview) is also impacted. Even it's not "open" at the moment when I close FireFox.

vitusson commented 1 year ago

Not reproducible here on Linux. All about: pages and local pages open normal after restarts

OgalFinklestein commented 1 year ago

Can confirm: Reproducible in Windows (regardless of restarting the PC), but not in Linux. (Although the extension crashes quite frequently under Linux for me; after leaving FF open for hours; havent bothered to look into the matter really.)

patrick96 commented 11 months ago

I can reproduce this on Linux, not on restarts, but when opening a tab group:

I am running Ubuntu 23.10, Firefox 120.0 and STG 5.2


Just for cross-linking, the Firefox View issue was also reported in #1080

amadeogarcia commented 11 months ago

I can reproduce this bug following the exact steps that @patrick96 presented. I had 2 windows of Firefox running, one with PDF files opened. I closed that one, and then from the other window switched tab groups to the one I had just closed just, then the Unsupported URL screen was prompted.

I am running Windows 10 Pro 22H2, Firefox 120.0.1 64-bit and STG 5.2

myfonj commented 2 months ago

Another "unsupported" URL protocol seems to be data:.

Having as simple document as

data:text/plain;charset=utf-8,%E2%98%B9%EF%B8%8F

also gives the Unsupported URL page after restore ☹️