Open Bug 23470 Opened 25 years ago Updated 7 months ago

The "Open" button in the Attach dialog should be "Attach"

Categories

(MailNews Core :: Composition, defect)

defect

Tracking

(Not tracked)

People

(Reporter: bugzilla, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [patchlove])

Attachments

(1 file, 1 obsolete file)

The button should be "Attach" instead of "Open" since you dont open the file ( attachment). You attach the file!
QA Contact: lchiang → pmock
Assignee: phil → ducarroz
Priority: P3 → P5
4.x behaves the same way. Reassign to ducarroz for M18. Also cc'ing trudelle since someone in his group would probably need to make the platform-specific dialogs do this (if they don't already).
Status: NEW → ASSIGNED
Target Milestone: M18
cc sdagley, who owns the standard file dialogs
This is a good candidate for future milestone.
Target Milestone: M18 → Future
Adding mail3 keyword.
Keywords: mail3
changing component.
Component: Mail Window Front End → Composition
marking nsbeta1-
Keywords: nsbeta1-
I don't think it's possible to change the button caption in that dialog, not sure though. The code that is called lives in here: http://lxr.mozilla.org/seamonkey/source/mailnews/compose/resources/content/MsgComposeCommands.js#1455
the w32 common dialogs certainly support changing the strings, it's possible that our file picker doesn't expose that.
Outlook Express says "Attach" Should I file a bug against the filepicker? What component is that?
In mailnews, File > Attachments > (some attachment) > Save gives a dialog with a "Save" button, but File > Attachments > Save All... gives a dialog with a "Select" button. So somebody knows how to change the save-dialog-button-text. (Who wrote the Save All Attachments window?)
Over to varada
Assignee: ducarroz → varada
Status: ASSIGNED → NEW
Target Milestone: Future → mozilla0.9.6
moving to 1.0
Target Milestone: mozilla0.9.6 → mozilla1.0
Keywords: mail3
Target Milestone: mozilla1.0 → mozilla1.0.1
QA Contact: esther → trix
*** Bug 144080 has been marked as a duplicate of this bug. ***
Blocks: 154188
taking all of varada's bugs.
Assignee: varada → sspitzer
Product: MailNews → Core
I've created a patch against mozilla 1.7.8 which solves the problem by changing the apply button of the attach filedialog to "Attach". At the moment it only works with the gtk2 toolkit, so a build with another toolkit might not work. If the mozilla developers think the patch is otherwise reasonable, it would be easy to get the patch working with the other toolkits (either it is possible to change the apply button to "Attach" in the other toolkits or fall back to the old behaviour could be implemented). Please have a look at my patch. Can anybody please request a review? I don't know who should be the Requestee. It would be nice if this small problem could be solved, because it is really an annoying usability issue. Thanks! Best regards, Christian
(In reply to comment #15) > At the moment it only works with the gtk2 toolkit, so a build with another > toolkit might not work. WILL not work. Nobody's going to approve a patch that's demonstrably not working for all platforms. Also, you've hardcoded the word "Attach" into the source, that's not going to fly either.
(In reply to comment #16) > (In reply to comment #15) > > At the moment it only works with the gtk2 toolkit, so a build with another > > toolkit might not work. > > WILL not work. Nobody's going to approve a patch that's demonstrably not > working for all platforms. Yes, I know. But I want to be sure that I fixed it in the right way (by adding a new mode to nsIFilePicker.idl) before I touch the other platforms. Does a patch have a chance that would fix the problem for gtk2 and use the old behaviour for the other toolkits as fall back? I don't think I can test all the other toolkits as well. But this would be an improvement anyway, because the maintainers of the other toolkits could then easily use the new mode. > Also, you've hardcoded the word "Attach" into the source, that's not going to > fly either. What's the preferred way to introduce such user visible strings (which should be translated as well)?
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Filter on "Nobody_NScomTLD_20080620"
QA Contact: stephend → composition
Product: Core → MailNews Core
comment 17 has unanswered question
I doubt such a patch would have much of making it in, no. Translated strings should be in .properties/.dtd files - though in this case (it's native file pickers) i'm not even sure localization is done inside mozilla code - didn't look though.
Severity: normal → minor
Priority: P5 → --
Target Milestone: mozilla1.0.1 → ---
OS: Windows 98 → All
Hardware: x86 → All
Whiteboard: [patchlove]
Severity: minor → S4
Attachment #9387447 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: