| Summary: | [Wizards] Cut and copy text to clipboard is broken in CVS commit wizard | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Sebastian H. <sebastian.haberey> | ||||||
| Component: | CVS | Assignee: | Tomasz Zarna <tomasz.zarna> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P3 | CC: | eclipse, markus.kell.r, Szymon.Brandys, tomasz.zarna | ||||||
| Version: | 3.4 | ||||||||
| Target Milestone: | 3.4 M4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | hasPatch | ||||||||
| Attachments: |
|
||||||||
|
Description
Sebastian H.
WORKSFORME in N20071008-0010. WORKSFORME I think I didn't describe it accurately enough. Sorry. 1. Commit any change to cvs. 2. In the CVS commit wizzard enter a CVS comment. 3. Press Ctrl+A to select the whole comment. 4. Press Ctrl+X to cut the selection to the clipboard. Step 4 doesn't work for me, i.e. the text won't disappear and it is not copied to the clipboard. I tested it with Eclipse 3.4 M2 and it won't work there either. Oh, now I can see that too. The "Cut" action is not even enabled in the context menu if you did the "Select all" before. I'm not sure whether the "Cut" and "Copy" actions are not updated after doing "Select all" or the "Select all" is not executed completely (i.e. the selection is not properly set), but it's definitely a bug. We will need to look for the real cause. Thank for pointing that out Sebastian. *** Bug 208918 has been marked as a duplicate of this bug. *** The Cut/Copy pair doesn't work in New/Edit Change Set dialogs as they are using CommitCommentArea too. Created attachment 82539 [details]
Patch
I've replaced selection listener for the text field with one for the text viewer. Now, we are notified when the selection has changed after clicking "Select All".
Created attachment 82540 [details]
mylyn/context/zip
Patch released to HEAD. *** Bug 209693 has been marked as a duplicate of this bug. *** Verified in N20071202-0010 for both the Commit Wizard and Change Set dialogs. |