Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349050 - 'Show filtered children' mode is switched off on expand folder in Project explorer
Summary: 'Show filtered children' mode is switched off on expand folder in Project exp...
Status: RESOLVED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-10 11:03 EDT by Vladimir CLA
Modified: 2014-03-05 00:18 EST (History)
0 users

See Also:


Attachments
screencast (315.27 KB, video/mpeg)
2011-07-27 02:31 EDT, Vladimir CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir CLA 2011-06-10 11:03:34 EDT
Build Identifier: M20110210-1200

When I'm trying to find some file that isn't in Task Context yet, I try to use 'Show filtered children' option in Project Explorer view. It shows filtered children of chosen folder. But if file that I'm looking for is deeply nested, I have a problem on trying to expand one of filtered folders.

If I try to expand folder that is filtered(shown only in 'Show filtered children' mode) using triangle pictogram left to folder name, 'Show filtered children' is switched off (all filtered folders disappear again) and the folder I tried to expand disappears too.

I think, on folder expansion it at least should be added to context (and so it still will be shown when 'Show filtered children' is switched off).

Besides, there can be situation when developer doesn't know exact what he is looking for and expands a lot of folders. Maybe 'Show filtered children' mode should not be switched off on expanding nodes in tree view?

Reproducible: Always

Steps to Reproduce:
1. Activate task
2. Go to Project Explorer view and make sure, that it's interface is focused
3. Find folder with few filtered folders inside
4. Click "Show filtered children"
5. Expand one of filtered(but shown now) folders
Comment 1 Steffen Pingel CLA 2011-07-26 14:56:11 EDT
Have you tried using the new hover affordance for unfiltering? It allows you to navigate through hierarchies using the little plus icon that appears to the right of items on hover. Alternatively, you can use Alt+click to temporarily unfilter children and Ctrl+click to add multiple files to the task context at once.
Comment 2 Vladimir CLA 2011-07-27 02:06:20 EDT
(In reply to comment #1)
> Have you tried using the new hover affordance for unfiltering? It allows you to
> navigate through hierarchies using the little plus icon that appears to the
> right of items on hover. Alternatively, you can use Alt+click to temporarily
> unfilter children and Ctrl+click to add multiple files to the task context at
> once.

Yes, I use 'little plus icon' to 'Show filtered children'. It unfilters children  nodes until first click.

If I click at some node in 'Show filtered children' mode, it is added to the context and 'Show filtered children' mode is switched off. It is OK.

But if I click at triangle left to node (I just want to expand it), 'Show filtered children' mode is switched off and no new nodes are added to context. 

So, I unfilter some node, I see it, I try to expand it, but it cannot be expanded. Moreover, after click on triangle icon, node that I tried to expand is filtered again.

Alt+click combination doesn't work for me(but this is not topic of this issue.)
Comment 3 Vladimir CLA 2011-07-27 02:31:52 EDT
Created attachment 200413 [details]
screencast

I'm attaching screencast showing issue efect
Comment 4 Sam Davis CLA 2014-03-05 00:18:17 EST
Show filtered children is not a mode that can be switched on and off, it is a command that unfilters a specific node in the tree. As soon as you click somewhere in the view, the filtered children are hidden again. The only exception to this is when clicking the + icon. In your video, you could easily drill down multiple levels of filtered nodes by clicking the [+] icon to the right of each folder you want to unfilter instead of clicking the triangle.

Thanks for pointing out that this wasn't obvious. I've updated the documentation at https://wiki.eclipse.org/Mylyn/User_Guide#Alt.2BClick_Navigation_.2F_Show_Filtered_Children to explain it.