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 200071 - Copy cut paste actions in right click menu are always disabled
Summary: Copy cut paste actions in right click menu are always disabled
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.1
Hardware: PC Other
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: REGRESSION
: 200015 200702 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-12 09:26 UTC by Milutin Kristofic
Modified: 2014-04-14 15:18 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milutin Kristofic 2011-07-12 09:26:40 UTC
In multiview windows (like java file editor) 

Copy cut paste actions in right click menu are always disabled. To
reproduce:

- create java project
- move cursor anywhere in editor but copy cut paste in right context menu are disabled.

It's only in nb 7.1

Product Version: NetBeans IDE Dev (Build 20110712-40112768a755)
Java: 1.6.0_26; Java HotSpot(TM) Client VM 20.1-b02
System: Windows 7 version 6.1 running on x86; Cp1250; cs_CZ (nb)
Comment 1 Milutin Kristofic 2011-07-12 09:27:05 UTC
*** Bug 200015 has been marked as a duplicate of this bug. ***
Comment 2 Stanislav Aubrecht 2011-07-12 09:28:21 UTC
works fine in a plain editor without multiview tabs
Comment 3 Jaroslav Tulach 2011-08-01 10:46:03 UTC
ergonomics#d8b92e09ca25
Comment 4 Quality Engineering 2011-08-03 13:52:46 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/d8b92e09ca25
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #200071: Copy cut paste actions in right click menu are always disabled
Editor is seeking for Lookup context by traversing AWT component hierarchy. As it contained CloneableEditor, it by accident found its lookup and not the one of the multiview top component. Fixing by making sure both lookups return the same value.
Comment 5 Jiri Skrivanek 2011-08-04 08:24:03 UTC
Verified in build 201108030600.
Comment 6 Jiri Skrivanek 2011-08-08 06:50:42 UTC
*** Bug 200702 has been marked as a duplicate of this bug. ***