Closed Bug 327926 Opened 19 years ago Closed 4 years ago

Right clicking in the body area of the message composition window should push keyboard focus there, before posting context menu

Categories

(MailNews Core :: Composition, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: tringali, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5 When you right click in the message body area, it fails to gain the keyboard focus. This makes for entertaining problems as I constantly paste text intended for the body into the "To" field. This is doubly annoying since multi-line text somehow makes it into a single-line text field, which is difficult to delete. So I usually close the window to start over. But, I have LDAP auto-completion turned on, so the window often "thinks" for a bit, if not crashes. Reproducible: Always Steps to Reproduce: 1. Gather a lot of text in the clipboard that you will mail to someone by pasting. 2. Open a message composition window - keyboard focus will be in the "To" field 3. Hover mouse over text body area, and right click - note the keyboard focus is in the "To" field, but the context menu appears in the message body! 4. Click Paste Actual Results: Text pastes into the "To" field, and if you have LDAP lookup turn on, you might get a crash as it tries to autocomplete it. Expected Results: Text should be pasted into the body field. But also: - The context menu and keyboard focus should never get out of sync (as in step 3). - The keyboard focus always should move to where I click. - If it's not obvious, after pasting, the keyboard focus should remain there. Workaround - I have to remember to always left click the body field before right clicking. If I use a plain GTK application like gtk-demo, the focus-follows-right-click behavior works as expected.
(In reply to comment #0) > When you right click in the message body area, it fails to gain the keyboard > focus. This makes for entertaining problems as I constantly paste text > intended for the body into the "To" field. Reproducible with SeaMonkey 1.0/Linux. Right clicking in the Subject: or Attachments: field seems to work as expected. > This is doubly annoying since multi-line text somehow makes it into a > single-line text field, which is difficult to delete. Related to Core bug 51121?
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.9a1) Gecko/20060212 SeaMonkey/1.5a Testing using plain/text: opened mail composition window, right-clicked, cursor was seen correctly, but 'Paste' wasn't enabled, 'paste as quotation' was, but didn't paste to the body. Closed mail, reopened, right-clicked, and 'Paste' was enabled and working as expected. Are you composing textmail, or HTML-mail?
confirmed with linux seamonkey trunk 2006022112
Assignee: mail → nobody
Status: UNCONFIRMED → NEW
Component: MailNews: Main Mail Window → MailNews: Composition
Ever confirmed: true
Product: Mozilla Application Suite → Core
Version: unspecified → Trunk
I was composing as plain text. For what it's worth, I've never seen this on Windows, only on Linux/GTK.
tony, do you see this? WFM windows Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1pre) Gecko/2008062902 SeaMonkey/2.0a1pre
QA Contact: composition
this is probably linux-only. I still see it with a trunk build.
Product: Core → MailNews Core
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1a2pre) Gecko/2008080300 SeaMonkey/2.0a1pre After steps 1-4 of comment #0, I see the last line (only) of the clipboard text in the "To:" area. In this case I used the bugmail for comment #5 above (with Ctrl+U Ctrl+A Ctrl+C) so the "To:" text was "You are on the CC list for the bug".
Still see this?
Flags: needinfo?(antoine.mechelynck)
(In reply to Wayne Mery (:wsmwk) from comment #8) > Still see this? I don't know, it's been years since I last used either Thunderbird or SeaMonkey Mail. The last time I tried, after a disk crash and reinstall, I didn't find how to configure them to access the POP3 servers to which I am subscribed.
Flags: needinfo?(antoine.mechelynck)

Christian, can you reproduce?

Flags: needinfo?(chriechers)

(In reply to Wayne Mery (:wsmwk) from comment #10)

Christian, can you reproduce?

I can't. Tested with TB78.7.1 64-bit on OpenSUSE Linux 15.2, Gnome 3.34.
Upon opening a new Write Window the cursor is positioned in the To: field as described by the Reporter.
Right-clicking in the body area visibly moves the cursor there, and the text from the clipboard is pasted right into the message body, as one would expect.

Flags: needinfo?(chriechers)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.