Open Bug 1417788 Opened 3 years ago Updated 2 years ago

Compose window title not updated for mode changes: Write vs. Edit Template vs. File (Save as Draft/Template/File)

Categories

(MailNews Core :: Composition, defect)

defect
Not set
minor

Tracking

(Not tracked)

People

(Reporter: bugzilla2007, Unassigned)

References

(Blocks 1 open bug)

Details

User Story

There is no immediately visible indication of "Edit Template" mode, which however behaves different wrt saving, because "Save-as-template" is preselected, so any changes will go into the template, NOT into a dedicated draft. Confusingly, TB still shows "Write:..." in title bar, falsely suggesting that changes will be saved into dedicated draft message.

Similarly, if user alternates between saving flavors, the title is not always updated to indicate the current mode (and default saving flavor):
Save as File, then Save as Draft/Template does not remove [file:/.../filename.txt] label in window title; should revert to "Write: ..." title.
STR

1) compose a msg with subject "test" and msg text "foo"
2) Save > File... > Desktop\foo.txt, and check compose window title
3) add "bar" to msg text
3) Save > Draft or Template
4) check compose window title

Actual result

- title bar of compose window still showing "test [file:/.../foo.txt]"

Expected result

- title bar must show "Write: test"
In fact, for the case of saving/editing a template, and saving/editing to file, what if we brush up those titles a bit?

a) Draft    -> "Write: Subject" (unchanged)
b) Template -> "Template: Subject"
c) File     -> "File: Subject [foo.txt in C:\windows\desktop\]"

a) (same as currently)

b) I think makes a big difference if we're writing a normal draft for sending or working on a template...
And so far, there's no indication whatsoever that you're now working on the template (except that little checkmark in the dropdown part of the save button). Having "Template:" in the title is a simple way of showing in which modus we are.

c) Also for files, I think it's helpful to make it more clear that it any changes will only be saved to file, nowhere else. So instead of having an odd file protocol, we can brush up, clarify, and make the title more useful (full path currently missing, and can't be established from within TB). Again, to be more explicit about in which modus we are.

Richard, what do you think?
Flags: needinfo?(richard.marti)
Yes, this sounds reasonable.
Flags: needinfo?(richard.marti)
Blocks: 1389062
I have touched this some time ago in Bug 759039 where I added "Write: " and "Print Preview: " to compose window titles.
Depends on: 759039
And for added clarity / disambiguation, it should probably be "Edit Template: Subject", also consistent with the action word "Write: " in the title.
Blocks: 1478993
Depends on: 1500659
Blocks: 1500659
No longer depends on: 1500659
User Story: (updated)
Summary: Save as File, then Save as Draft/Template does not remove [file:/.../filename.txt] label in window title → Compose window title not updated for mode changes: Write vs. Edit Template vs. File (Save as Draft/Template/File)
You need to log in before you can comment on or make changes to this bug.