Closed Bug 325972 Opened 19 years ago Closed 18 years ago

Accesskeys conflicts/missing in Mail context menu

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: prometeo.bugs, Assigned: prometeo.bugs)

Details

(Keywords: fixed-seamonkey1.1a)

Attachments

(2 files, 4 obsolete files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060205 SeaMonkey/1.5a
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060205 SeaMonkey/1.5a

Get Flagged Messages and Get Selected Messages in the context menu of MailNews are reusing already assigned accesskeys (F as Forward for the first, and M as Move To).


Reproducible: Always

Steps to Reproduce:
1. Select a message
2. Right click to open the context menu
3. Verify the conflicts
Attached patch SHould be enough (obsolete) — Splinter Review
Can't used d as it is used by Delete Message (for POP3 at least).
Print Preview seems to be missing an accesskey...
Assignee: mail → giacomo.magnini
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #2)
> Print Preview seems to be missing an accesskey...
> 

 <!ENTITY printPreviewCmd.label "Print Preview">
 <!ENTITY printPreviewCmd.accesskey "v">
 <!ENTITY printPreviewCmd.key "v">

Something fishy going on here...
(In reply to comment #3)
> (In reply to comment #2)
> > Print Preview seems to be missing an accesskey...
> > 
> 
>  <!ENTITY printPreviewCmd.label "Print Preview">
>  <!ENTITY printPreviewCmd.accesskey "v">
>  <!ENTITY printPreviewCmd.key "v">
> 
> Something fishy going on here...
> 
That is the context menu needs the accesskey adding to it for print preview.

Was not so easy to trace: you'll be surprised at how many "Print Preview" entities there are, even unused ones (like in editor)... Ian, I hate you! :-P
Attachment #210754 - Attachment is obsolete: true
Attachment #215500 - Flags: review?(mnyromyr)
Comment on attachment 215500 [details] [diff] [review]
Add accesskey to Print Preview (mail context menu)

First of all, the context menu shows different items when invoked from the threadpane and the messagepane - Get Flagged Messages etc. are only visible in the threadpane context menu... You should probably correct the bug title.

Print Preview is shown in both menus, but your patch here only fixes the threadpane context and not the messagepane context. :(

OTOH, the messagepane context still has accesskey conflicts, eg. Select _A_ll/Reply to _A_ll. I'd like to see that fixed, too, while you're at it. :)

For me, this would work:
  _R_eply to Sender Only -> Reply to Sender _O_nly
  Reply to _A_ll         -> _R_eply to All
The rest looks fine.
Attachment #215500 - Flags: review?(mnyromyr) → review-
Attached patch What Mnyromyr said. (obsolete) — Splinter Review
Attachment #215500 - Attachment is obsolete: true
Attachment #215615 - Flags: review?(mnyromyr)
Summary: Accesskeys conflict in Message Pane context menu → Accesskeys conflicts/missing in Mail context menu
Comment on attachment 215615 [details] [diff] [review]
What Mnyromyr said.

Okay.
I found some more, possibly for a new diff:
- if you have "View->Show Attachments Inline" enabled, the context menu of eg an image lacks an accesskey for "Block Images from this Server"
- the attachment box context mnenu lacks accesskeys for "Detach ..." and "Delete", furthermore, the space before the ... needs to go away
Attachment #215615 - Flags: review?(mnyromyr) → review+
(In reply to comment #8)
> I found some more, possibly for a new diff:

How nice of you! :-P

> - if you have "View->Show Attachments Inline" enabled, the context menu of eg
> an image lacks an accesskey for "Block Images from this Server"

That was actually part of bug 146825... And there you'll find more accesskey dupes, too.

> - the attachment box context mnenu lacks accesskeys for "Detach ..." and
> "Delete", furthermore, the space before the ... needs to go away

Will have a new diff for this. SHould I use a different bug?
Attachment #215615 - Flags: superreview?(neil)
> That was actually part of bug 146825... And there you'll find more accesskey
> dupes, too.

Ah, okay.

> > - the attachment box context mnenu lacks accesskeys for "Detach ..." and
> > "Delete", furthermore, the space before the ... needs to go away
> 
> Will have a new diff for this. SHould I use a different bug?

Not necessarily, this bug's topic is broad enough by now. ;-)
But I vaguely remember that the Detach etc. stuff has been mentioned somewhere else...




Comment on attachment 215615 [details] [diff] [review]
What Mnyromyr said.

> <!ENTITY downloadSelectedCmd.label "Get Selected Messages">
>-<!ENTITY downloadSelectedCmd.accesskey "M">
>+<!ENTITY downloadSelectedCmd.accesskey "G">
> <!ENTITY downloadFlaggedCmd.label "Get Flagged Messages">
>-<!ENTITY downloadFlaggedCmd.accesskey "F">
>+<!ENTITY downloadFlaggedCmd.accesskey "t">
I sorta feel that these access keys should be the other way around (there are two 't's in "Get Selected Messages").

Also, should we sync these access keys to the main menus?
Attachment #216087 - Flags: review?(mnyromyr)
Attachment #215615 - Attachment is obsolete: true
Attachment #216088 - Flags: superreview?(neil)
Attachment #216088 - Flags: review+
Attachment #215615 - Flags: superreview?(neil)
Comment on attachment 216088 [details] [diff] [review]
What Neil suggested, even for the File menu. 

Sorry, I misunderstood the previous patch and got you to correct something that wasn't wrong...
Attachment #216088 - Flags: superreview?(neil) → superreview-
Comment on attachment 215615 [details] [diff] [review]
What Mnyromyr said.

> <!ENTITY downloadSelectedCmd.label "Get Selected Messages">
>-<!ENTITY downloadSelectedCmd.accesskey "M">
>+<!ENTITY downloadSelectedCmd.accesskey "G">
> <!ENTITY downloadFlaggedCmd.label "Get Flagged Messages">
>-<!ENTITY downloadFlaggedCmd.accesskey "F">
>+<!ENTITY downloadFlaggedCmd.accesskey "t">
And indeed there are no fewer than four "g"s in "Get Flagged Messages" ;-)
sr=me with the G & T switched.
Sorry for not realising that these already affect the Offline menu.
Attachment #216087 - Flags: review?(mnyromyr) → review+
Carrying over r/sr. Can someone please check this in?
Attachment #216088 - Attachment is obsolete: true
Attachment #216298 - Flags: superreview+
Attachment #216298 - Flags: review+
Attachment #216087 - Flags: superreview?(neil)
Attachment #216087 - Flags: superreview?(neil) → superreview+
Attachment #216087 - Flags: approval-seamonkey1.1a?
Attachment #216298 - Flags: approval-seamonkey1.1a?
Attachment #216298 - Flags: approval-seamonkey1.1a? → approval-seamonkey1.1a+
Attachment #216087 - Flags: approval-seamonkey1.1a? → approval-seamonkey1.1a+
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: