Skip to content

gui: Favicon not working in Firefox bookmarks #9506

Closed

Description

@medusalix

What happened?

Firefox doesn't show any favicon at all when adding a bookmark to the Syncthing GUI, even with the static favicon introduced by #8850. It looks like Firefox prefers the last favicon that is found in <head> which is the link to favicon-{{syncthingStatus()}}.png. Because that file is not available on initial page load, it is not considered for bookmarks. The favicon logic for Firefox can be found here.
Switching the order of the favicon links in <head> fixes the behavior for Firefox while breaking the dynamic favicon for Chromium-based browsers.
A proper fix for this issue was suggested by @ajshea in #7638 (comment).

Syncthing version

v1.27.6

Platform & operating system

Linux x86

Browser version

Firefox 124.0.2

Relevant log output

No response

Activity

  1. added
    bug
    needs-triage
    on Apr 9, 2024
  2. added a commit that references this issue on May 1, 2024
    ebb1edc
  3. added a commit that references this issue on May 9, 2024
    e2d1963
  4. added this to the v1.27.8 milestone on May 22, 2024
  5. added a commit that references this issue on May 24, 2024
    14bbd3a
  6. LinuxOnTheDesktop commented on Jun 5, 2024

    @LinuxOnTheDesktop

    I still have a problem with Syncthing bookmark icons, on Syncthing 1.27.8. Or rather I have the following two problems.

    1. On Firefox 126.0.1 I get a Syncthing icon but it includes an exclamation mark even though so far as I can tell all is well with Syncthing.

    2. On Firefox 1115.11esr, I get no icon at all.

    In the case of each of cases 1 and 2 I deleted an existing Syncthing bookmark before, on Syncthing 1.27.8, adding a new one. It seems to make now difference how I add the bookmark. In both cases (1 and 2) I tried only adding a bookmark to the bookmarks bar.

    Perhaps I do something wrongly.

  7. added 2 commits that reference this issue on Jul 7, 2024
    685d17e
    199e176
  8. added
    frozen-due-to-age
    on May 1, 2025
  9. locked and limited conversation to collaborators on May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-ageneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions