Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356297

Summary: Eclipse Freeze when i use ctrl + c in PHP Editor.
Product: z_Archived Reporter: Antoine Robert <tibetoine>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: silviya, wywrzal, zulus
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Antoine Robert CLA 2011-08-31 05:39:31 EDT
Build Identifier: 20110301-1815

When i highlight a line in PHP Editor and try to copy (using ctrl + c) my whole Eclipse is freezing.
I take the try in .js file and I don't have the same problem.

What can I do to solve this issue ?

Reproducible: Always

Steps to Reproduce:
1.Open a PHP file in Eclipse with some PHP contents
2.Highlight a piece of line
3. Ctrl + c --> FREEZE
Comment 1 Antoine Robert CLA 2011-09-01 05:21:31 EDT
This also happens when i do ctrl + v, ctrl + click on some Code.

This seems to happen only on old project ... 

I tried to copy my source project (where i have the issue) in a new project ... and in the new projet there is not the same probleme (No freeze actually).
Comment 2 Dawid Pakula CLA 2014-02-18 19:59:45 EST
I'm unable to reproduce on current PDT version.

Can you confirm? If still exists, can be related to XP.
Comment 3 Michal Niewrzal CLA 2014-08-26 03:55:07 EDT
I think problem still exists. I also can't reproduce it, but we have info that Zend Studio users have similar problem with latest version (11.0.0).

http://forums.zend.com/viewtopic.php?f=59&t=109513
Comment 4 Dawid Pakula CLA 2014-08-26 04:33:32 EDT
I think this problem highly depends to DLTK H2 engine. I had similar issue 2 weeks ago. After delete h2 database and rebuild projects, problem gone.

Why UI is freezing sometimes?
After ctrl+v, when you trying to resolve select (ctrl+mouse click), DLTK will run reconcile in UI thread. If database is damaged and too big (dltk database is not indexed properly), reconciliation can freeze ui for some seconds.

I'm testing some DLTK modifications (available on github [1]), when I finish, I'll send patch to DLTK team.

[1] - https://github.com/zulus/dltk.core/commits/indexing
Comment 5 Dawid Pakula CLA 2015-08-08 06:20:29 EDT
(In reply to Dawid Pakula from comment #4)
> I think this problem highly depends to DLTK H2 engine. I had similar issue 2
> weeks ago. After delete h2 database and rebuild projects, problem gone.

H2 index was improved a lot. Michal also move namespaces to package_declaration tables. I think we can mark this as fixed.

Michal?
Comment 6 Michal Niewrzal CLA 2015-08-08 10:39:25 EDT
Yes, lets close this as fixed.
Comment 7 Sylvia Tancheva CLA 2015-12-15 04:26:21 EST
Closing