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

Bug 360320

Summary: Switching editor tabs performance problems
Product: z_Archived Reporter: gossi <eclipse>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kalin.a, natalia.bartol, wojciech.galanciak
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch
none
patch natalia.bartol: iplog+

Description gossi CLA 2011-10-08 10:18:56 EDT
Build Identifier: 3.0.0.v20110516-1100-77--84_23JBVgSVXO7XGJz0VLa9O

When switching tabs in the editor, the cursor changes from normal mouse cursor to busy mouse cursor. The change is very fast, so it happens 3-5 times during the switch. Overall the switch takes approximately 1 second to finish. Looks like some heavy operations are done in the background, giving an overall very uncomfortable feeling. The delay makes it also very unresponsive.

Reproducible: Always

Steps to Reproduce:
1. Open multiple Tabs
2. Switch between them with the mouse
Comment 1 Wojciech Galanciak CLA 2013-01-16 18:08:25 EST
Created attachment 225738 [details]
patch
Comment 2 Wojciech Galanciak CLA 2013-01-16 18:51:37 EST
Created attachment 225740 [details]
patch
Comment 3 Natalia Bartol CLA 2013-01-16 19:19:24 EST
Awesome patch Wojtek, thanks!

Applied to head: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=aa30168be7dc0ae4a70fd3ba6f91dc5d15e143d5
Comment 4 Kalin CLA 2013-01-17 11:50:59 EST
Now I don't detect the cursor changes to busy mouse cursor, at least it is no longer visible, but switching between php and php/txt files tabs takes a second (0.8 - 0.9 sec on Win 7 and 1.0 - 1.1 sec on Mac) and the heavy feeling is still experienced.

Machines under test:

Win 7, 64 bit:
RAM: 2 GB
CPU: 4 GHz (Core i5)

Mac Mountain Lion:
RAM: 4 GB
CPU: 2.5 GHz (Core i5)

Re-opening...
Comment 5 Kalin CLA 2013-01-25 05:41:15 EST
Closing...