Closed Bug 1900261 Opened 1 year ago Closed 9 months ago

Favicon not shown for bookmarks or history for local pages with favicon in the root path

Categories

(Firefox :: Bookmarks & History, defect)

Firefox 126
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: pallaswept, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0

Steps to reproduce:

Open a page at http://localhost:11987/ with favicon specified as favicon.ico
Bookmark the tab
Open a page at http://localhost:11987/ with favicon specified as images/favicon.ico
Bookmark the tab

Actual results:

Open a page at http://localhost:11987/ with favicon specified as favicon.ico

  • Favicon is displayed in the tab
  • Favicon is not present on the bookmark
  • Favicon is not present in History

Open a page at http://localhost:11987/ with favicon specified as images/favicon.ico

  • Favicon is displayed in the tab
  • Favicon is present on the bookmark
  • Favicon is present in History

Expected results:

Favicon consistently present.

Please note, this issue is not specific to the port above. I was asked, "what did you do?", so I answered literally, but I also tested other ports and there is no change.

The Bugbug bot thinks this bug should belong to the 'Firefox::Bookmarks & History' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Bookmarks & History

Hello! Thank you for submitting this issue I have tried to reproduce the issue on my end but unfortunately I wasn't able to with firefox 128.0a1(2024-06-04) on Ubuntu 22.04 and Windows 10.
Could you please answer the following questions in order to further investigate this issue?

  1. Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
  2. Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
  3. Do you have any addons installed? If yes could you please list them?
Flags: needinfo?(pallaswept)

(In reply to Negritas Sergiu, Desktop QA from comment #3)

Hello! Thank you for submitting this issue I have tried to reproduce the issue on my end but unfortunately I wasn't able to with firefox 128.0a1(2024-06-04) on Ubuntu 22.04 and Windows 10.

Hi Negritas,

Thanks for looking into this for us! I'm surprised it wasn't reproducible for you, as every user I asked (and also myself), saw the same behaviour. This missing favicon was one that was reported by a number of users of the application 'CoolerControl', which uses Tauri to host a web interface for the application. I happened to be effected also, but wasn't aware of it until the reports.

Looking into this, I found that there are also older, unresolved reports of this same bug, such as:
https://bugzilla.mozilla.org/show_bug.cgi?id=317157 (The first report I can find, from 20 years ago)
https://bugzilla.mozilla.org/show_bug.cgi?id=1253407
But there are many more, both as bugs and also just as "help" posts around the web, as you can imagine might accumulate over such a timeframe.

To find a fix for the users, I used these older reports of this issue to draw a commonality between them all, and figured out the cause (the path to the file), and that was applied to fix the software (by changing the path to the favicon), and has worked for all users... But unfortunately, because that's fixed now, I don't have a means to test it further. Fortunately, I did test it on a clean profile at the time, on FF 126, and I can confirm that it did reproduce.

I wonder if perhaps you looked elsewhere for the favicon? It's only failing to appear in bookmarks and history, but does appear elsewhere, such as on the tab for example. Maybe it tricked you by showing up in one of those spots? I hope you're able to figure out why you can't reproduce it. It would be really nice to squash this crusty old bug! :)

Sorry I couldn't be more informative here!

Flags: needinfo?(pallaswept)

(In reply to pallaswept from comment #0)

Open a page at http://localhost:11987/ with favicon specified as favicon.ico
Open a page at http://localhost:11987/ with favicon specified as images/favicon.ico

Could you tell me how the favicons are specified?
For case 1 the icon is just in http://localhost:11987/favicon.ico and the page contains no <link> pointing to any icon, or does it contain a <link>
is there any other icon in <link> tags?

Having the list of <link> from the page in the 2 cases would help.
It the url of the created bookmark exactly http://localhost:11987/?

Flags: needinfo?(pallaswept)

Ah, I think this may be a dupe of bug 1765311.

Depends on: 1765311

A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED, closing the bug as incomplete.

For more information, please visit BugBot documentation.

Status: UNCONFIRMED → RESOLVED
Closed: 9 months ago
Flags: needinfo?(pallaswept)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.