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 195342 - [70cat] Code completion dialog should not pop-up immediately following a cut/copy/paste operation.
Summary: [70cat] Code completion dialog should not pop-up immediately following a cut/...
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal with 2 votes (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 190682 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-11 15:48 UTC by esmithbss
Modified: 2016-07-07 09:56 UTC (History)
2 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 esmithbss 2011-02-11 15:48:16 UTC
Product Version = NetBeans IDE 7.0 Beta 2 (Build 201102052128)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_22
Runtime = Java HotSpot(TM) Client VM 17.1-b03

It appears that 7.0 beta is currently displaying the Code Completion dialogs immediately after a paste operation within the XML Editor when editing an XSD file.  It is as if the code-completion timer is set to 0 milliseconds by the paste operation.

To Reproduce.

1) Open up an XSD file
2) Copy a block of text (perhaps an Element)
3) Paste it into the file.

Upon completion of the paste, the code-completion dialog shows.
Comment 1 Svata Dedic 2011-11-10 16:13:19 UTC
*** Bug 190682 has been marked as a duplicate of this bug. ***
Comment 2 vbeffa 2013-03-12 11:20:16 UTC
This issue is still present in 7.3 RC2, in any xml file. It happens even when I paste a comment, and when manipulating xml files intensively it is extremely annoying, as well as obstructive, since the cursor keys no longer work to move in the document once the dialog pops up.
Comment 3 vbeffa 2013-03-12 11:36:00 UTC
This happens also when typing a comment in an xml file. When you close the comment with the '>' character, the code-completion dialog pops up.

FYI I am working mostly with POMs.
Comment 4 ArmEagle 2015-08-24 15:54:30 UTC
I see the same happening in a PHP file.
Copy "$new" and paste it in your file:

Result:
 A code completion dialog (probably mostly empty) pops up.
Expected:
 No completion dialog.
Comment 5 Martin Balin 2016-07-07 09:56:41 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss