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

Bug 342048

Summary: Synchronize view nodes should follow UI convention and have Expand All action
Product: [Technology] EGit Reporter: Timo Kinnunen <timo.kinnunen>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: dariusz.luksza, Knut.Friedhelm, matthias.sohn, pawelec_p
Version: 0.11   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Timo Kinnunen CLA 2011-04-06 12:43:52 EDT
Build Identifier: 20100218-1602

Nodes with children in Synchronize view should have Expand All action in their right-click menu. 

A workaround requires double-clicking the node text. This does not mirror the behavior of the Project Explorer view where double-clicking a node expands only one level. Also, the expansion is instantaneous in the Project Explorer view, but slower and "stepped" using the workaround, making it feel like a hack.

The workaround is easy only if you discover it.

Reproducible: Always

Steps to Reproduce:
1. Make changes to a file inside several subfolders.
2. Select Team->Synchronize
3. Right-click a node / double-click a node.
Comment 1 Paweł CLA 2011-04-14 17:24:39 EDT
That's great that I found your post in here.
Your workaround works and is very very usefull for me :)
Comment 2 Dariusz Luksza CLA 2011-04-14 17:33:16 EDT
(In reply to comment #0)
> A workaround requires double-clicking the node text. This does not mirror the
> behavior of the Project Explorer view where double-clicking a node expands only
> one level. Also, the expansion is instantaneous in the Project Explorer view,
> but slower and "stepped" using the workaround, making it feel like a hack.
> 
> The workaround is easy only if you discover it.

This isn't a workaround, this is a know feature. Same feature you can find in "default" Synchronization View implementation in CVS plugin.

Of course an "Expand All" context menu option also should be implemented, but is has a very low priority currently.
Comment 3 Paweł CLA 2011-04-14 17:39:39 EDT
It wasn't known to me :)
I used svn before, there is "expand all".

Now, when I know about it, I agree about low priority.

Best regards
Paweł
Comment 4 Timo Kinnunen CLA 2011-04-14 18:10:13 EDT
I discovered that feature by reading this Bugzilla. My expectation was that double-clicking the node name would have done the same as single-clicking the little arrowhead next to it, i.e. Expand [one level], therefore I never tried it on my own.
Comment 5 Ulli Hafner CLA 2011-04-18 05:08:36 EDT
When adding the action please also consider adding a tool bar button (as this is done in the subversion integration).
Comment 6 Matthias Sohn CLA 2011-05-02 09:23:48 EDT
- this has been implemented in http://egit.eclipse.org/r/#change,2424
- merged as 79e459f8c73653a0f191c8af4f3f65479a0fdeef
Comment 7 Paweł CLA 2011-05-06 07:11:25 EDT
What about Git Tree Compare View.
I found this feature and I think it is very usefull.

Is there any chance to add this same functionality there?