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 211192 - Cut/Copy/Paste Popup Does Not Work in SQL Editor
Summary: Cut/Copy/Paste Popup Does Not Work in SQL Editor
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 7.2
Hardware: PC Windows Vista
: P1 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
: 203784 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-14 07:29 UTC by MackSix
Modified: 2012-04-20 10:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (77.99 KB, image/png)
2012-04-14 07:29 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2012-04-14 07:29:45 UTC
Created attachment 118268 [details]
Screenshot

The Cut/Copy/Paste options are greyed out in the SQL Editor. They work in v7.0.1, so this is regression -> P1. 

See Screenshot.
Comment 1 Antonin Nebuzelsky 2012-04-17 12:34:32 UTC
Similar to issue 210681 for other area. Should be an easy fix.
Comment 2 Jiri Rechtacek 2012-04-17 12:56:44 UTC
(In reply to comment #0)
> Created attachment 118268 [details]
> Screenshot
> 
> The Cut/Copy/Paste options are greyed out in the SQL Editor. They work in
> v7.0.1, so this is regression -> P1. 
> 
> See Screenshot.

What build are you using? Recent Dev build or 7.1.x? Thanks
Comment 3 MackSix 2012-04-17 13:14:09 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > Created attachment 118268 [details]
> > Screenshot
> > 
> > The Cut/Copy/Paste options are greyed out in the SQL Editor. They work in
> > v7.0.1, so this is regression -> P1. 
> > 
> > See Screenshot.
> 
> What build are you using? Recent Dev build or 7.1.x? Thanks

Product Version: NetBeans IDE Dev (Build 201204160400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 4 Jiri Rechtacek 2012-04-17 21:58:55 UTC
It's reproducible in NB7.1 too.
Comment 5 Jan Peska 2012-04-19 11:26:53 UTC
fix: http://hg.netbeans.org/core-main/rev/b6fed0498105
Comment 6 Jan Peska 2012-04-19 14:01:04 UTC
*** Bug 203784 has been marked as a duplicate of this bug. ***
Comment 7 Quality Engineering 2012-04-20 10:10:28 UTC
Integrated into 'main-golden', will be available in build *201204200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b6fed0498105
User: Jan Peska <JPESKA@netbeans.org>
Log: Issue #211192 - Cut/Copy/Paste Popup Does Not Work in SQL Editor
Don't assosiate SQLEditorSupport lookup to the SQLCloneableEditor.getLookup -> default lookup with ActionsMap is created. Then manually add active node.