Closed Bug 192666 Opened 23 years ago Closed 20 years ago

extension-list is appearing twice in ldif/tab/txt import file picker

Categories

(MailNews Core :: Import, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sspitzer, Assigned: standard8)

Details

(Keywords: fixed-seamonkey1.0, fixed1.8.1)

Attachments

(2 files, 2 obsolete files)

extension-list is appearing twice in ldif/tab/txt import file picker spun off from bug #122282 see http://bugzilla.mozilla.org/show_bug.cgi?id=122282#c5 http://bugzilla.mozilla.org/show_bug.cgi?id=122282#c15 I'll attach pkw's patch for addressBook.properties. my problem is that the change to addressBook.properties fixes a problem on linux ("Remove the extensions from the addressbook.properties file because it causes the extensions to show up twice for builds using the nsFilepicker.js file picker (UNIX") but causes a new one on win32 ("extensions not appearing") this seems like a general problem that should happen with other users of nsFilepicker.js, or a problem with the mailnews code that we shouldn't be specifying the extensions like that.
Attached patch pkw's fix (obsolete) — Splinter Review
Comment on attachment 114082 [details] [diff] [review] pkw's fix don't land this patch
Attachment #114082 - Flags: superreview-
Attachment #114082 - Flags: review-
Product: Browser → Seamonkey
Assignee: sspitzer → mail
Attached patch Updated patchSplinter Review
I can't see why the previous patch shouldn't work on windows. This patch is an updated version. Mike: Can you test import and export address book file picker dialogs with this patch on windows and check that in the drop down you get the following entries: LDIF (*.ldi; *.ldif) Comma Separated (*.csv) Tab Delimited (*.tab; *.txt) All Files (*) Note that the (...) parts may not be there - they should be. I'm hoping that there has been a patch gone in for the windows file picker that would fix this problem. Thanks.
Note: I've had a look at a windows nightly, and the file pickers that aren't the import/export ldif/tab/txt ones and they don't display extensions. Therefore, as long as we still filter correctly, I think we should go with the new patch and if we want extensions shown on windows, then that is a file picker bug.
Assignee: mail → bugzilla
Component: MailNews: Main Mail Window → MailNews: Import
Product: Mozilla Application Suite → Core
Comment on attachment 194587 [details] [diff] [review] Updated patch As mentioned in comment 4, in general the windows file pickers don't display *.whatever, whereas the linux ones do. In the case of importing address books, linux displays (*.ldi,*.ldif)(*.ldi,*.ldif) whereas windows displays just (*.ldi,*.ldif) This patch will make linux display the extensions just once, and windows not at all - following the current convention. If we want the windows ones to display file extensions, hten that should be a seperate bug.
Attachment #194587 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #194587 - Flags: review?(neil.parkwaycc.co.uk)
Attached patch Thunderbird version (obsolete) — Splinter Review
Thunderbird version - Please see my previous comments on this bug for the effects of this patch.
Attachment #197324 - Flags: superreview?(bienvenu)
Attachment #197324 - Flags: review?(bienvenu)
Attachment #197324 - Flags: superreview?(bienvenu)
Attachment #197324 - Flags: superreview+
Attachment #197324 - Flags: review?(bienvenu)
Attachment #197324 - Flags: review+
Attachment #194587 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #194587 - Flags: superreview+
Attachment #194587 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #194587 - Flags: review+
Attachment #114082 - Attachment is obsolete: true
I got the file wrong last time for the Thunderbird version (mailnews/addrbook/resources/locale/en-US/addressbook.properties instead of mail/locales/en-US/chrome/messenger/addressbook/addressBook.properties) This is the correct file, same change though so carrying forward r + sr from bienvenu.
Attachment #197324 - Attachment is obsolete: true
Attachment #197349 - Flags: superreview+
Attachment #197349 - Flags: review+
Both Updated patch & Thunderbird checked into trunk, note that the original patch was from bug 122282 and Philip K. Warren (IBM) <pkwarren@gmail.com>. /cvsroot/mozilla/mailnews/addrbook/resources/locale/en-US/addressBook.properties,v <-- addressBook.properties new revision: 1.35; previous revision: 1.34 done Checking in mail/locales/en-US/chrome/messenger/addressbook/addressBook.properties; /cvsroot/mozilla/mail/locales/en-US/chrome/messenger/addressbook/addressBook.properties,v <-- addressBook.properties new revision: 1.6; previous revision: 1.5
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 194587 [details] [diff] [review] Updated patch a=me for SM1.0b on SM only part of code, 2nd needed one - Tally Ho!
"Updated patch" (SeaMonkey only) checked into 1.8 branch for SeaMonkey 1.0b
Whiteboard: fixed-seamonkey1.0
(In reply to comment #11) > "Updated patch" (SeaMonkey only) checked into 1.8 branch for SeaMonkey 1.0b > Also checked into 1.8.0 branch.
Whiteboard: fixed-seamonkey1.0
Comment on attachment 197349 [details] [diff] [review] Real Thunderbird version Requesting approval for 1.8.1 branch, small patch that corrects the file format type display.
Attachment #197349 - Flags: approval-branch-1.8.1?(mscott)
Attachment #197349 - Flags: approval-branch-1.8.1?(mscott) → approval-branch-1.8.1+
Thunderbird patch checked into 1.8.1 branch (SeaMonkey version already there).
Keywords: fixed1.8.1
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: