Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 271446 - [call hierarchy] cannot restart canceled search for callers
Summary: [call hierarchy] cannot restart canceled search for callers
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Raksha Vasisht CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 08:31 EDT by Markus Keller CLA
Modified: 2009-04-26 17:41 EDT (History)
1 user (show)

See Also:


Attachments
Patch with the fix. (8.05 KB, patch)
2009-04-24 12:37 EDT, Raksha Vasisht CLA
markus.kell.r: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2009-04-07 08:31:22 EDT
I20090401-1325

- Call Hierarchy in Callers mode
- expand a node where the search for references takes a long time (e.g. Object#hashCode())
- click 'Cancel Current Search' in view toolbar
=> expanded node gets a child 'The search was canceled'

Now, there's no way to restart the canceled search again without refreshing the whole view.

I don't think we need the 'The search was canceled' node at all. The cancel button should just collapse the node again, and when the user expands the node again, we should start the search as if the node had never been touched before.
Comment 1 Raksha Vasisht CLA 2009-04-24 12:37:38 EDT
Created attachment 133146 [details]
Patch with the fix.
Comment 2 Markus Keller CLA 2009-04-26 17:40:51 EDT
Released to HEAD. When canceling expansion of a root node, I made sure that all root elements are reset (not only the first one).