Closed Bug 256266 Opened 20 years ago Closed 13 years ago

Filepicker invoked from Attach Web Page in Compose should default to 'HTML Files' instead of 'All Files'.

Categories

(SeaMonkey :: Download & File Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 662203

People

(Reporter: stephend, Unassigned)

Details

Attachments

(3 obsolete files)

Build ID: 2004-08-19-08, Windows XP Seamonkey Trunk.

See bug 248193 for some history.

1.  In Mail, click Compose.
2.  Now, select 'Attach | Web Page' from either the File menu or the toolbar.
3.  Click on 'Choose File'.
4.  Examine the resulting filepicker, notably:

'Files of Type' *under Windows XP, at least*, which shows, by default:

Actual Results:

'All Files'

Expected Results:

'HTML Files'
I don't have a tree, but would this work?

picker.appendFilters(FILTER_HTML);
Product: MailNews → Core
Attached patch Patch v0.1 (obsolete) — Splinter Review
This patch:
* Adds HTML filter before adding other filters so it is listed in the required
order.
Assignee: neil.parkwaycc.co.uk → bugzilla
Status: NEW → ASSIGNED
Attachment #180048 - Flags: review?(neil.parkwaycc.co.uk)
This also affects the Open Location dialog's filepicker.
On Linux, All Files is added last, but on other platforms it's first.
Attachment #180048 - Flags: review?(neil.parkwaycc.co.uk)
Attached patch Revised patch v0.1a (obsolete) — Splinter Review
Changes since v0.1
* Moved to using buttonlabelaccept in MsgAttachPage
* Match urlbar behaviour between MsgAttachPage and openLocation - both now use
focus()
* Make HTML appear first for openLocation
* Remove second Text filter for New Composer Window option
Attachment #180048 - Attachment is obsolete: true
Attachment #180159 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #180159 - Flags: review?(neil.parkwaycc.co.uk)
Attached patch Tweaked patch v0.1b (obsolete) — Splinter Review
Changes since v0.1a:
* Simplified filter selections for window types.
Attachment #180159 - Attachment is obsolete: true
Attachment #180164 - Flags: review?(neil.parkwaycc.co.uk)
I still think we should strive for a) consistency and b) usefulness across
filepicker implementations and that means fixing this bug at that level.
Ian leaving this assigned to you
QA Contact: attachments
Product: Core → MailNews Core
strikes me as being Seamonkey bug, no?
Whiteboard: [patchlove]
Comment on attachment 180164 [details] [diff] [review]
Tweaked patch v0.1b

The files in mailnews/compose/resources/content/ no longer exist, so this patch no longer applies.

Ian, up for a new patch? :)
Attachment #180164 - Attachment is obsolete: true
Attachment #180164 - Flags: review?(neil)
Assignee: iann_bugzilla → nobody
Component: Attachments → Download & File Handling
Product: MailNews Core → SeaMonkey
QA Contact: attachments → download
Fixed in Bug 662203.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Whiteboard: [patchlove]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: