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 227591 - Copy and paste hangs.
Summary: Copy and paste hangs.
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.3
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-18 01:51 UTC by Petah
Modified: 2013-06-05 21:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Profile (118.42 KB, application/octet-stream)
2013-03-18 01:51 UTC, Petah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petah 2013-03-18 01:51:33 UTC
Created attachment 132739 [details]
Profile

Copy and paste hangs NB for about a second each time. 

It quite frustrating if I am move code around etc, or if i want to paste something like 5 times, it will take 5 seconds.
Comment 1 Milutin Kristofic 2013-03-18 12:08:04 UTC

*** This bug has been marked as a duplicate of bug 227513 ***
Comment 2 Milutin Kristofic 2013-03-18 12:25:57 UTC
Awt-thread is blocked by calling goto action, where php is blocked by parsing thread

org.netbeans.modules.php.editor.nav.DeclarationFinderImpl.getReferenceSpan()	36.09958	2,410 ms (36.1%)	0.000 ms

Can you in php evaluate, if it should be fixed in php or csl?
Comment 3 Ondrej Brejla 2013-03-18 12:38:01 UTC
Parsing thread is blocked by hints provider. But everything seems ok to me, just some queries to index are there and I don't think that we are able to make it faster.

Maybe the system is slow itself, or some heavy IO is done. If reporter can provide us a project, where the problem occurs and test file, where it can be reproduced (with a snippet which was pasted) we can tets it further.

Then simply reopen. thanks.
Comment 4 Petah 2013-03-18 19:09:01 UTC
My system was a i5 2.4GHz, 8GB ram (2GB allocated to NB itself) and an Intel SSD. So it is not slow at all.

The project is very large (1000s of files). 

The issue happens in any file I am editing, with anything I copied and pasted.

This didn't happen in 7.2 with the same project.
Comment 5 Ondrej Brejla 2013-06-05 07:23:32 UTC
Please test it in 7.4 [1] and provide us new snapshot... We can look at it once again for the latest build. Thanks in advance.

[1] http://bits.netbeans.org/download/trunk/nightly/latest/
Comment 6 Petah 2013-06-05 21:31:09 UTC
I tried the dev build, it seemed better, but I got exceptions, so I stopped using it. 

So I am unable to fully verify that it is fixed.

I will try a later build after the other bug is fixed.