Paste Disabled After Copy from a Source That Is Not a Thunderbird Compose Window (context menu problem)

RESOLVED FIXED in Thunderbird 16.0

Status

Thunderbird
Message Compose Window
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Irving, Assigned: Andy Civil)

Tracking

Trunk
Thunderbird 16.0
Dependency tree / graph
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

This bug clone is to manage the front end UI fix for the Thunderbird paste problem; bug 330868 will carry Ehsan's fixes for the X Windows cut buffer issues that trigger the bug on Linux and related platforms.

+++ This bug was initially created as a clone of Bug #330868 +++

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0 Mnenhy/0.7.3.0
Build Identifier: Thunderbird 1.5 (20051201)

If I copy text from a non-Thunderbird window to paste into the Thunderbird composition window, the Paste option in the right-click pull-down menu is sometimes disabled.  The Paste as Quote option is still enabled.  

Reproducible: Sometimes

Steps to Reproduce:
1.  Mark and copy a block of text from a SeaMonkey window.  
2.  Use right-click in a Thunderbird compose window to get the pull-down menu.  


Actual Results:  
The Paste option is disabled (gray).  

Expected Results:  
The Paste option should be enabled (black).  

Ctrl-V (keyboard shortcut for Paste) still works.  This problem seems to occur more frequently if I have already entered some text into the compose window and if the copied text has a link behind it.
Summary: Paste Disabled After Copy from a Source That Is Not a Thunderbird Compose Window → Paste Disabled After Copy from a Source That Is Not a Thunderbird Compose Window (context menu problem)
(Assignee)

Comment 1

5 years ago
Bug 330868 as reported turned out to be a mixture of two issues. While bug 330868 will carry Ehsan's fixes for the X Windows cut buffer issues that trigger the bug on Linux and related platforms, this bug will carry the fix I proposed for the front end UI problem, as described here:
https://bugzilla.mozilla.org/show_bug.cgi?id=330868#c26
Duplicate of this bug: 719336
Andy, how are you doing with this patch? Let me know if you want me to handle getting it through review for you, or if there's any other way I can help you with it.
(In reply to Irving Reid (:irving) from comment #3)
> Andy, how are you doing with this patch? Let me know if you want me to
> handle getting it through review for you, or if there's any other way I can
> help you with it.

Andy ?
(Assignee)

Comment 5

5 years ago
I've created a patch, it's very simple. I will attach it to this comment, and submit it for review.
(Assignee)

Comment 6

5 years ago
Created attachment 632284 [details] [diff] [review]
Proposed patch for Bug 719413
Attachment #632284 - Flags: review?(bwinton)
Comment on attachment 632284 [details] [diff] [review]
Proposed patch for Bug 719413

Hey Andy,

Thanks for the patch!  I tried replicating the problem, but was unable to, so I'm not really confident that I can review the patch.  (I mean, it seems like the right thing to do, but I can't tell whether it fixes the bug or not.)

So I'm going to redirect the review request to Irving, on the basis that he reported the bug, and so should be able to tell if it's fixed.  ;)

Thanks,
Blake.
Attachment #632284 - Flags: review?(bwinton) → review?(irving)
(Assignee)

Comment 8

5 years ago
To replicate the bug you need to clear your clipboard, which is not as easy as it sounds. I explained it in a youtube video. The video has a different bug number, because I thought that bug was this one, but it was decided that it was different. I'm afraid the video is 8 minutes.
http://www.youtube.com/watch?v=Z3WBQ-SRxnE
Attachment #632284 - Flags: review?(irving) → review+
Keywords: checkin-needed
Component: Editor → Message Compose Window
Product: Core → Thunderbird
QA Contact: editor → message-compose
https://hg.mozilla.org/comm-central/rev/72bbbfe69e63

Thanks for the patch, Andy!
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 16.0
Blocks: 765491
You need to log in before you can comment on or make changes to this bug.