Closed
Bug 354467
Opened 18 years ago
Closed 18 years ago
Refreshing file associations is very slow due to using SendMessageTimeout instead of SHChangeNotify
Categories
(Firefox :: Shell Integration, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
Details
Attachments
(1 file)
2.37 KB,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
Found while working on Vista integration... annoyed by it too. ;)
Assignee | ||
Comment 1•18 years ago
|
||
Doug, just from counting while setting as default without this patch it took anywhere from 7 to 11 seconds and with this patch around a second.
Attachment #240305 -
Flags: review?(dougt)
Assignee | ||
Updated•18 years ago
|
Version: 2.0 Branch → Trunk
Comment 2•18 years ago
|
||
Comment on attachment 240305 [details] [diff] [review]
use SHChangeNotify
The difference is that only the shell will not get the update message whereas before, every top level window got the change notification. I think this is reasonable and anyone depending on this sort of notification probably deserves to be broken.
Can you also change the call in RestoreFileSettings() as well? Then you can also remove the MOZ_HWND_BROADCAST_MSG_TIMEOUT define.
With that, or reasons not to, r=me.
Attachment #240305 -
Flags: review?(dougt) → review+
Assignee | ||
Comment 3•18 years ago
|
||
(In reply to comment #2)
> (From update of attachment 240305 [details] [diff] [review] [edit])
> The difference is that only the shell will not get the update message whereas
> before, every top level window got the change notification. I think this is
> reasonable and anyone depending on this sort of notification probably deserves
> to be broken.
>
> Can you also change the call in RestoreFileSettings() as well? Then you can
> also remove the MOZ_HWND_BROADCAST_MSG_TIMEOUT define.
I've removed RestoreFileSettings() entirely in the Vista specific patch for setting OS defaults.
Assignee | ||
Comment 4•18 years ago
|
||
Checked in to trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•18 years ago
|
||
I file bug 354546 for removing the RestoreFileSettings cruft
You need to log in
before you can comment on or make changes to this bug.
Description
•