Bug 193151

Summary: [Scratchpad][refresh] Scratchpad not updated on Move
Product: [Tools] Target Management Reporter: Kevin Doyle <kjdoyle>
Component: RSEAssignee: Kevin Doyle <kjdoyle>
Status: CLOSED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: minor    
Priority: P4 CC: dmcknigh, kmunir
Version: 2.0Keywords: contributed
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Moved some recursive methods from SystemView and updated refresh events mober.at+eclipse: iplog+

Description Kevin Doyle CLA 2007-06-18 13:36:36 EDT
After doing a Move the Scratchpad is not refreshed to show the new contents.

Steps to Reproduce:
1. Drag a folder into the Scratchpad.
2. Expand that folder.
3. Move some file to the folder you dragged to the scratchpad.
4. The Scratchpad is not refreshed to show the moved file.

-----------Enter bugs above this line-----------
TM 2.0RC3 Testing
installation : eclipse-SDK-3.3RC4
RSE install  : RSE 2.0 RC3
java.runtime : Sun 1.5.0_11-b03
os.name:     : Windows XP, Service Pack 2
------------------------------------------------
Comment 1 Martin Oberhuber CLA 2007-06-28 09:05:40 EDT
Are you moving inside the scratchpad or inside the RSE Tree?
Looks like the Scratchpad should be listening to more events.
Other comments, or could you come up with a patch?

I guess that manually refreshing the scratchpad would show the moved file.
Comment 2 Kevin Doyle CLA 2007-06-28 10:11:50 EDT
This is just another specific bug about the refresh event handling for the Scratchpad.  Doing the Move event from the tree or scratchpad produces the same results.

The Scratchpad is listening to the event it's just not handling it correctly right now.  I'll look into this and create a patch.
Comment 3 Kevin Doyle CLA 2007-07-11 13:46:38 EDT
Created attachment 73573 [details]
Moved some recursive methods from SystemView and updated refresh events

Legal Message: I, Kevin Doyle, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL. I am authorized by my employer, IBM Canada Ltd. to make this
contribution under the EPL.
Comment 4 David McKnight CLA 2007-07-11 14:02:40 EDT
I've committed the changes to cvs.
Comment 5 Kevin Doyle CLA 2007-07-15 16:04:28 EDT
Verified with I20070713-0605.