Bug 105346 - Cut/paste and undo/redo performance delays
Summary: Cut/paste and undo/redo performance delays
Status: CLOSED WORKSFORME
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: David Williams CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2005-07-27 13:12 EDT by Thomas Rosenbaum CLA
Modified: 2006-11-28 15:48 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Rosenbaum CLA 2005-07-27 13:12:16 EDT
Any scriptlet code excerpts that are cut and pasted using the mouse cause
significant freeze-ups/delays (upwards of 10-15 seconds).  The same code cut and
pasted using the keyboard seems to show slightly less delays (4-8 seconds). 
Likewise undo/redo keyboard operations (ctrl+z & ctrl+y) freeze all operations
for 4-8 seconds.

Comparatively within the same project, editing *.java and/or *.css files using
the same cut/paste & undo/redo operations show virtually zero freeze-ups/delays.

For *.jsp files, I have turned off validation and content-assist, and reduced my
"undo buffer" to only 5.
Comment 1 David Williams CLA 2005-07-27 16:02:43 EDT
Thanks. I'm only marking as "P4" as is WTP convention, to mark major bug that
can not be addressed in the 0.7 timeframe. I agree it major. 

BTW, did you try turning off "report problems as you type" on Structured Text
Editor preferences? (Its the one that controls validation errors from Java being
"translated" to the JSP file, and that might be where this particualr problem
lies). 

Also, was the total text being copied/pasted relateively normal lenght (less
than a few hunred characters)?

We'll look at for 1.0. 
Comment 2 Thomas Rosenbaum CLA 2005-07-28 14:32:39 EDT
(In reply to comment #0)
> Any scriptlet code excerpts that are cut and pasted using the mouse cause
> significant freeze-ups/delays (upwards of 10-15 seconds).  The same code cut 
and
> pasted using the keyboard seems to show slightly less delays (4-8 seconds). 
> Likewise undo/redo keyboard operations (ctrl+z & ctrl+y) freeze all operations
> for 4-8 seconds.
> Comparatively within the same project, editing *.java and/or *.css files using
> the same cut/paste & undo/redo operations show virtually zero freeze-
ups/delays.
> For *.jsp files, I have turned off validation and content-assist, and reduced 
my
> "undo buffer" to only 5.

(In reply to comment #1)
> Thanks. I'm only marking as "P4" as is WTP convention, to mark major bug that
> can not be addressed in the 0.7 timeframe. I agree it major. 
> BTW, did you try turning off "report problems as you type" on Structured Text
> Editor preferences? (Its the one that controls validation errors from Java 
being
> "translated" to the JSP file, and that might be where this particualr problem
> lies). 
> Also, was the total text being copied/pasted relateively normal lenght (less
> than a few hunred characters)?
> We'll look at for 1.0. 

Thanks for the response - unfortunately turning off the Structured Text Editor 
has not stopped the freeze-ups.  As for the total characters, the effect is the 
nearly the same regardless of size: 8 characters of Java code or 100 characters 
of Java code results in virtually the same downtime.  Straight HTML text does 
not have the quite the same result.  I am excited about the WTP ... interaction 
with the JSP editor is a big issue at this point, but I look forward to future 
releases!
Comment 3 David Williams CLA 2005-08-04 11:32:09 EDT
Moving back to appropriate priority now that 0.7 is released. 
Comment 4 David Williams CLA 2006-08-02 15:49:01 EDT
Sorry to leave this bug unattended for so long ... but I did just try a few things on our 1.5 version, and I don't see the problem you're reported on the old code .... so, either we fixed it incidentally, or ... you'll have to provide me with some sample input and exact steps to reproduce. 

Much thanks ... hope you ~still~ like WTP :) 
Comment 5 John Lanuti CLA 2006-11-28 15:48:57 EST
This is part of a mass update to close out all stale WTP bugs which are in the resolved state without an appropriate targeted version.  If you feel this bug was closed inappropriately, please reopen.