Closed Bug 1213628 Opened 9 years ago Closed 9 years ago

Port SeaMonkey's Compose in HTML/Compose in Text dropdown menu of Compose menubutton to Thunderbird

Categories

(Thunderbird :: Message Compose Window, enhancement)

38 Branch
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: World, Assigned: aceman)

Details

Attachments

(1 file, 1 obsolete file)

12.87 KB, patch
mkmelin
: review-
Paenglab
: ui-review+
Details | Diff | Splinter Review
This is spin-off of bug 1030288 comment #5.

SeaMonkey's HTML / Text dropdown menu of Compose menubutton is convenient.
Please port it to Thunderbird. 

In SeaMonkey, Compose menu button has next drop down menu.
   Compose in HTML
   Compose in Plain Text
In Thunderbird, Write menu button has next drop down menu.
   Message
   Event
   Task
Following may be convenient for Tb users.
  In Thunderbird, drop down menu of Write menubutton.
   Message (HTML)       , or opposite of current Identity setting is shown
   Message (Plain Text) , or current Identity setting is shown
   Event
   Task

I nelieve no need for Reply/Forward menubutton.
Assignee: nobody → acelists
Status: NEW → ASSIGNED
Attached patch patch (obsolete) — Splinter Review
This is a copy of the feature from Seamonkey. I added the word "message" into the items so that it is clear (what is written) when Lightning adds its items (Event and Task). If this passes, Lightning could probably remove the "Message" item as it would now be superfluous.
Attachment #8672396 - Flags: ui-review?(richard.marti)
Attachment #8672396 - Flags: feedback?(philipp)
(In reply to WADA from comment #0)
> I nelieve no need for Reply/Forward menubutton.

Interestingly, TB38 does have the submenu for format under Reply and "Reply all" toolbar buttons. I do not see it in trunk. Was that intentionally removed?
Flags: needinfo?(mkmelin+mozilla)
Comment on attachment 8672396 [details] [diff] [review]
patch

Looks good and makes sense for mouse users which don't know the shift modifier.
Attachment #8672396 - Flags: ui-review?(richard.marti) → ui-review+
(In reply to :aceman from comment #2)
> (In reply to WADA from comment #0)
> > I nelieve no need for Reply/Forward menubutton.
> 
> Interestingly, TB38 does have the submenu for format under Reply and "Reply
> all" toolbar buttons. I do not see it in trunk. Was that intentionally
> removed?

I don't see this with TB38 here.
(In reply to Richard Marti (:Paenglab) from comment #4)
> > Interestingly, TB38 does have the submenu for format under Reply and "Reply
> > all" toolbar buttons. I do not see it in trunk. Was that intentionally
> > removed?
> 
> I don't see this with TB38 here.

Right, I also do not see it in Safe mode. Must be some good addon providing this.
Flags: needinfo?(mkmelin+mozilla)
Paenglab, do you think I should also put the Write icon into the menuitems so that it looks nice when Lightning adds its items with icons? I mean to add the same icon that LT now uses for the Message menuitem.
Flags: needinfo?(richard.marti)
I think it's better not to use a icon for them. We would have both with the same icon which doesn't help for a better identification. With the removal of the Lightning's write menu there are only the two calendar entries and this helps differ from the two message menus.
Flags: needinfo?(richard.marti)
Comment on attachment 8672396 [details] [diff] [review]
patch

Review of attachment 8672396 [details] [diff] [review]:
-----------------------------------------------------------------

OK, thanks.
Attachment #8672396 - Flags: review?(mkmelin+mozilla)
Comment on attachment 8672396 [details] [diff] [review]
patch

Review of attachment 8672396 [details] [diff] [review]:
-----------------------------------------------------------------

While I think this is a nice feature for people that know what HTML vs Text is, I am not sure this will be clear for everyone. I guess it may be since we also use "HTML" in other places, but alternatively, what about "Compose with plain text" and "Compose with rich formatting" ? Might be a little long though. I'll leave the decision on this up to the UX folks.

If you add those menu items, could you also patch Lightning to remove the message item? Codewise, I think you are missing type="menu-button" on the dropdown, this is added by Lightning.
Attachment #8672396 - Flags: feedback?(philipp) → feedback+
(In reply to Philipp Kewisch [:Fallen] from comment #9)
> Comment on attachment 8672396 [details] [diff] [review]
> patch
> 
> Review of attachment 8672396 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> While I think this is a nice feature for people that know what HTML vs Text
> is, I am not sure this will be clear for everyone. I guess it may be since
> we also use "HTML" in other places, but alternatively, what about "Compose
> with plain text" and "Compose with rich formatting" ? Might be a little long
> though. I'll leave the decision on this up to the UX folks.

Yes, this would be easier, but, in the prefs (Compose/General) and in Account Manager we are using "HTML".
If we change here to "Rich Text", then we should file a bug to change this too in prefs and AM.
We are using "Rich text (HTML)" directly in the compose window (Options->delivery format) so using that in all places is not a bad idea. My only nit to this is that Outlook provides 3 options: Plain text, HTML and Rich text (RTF). So there may be space for some confusion. But if we use the full label everywhere as "Rich text (HTML)" (including the HTML), it should be clear.
Attached patch patch v2Splinter Review
Thanks. This now includes the Calendar adaptation. It looks like it was also adding the "Message" item to Seamonkey. So this may help them too (as they already had the Write HTMl/Write plain items).
Attachment #8672396 - Attachment is obsolete: true
Attachment #8672396 - Flags: review?(mkmelin+mozilla)
Attachment #8672757 - Flags: ui-review?(richard.marti)
Attachment #8672757 - Flags: review?(mkmelin+mozilla)
Comment on attachment 8672757 [details] [diff] [review]
patch v2

ui-r+ with using a capital "T" in "text" for "Write Message in Rich text (HTML)".

Could the accesskey R instead of H for Rich?
Attachment #8672757 - Flags: ui-review?(richard.marti) → ui-review+
Comment on attachment 8672757 [details] [diff] [review]
patch v2

Review of attachment 8672757 [details] [diff] [review]:
-----------------------------------------------------------------

Sorry, but I see no reason to add this. 
It creates a chore for the user for every click/misclick on the write button he does, and I don't think there's usually any need for people to decide. The current hidden feature of shift-clicking should be sufficient for the people who want it. Adding it to the write button would also be inconsistent if we didn't add it to all the other fwd/reply etc buttons, and we really don't want to go there...
Attachment #8672757 - Flags: review?(mkmelin+mozilla) → review-
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
(I believe there's also some wontfixed dupe of this, couldn't find it atm though.)
(In reply to Magnus Melin from comment #14)
> The current hidden feature of shift-clicking should be sufficient for the people who want it.

Biggest problem for users in Shift modifier is "Hidden".
Please note that Thunderbird doesn't have embed Help Document, as Firefox doesn't have.
I believe that you already know "creation of almost text only mail using HTML mode" produces exess bug opens :-)  

> Adding it to the write button would also be inconsistent
> if we didn't add it to all the other fwd/reply etc buttons, and we really don't want to go there...

I agree with you on inconsistent,
I temporarily thought that HTML mode/Text mode is determined by display mode when Reply. I confused with Edit.

Addon is better? If addon, consistency is not needed.
Official Help document for "Shift modifier in mail composition" may be neede.
IIRC, there are some documents which states about Shift+Compose, but current consistent Shift modifier in mail composition is not explained.

> It creates a chore for the user for every click/misclick on the write button he does,

"Dropdown menu of Write button" is not new feature by this enhancement.
"Dropdown menu of Write button" surely already exists in Thunderbird.
This enhancement merely changes number of selectable dropdown menu from 3 to 4.
Non-chore when 3 sub menus but chore if 4 sub menus?

This reason is rejected by me.
(In reply to Magnus Melin from comment #14)
> Adding it to the write button would also be inconsistent
> if we didn't add it to all the other fwd/reply etc buttons, and we really don't want to go there...

Consistency vs. Convenience.

Until a few years ago, Shift+Compose was provided only for Compose Button of Toolbar(Write in Tb).
Shift modifier was not supported in all other Toolbar buttons, all menus, all context menus.
(biggest reason was that who passed Shift was Compose button only)
So, Shift modifier was ported to all other Toolbar buttons, all menus, all context menus for "mail composition"(not Edit) a few years ago, by great efforts of developrs such as aceman.

If consistency in a program codes is most important in the world, far important than convenience for users, "Shift only in Compose/Write Toolbar button" must not have been implemented.
Please note:
As seen in "Shift only in Compose/Write Toolbar button" case, user's convenience is important than consistency in implementaton, consistency for developers, in some situations.
Sorry typo. exess -> excess
Obviously yes, this is perfectly fine for an add-on to do.

Well the 3 items we have come from lightning, and I think the Write button is a fairly questionable place to have those - though at least they are clear so they don't make people think twice. HTML or not is just an implementation detail that normal people shouldn't have to think about.

Convenience for who? If it's not something people need/want in general, it's an inconvenience.
(In reply to Magnus Melin from comment #19)
> Convenience for who? If it's not something people need/want in general, it's an inconvenience.

You are correct. Excessive function shoudn't be contained in standard package for majority of users.

> fine for an add-on to do.

Because XUL element can be created/removed/modified by JS code via DOM, and "Custom Buttons" addon is usable, "providing JS code only" is recently possible. if not so big/comlicated function.
We may be better to rovide such script only instead of enhancement of Thunderbird or addon package, if fuctions for limited users.

aceman, is WONTFIX acceptable? Or immediately re-open and fight with Magnus and call Gerv? :-) 
"Request of a button which user wants" is usually good candidate of it.
I am OK with it. We have bigger problems to fix :) Also there already is some addon to do it, I already have those items also on Reply buttons in TB38.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: