FireTitle icon indicating copy to clipboard operation
FireTitle copied to clipboard

No renaming when Firefox is restarted with a local HTML file as the active tab

Open jpfleury opened this issue 6 years ago • 1 comments

Steps to reproduce the bug:

  1. Rename the window with the motif n.
  2. Open a local HTML file (file:///home/...).
  3. Restart Firefox.

Actual result: when the Firefox window reopens with the local HTML file as the active tab, the window is not renamed by Crappy Firetitle. The workaround is to refresh the tab, then the renaming is working.

Expected result: to have the window renamed right after Firefox restarted without manual refresh.

More info: About my workflow: I have several Firefox windows, each containing tens of tabs, including several local HTML files. Say I have 10 windows, so 10 "active" tabs (one per window). Say there are 6 active tabs that are local HTML files. It means that if I close Firefox, the next time I open it, there will be only 4 windows that are successfully renamed, and I'll have to manually refresh the other 6 local active tabs to have all my Firefox windows renamed.

My config: Crappy Firetitle 0.1.12 on Firefox 69.0 and Xubuntu 19.04.

jpfleury avatar Sep 18 '19 17:09 jpfleury

Probably is the same issue as with PDF files, I think there are WebExtension API restrictions on accessing local files.

Maybe the extension might take care of anyway solving the problem when switching to a new tab, if it's still possible to retain the title.

Pictor13 avatar May 09 '23 19:05 Pictor13