Closed Bug 307366 Opened 19 years ago Closed 8 years ago

.html file icons not changing after setting Firefox as default browser

Categories

(Firefox :: File Handling, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tracy, Unassigned)

References

()

Details

(Keywords: regression)

Seen on Windows Fx 1.4 build 2005-09-07-07-mozilla1.8

-Have IE or Mozilla suite set as the system default browser.
-Install the Firefox branch nightly
-When prompted (or in Options) ensure Fx is set as the default browser
-Save the start page to your desktop

tested results: the icon for the saved html file is still set to the previous
default icon (the blue e or the red mozilla)

expected results: the icon should be the Firefox globe

I'll nail down the regression window.
Nom to put on 1.5b1 radar
Flags: blocking1.8b4?
hmmm, after some back tracking, it seems this has been around since before the
mozilla1.8 branch.  I have for quite a while been switching the default browser
back and forth between Moz suite and DP (branch and trunk). I could swear I
first saw this only recently.   
this seems at least partially broken in firefox 1.0.6. we should investigate and
fix for b5. 
Flags: blocking1.8b5+
Flags: blocking1.8b4?
Flags: blocking1.8b4-
I believe that the icon change actually happens in both 1.0.6 and 1.5 beta 1 but
it requires a restart to show. We need to somehow rebuild the windows icon cache
when we take over handling these file types.
Summary: .html file icons not changing to Firefox → .html file icons not changing after setting Firefox as default browser
Flags: blocking1.8b5+ → blocking1.8b5-
Flags: blocking-aviary2.0?
Flags: blocking-aviary1.0.8?
Flags: blocking-aviary1.0.8?
Hmmmm, restart worked just once for me.  That is until I reset Moz Suite as
default, shut it off, launched Firefox and set it as default, restarted it, then
saved a page to my desktop.  Get Moz icon instead of Fx icon.
Not a blocker, there doesn't seem to be a documented API for forcing the icon cache rebuild, but someone could try to figure out what TweakUI does and use that.  Will take a safe patch for this.
Flags: blocking-firefox2? → blocking-firefox2-
Seems like the installer code already tries to do this, could just be ported to the Shell Service. There might also be a saner way of doing it than toggling a registry key.
Firefox: 48.0a1, Build ID  20160403030243
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:48.0) Gecko/20100101 Firefox/48.0

Hi Tracy,

I have tested this issue on the latest Firefox (45.0.1 - Build ID: 20160315153207) release, latest Nightly (48.0a1) build, and is no longer reproducible. If I make Firefox or Nightly as a default browser, any ".html" files are displaying the correct Firefox or Nightly icon.

Considering this I will mark this issue as Resolved-WORKSFORME. If anyone can still reproduce it, feel free to reopen the issue and provide more information.

Thanks,
Cosmin.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.