| Summary: | Only auto-focus views when there is a context | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Shawn Minto <shawn.minto> | ||||
| Component: | Mylyn | Assignee: | Shawn Minto <shawn.minto> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | trivial | ||||||
| Priority: | P3 | CC: | cpuidle, mik.kersten, steffen.pingel | ||||
| Version: | unspecified | Keywords: | noteworthy | ||||
| Target Milestone: | 3.5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 172580 | ||||||
| Attachments: |
|
||||||
|
Description
Shawn Minto
Created attachment 189063 [details]
patch
Here is a patch that does this. I have committed this so that we can see what we think of it before the release.
Does this mean that when a new task is created, the views will never autofocus unless the task is deactivated and reactivated? Yes, that is what this change means. For users that are used to focusing, this could be a bit confusing, but hopefully it will help new users get over the "hump" of the empty context problems. Won't it mean that new users might never "discover" focussed mode? I always thought the right thing to do here would be to auto focus once there are a certain number of elements in the context. A perhaps even better but much harder thing to do would be to have the views show as focussed as soon as a task is activated (i.e. the button appears depressed), but start out in a special mode where initially everything is visible, and then the set of visible things shrinks gradually until it is just your context. I'm imagining a workflow roughly like this: # I activate a task, everything is visible # I click a few things, and Mylyn shows me my context plus a set of say 25 projects that are most closely related to those things (based on previously active task contexts, wheighted by how recently they were active) # After some more interaction, the set of relelated projects is reduced to say 10, and maybe the most interesting elements within those projects become visible (again based on past tasks) # Finally, once my context is big enough, Mylyn drops into its usual mode and just shows me the context This is related: 172580: [context] improve UI experience after activating a new task https://bugs.eclipse.org/bugs/show_bug.cgi?id=172580 The current solution, and my suggestion to autofocus when the context reaches a certain size, have the problem that there is no longer the "empty context" message displayed in the pacakge explorer, so users might have an even harder time understanding what happened. Perhaps there should be a "Where did my files go?" hyperlink displayed when a task is first focussed that would open an explanation. Or else we could add a tooltip to the package explorer explaining that it is now in focussed mode. *** Bug 337941 has been marked as a duplicate of this bug. *** Sam, your suggestions are *very* valuable and I think we should try that for the next release. It would be great if you could summarize/repost your suggestions on bug 172580 so they don't get lost. I'll mark this resolved since this is now in head. Thanks Steffen! I have reposted them. |