This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 143227

Summary: Paste not available after cut, only Paste Formatted
Product: editor Reporter: John Baker <jbaker>
Component: Actions/Menu/ToolbarAssignee: issues@editor <issues>
Status: RESOLVED WONTFIX    
Severity: blocker CC: msauer
Priority: P3 Keywords: RANDOM
Version: 6.x   
Hardware: Macintosh   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description John Baker 2008-08-07 21:43:46 UTC
Product Version: NetBeans IDE Dev (Build 200808021401)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-121
System: Mac OS X version 10.4.11 running on i386; MacRoman; en_US (nb)
Userdir: /Users/test/.netbeans/dev802

Selecting entire line and some text then choosing Cut (Command-x) or Edit->Cut
then paste (Command-v or Edit->Paste) is not available, only Edit->Paste Formatted is available
Comment 1 Jiri Prox 2008-08-08 08:29:44 UTC
Does the shortcut for paste work?
Comment 2 John Baker 2008-08-08 08:41:19 UTC
the keyboard shortcut doesn't work and Edit->Paste is disabled.

I think multiple lines have to be "cut"

Conversely, if multiple lines are copied, it seems that "Paste Formatted" is enabled for the keyboard shortcut.

So, it looks like "cut" is not assigned to "Paste Formatted"
Comment 3 Jan Becicka 2008-08-08 09:25:38 UTC
Random - it works for me.
Comment 4 Vitezslav Stejskal 2008-08-11 09:16:26 UTC
It also seems to work in my dev build.
Product Version: NetBeans IDE Dev (Build 080811)
Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04
System: Linux version 2.6.22-15-generic running on i386; UTF-8; en_US (nb)

Can somebody please double check this on Mac OS X? Thanks
Comment 5 Vitezslav Stejskal 2008-08-22 14:06:22 UTC
Maxi or Jirko, could you please try to reproduce this on Mac OS X? Thanks
Comment 6 John Baker 2008-08-22 15:35:29 UTC
I don't know if this is related at all but why does typing Command-v paste while the menu for paste is disabled?  

Instead, the Paste Formatted menuitem (mapped to Command-Shift-v) is enabled.  There appears to be some inconsistency here.

Could it be that at some point, typing Command-v stops working ?
Comment 7 Max Sauer 2008-11-19 10:20:19 UTC
Since there is no way to reproduce this, we will have a look LATER.
---
Product Version: NetBeans IDE Dev (Build 20081015090813)
Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57
System: Mac OS X version 10.5.5 running on x86_64; MacRoman; en_US (nb)
Comment 8 Quality Engineering 2009-11-02 11:04:00 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX