Bug 193151 - [Scratchpad][refresh] Scratchpad not updated on Move
Summary: [Scratchpad][refresh] Scratchpad not updated on Move
Status: CLOSED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P4 minor (vote)
Target Milestone: 2.0.1   Edit
Assignee: Kevin Doyle CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-06-18 13:36 EDT by Kevin Doyle CLA
Modified: 2011-05-25 09:39 EDT (History)
2 users (show)

See Also:


Attachments
Moved some recursive methods from SystemView and updated refresh events (11.32 KB, patch)
2007-07-11 13:46 EDT, Kevin Doyle CLA
mober.at+eclipse: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.