Closed
Bug 55546
Opened 25 years ago
Closed 25 years ago
Filepicker filter list empty on first run
Categories
(Core :: XUL, defect, P2)
Tracking
()
M18
People
(Reporter: bryner, Assigned: bryner)
Details
(Whiteboard: [rtm+])
Attachments
(1 file)
922 bytes,
patch
|
Details | Diff | Splinter Review |
The first time you run Mozilla, the filter list in the filepicker will show "()"
instead of the file extensions and descriptions. Works ok on subsequent runs.
I believe the problem is that we are obtaining the string bundle as a
file-global variable in nsFilePicker.js - this is executed during component
registration, which is BEFORE the locale is initialized.
Attaching a proposed patch.
![]() |
Assignee | |
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
a=shaver
Comment 3•25 years ago
|
||
r=jag
![]() |
Assignee | |
Comment 4•25 years ago
|
||
Nominating for rtm, based on:
1) apparent loss of functionality
2) extremely safe fix
3) fix in hand, reviewed and super-reviewed
![]() |
Assignee | |
Comment 5•25 years ago
|
||
trudelle: do you think this is rtm-worthy? Or is "start again" too much of an
easy workaround?
![]() |
||
Comment 6•25 years ago
|
||
Looks like a righteous fix to me. rtm+ How well-tested is this? Does change
affect any other execution path? Should we get more testing by landing on trunk
first?
Priority: P3 → P2
Whiteboard: [rtm+]
Target Milestone: --- → M18
![]() |
||
Comment 7•25 years ago
|
||
Note that workaround is easy iff you are motivated to use the program. If
you're just evaluating it, you may not run it a second time. First impressions
matter a lot.
![]() |
Assignee | |
Comment 8•25 years ago
|
||
I'd say this is extremely safe. We can do a trunk landing first if you want though.
![]() |
Assignee | |
Comment 9•25 years ago
|
||
Oh, and no, no other execution paths are affected. Just delaying something from
filepicker component registration until a filepicker window is opened.
![]() |
Assignee | |
Comment 10•25 years ago
|
||
this was fixed in the more general case by the checkin to fix 54784. marking dup.
*** This bug has been marked as a duplicate of 54784 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•