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

Bug 420487

Summary: Unexpected 'scroll top' behavior in navigator
Product: [ECD] Orion Reporter: Maciej Bendkowski <maciej.bendkowski>
Component: ClientAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: libingw, Silenio_Quarti
Version: unspecifiedFlags: libingw: review+
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
fix none

Description Maciej Bendkowski CLA 2013-10-28 07:11:23 EDT
1. Choose a file to copy, hit 'Copy to'.

2. Expand folders clicking on the arrow, but do not click on the folder name (no folder item should be highlighted).

3. After you expand enough folders, you should notice that each time you expand a folder as described in 2) the view scrolls back to top.
Comment 1 Maciej Bendkowski CLA 2013-10-28 10:32:33 EDT
This also happens in the mini navigator on the left.
Comment 2 Silenio Quarti CLA 2013-10-30 15:09:27 EDT
Created attachment 237077 [details]
fix
Comment 3 Silenio Quarti CLA 2013-10-30 15:10:54 EDT
Libing, please review the patch.
Comment 4 libing wang CLA 2013-10-30 16:09:44 EDT
Thanks for the fix, Silenio.
If there is no selection in the navHandler, we should respect the "noScroll" param in the function call.
The changes make perfect sense to me.
Comment 5 libing wang CLA 2013-10-30 16:10:40 EDT
(In reply to Maciej Bendkowski from comment #1)
> This also happens in the mini navigator on the left.
Yeah, if user clear the selection by using ctrl+click on a selected item this will hapen.