This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 210186 - reuse task list tooltip for task editor hyperlinks
Summary: reuse task list tooltip for task editor hyperlinks
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 205861
  Show dependency tree
 
Reported: 2007-11-17 21:40 EST by Eugene Kuleshov CLA
Modified: 2009-08-19 21:50 EDT (History)
1 user (show)

See Also:


Attachments
proposed implementation (5.27 KB, patch)
2007-11-17 21:47 EST, Eugene Kuleshov CLA
no flags Details | Diff
mylyn/context/zip (5.07 KB, application/octet-stream)
2007-11-17 21:47 EST, Eugene Kuleshov CLA
no flags Details
updated patch (5.38 KB, patch)
2007-11-17 22:36 EST, Eugene Kuleshov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2007-11-17 21:40:50 EST
reuse task list tooltip for task editor hyperlinks
Comment 1 Eugene Kuleshov CLA 2007-11-17 21:47:45 EST
Created attachment 83172 [details]
proposed implementation

I've added methods to get and set task list container to the TaskListToolTip to make it usable ouside of the TaskList, then replaced hack on cursor text with this real tooltip. 

New tooltip work on all hyperlinks in the task editor, except links to dependent and blocked bugs, but once those are replaced with SourceViewer control, it will work there too.
Comment 2 Eugene Kuleshov CLA 2007-11-17 21:47:47 EST
Created attachment 83173 [details]
mylyn/context/zip
Comment 3 Eugene Kuleshov CLA 2007-11-17 22:36:01 EST
Created attachment 83174 [details]
updated patch

updated patch to properly handle sticky tooltip in the task list. apparently, hideHyperlinks() can be called practically randomly even on inactive widgets and tooltip.hide() hides all tooltips at once and not only tooltip instance this method is invoked on
Comment 4 Mik Kersten CLA 2007-11-26 22:42:13 EST
Eugene: as mentioned before, in order to avoid creating patches that we will be slow to apply please propose a UI design before providing patches of this sort (added note on this to http://wiki.eclipse.org/index.php/Mylyn_Contributor_Reference#Tips ).  While I think that the better tooltips for the Task List could be a good idea, I don't think that the tooltips that we use in the Task List are the right solution because they are too heavy-weight.  Also, they show incoming information that is tailored to the Task List not to task navigation, and have the sacrifice of non-native look-and-feel.  They also show other irrelevant information such as the task repository and the elapsed time.

What I think we should consider for 3.0 is improving our support of tooltips in the Task List, and if the result of that is lighter-weight, considering the reuse of a subset of that information in the task editor.
Comment 5 Eugene Kuleshov CLA 2007-11-26 23:27:43 EST
First of all, this prototype looked simple and obvious enough to me to not require any lengthy "design" discussion, not to mention that turn around on these discussions is long enough, so you can save few loops and it give you chance to actually try proposed enhancement. BTW, I'd very much like to see the same unified tooltip in other places, including Task Trim.

Also note that there been few incidents, when my proposals been misinterpreted, so I hope that code or the actual UI would be easier to understand. Though there was other incidents when my code been misinterpreted too and then same changes been accepted from someone else's contribution.

Anyways, my rationale was to have consistent tooltips in all places, so tooltip used in the task list seem to be a good candidate. I don't agree that info about incoming changes and other information is irrelevant, more over it is important piece of information about task that should be available NOT only in the Task List. For example, cross-repository linking is pretty much possible with JIRA connector and repository info is NOT not-relevant for that. Besides, Task List tooltip is quite concise and reasonable compact, so I think it should be used.

I don't think there is anything to sacrifice, because Platform don't provide any "native" look and feel for any other tooltips, but I suspect that you are referring only to to one (not yet most popular) OS/UI variant and may also biased to the some specific non-IDE tooling. Users of those tools may don't care about advanced tooltips, but as a developer I do care about any additional information I can get about task. Note that changed task will be marked as read once user jump into the task editor, so he will lose chance to review changes upfront.

Perhaps you could use an extension point in those non-IDE tools that will use simplified tooltips or use any other kind of custom rendering to keep consistent look and feel.
Comment 6 Steffen Pingel CLA 2008-01-04 01:19:03 EST
I agree with Mik that the default task list tooltip has too much information such as the elapsed time and incoming changes that are most relevant in the task list. As Eugene points out repository information could be useful particularly for cross-repository linking although I am not aware that that is currently supported by Mylyn. 

Having a richer tooltip for the trim widget would indeed be useful as it currently does not show the bug id and the only way to obtain is to open the active task in the editor. 

How about this: Use a stripped down version of the task list tooltip in places other than the task list. It should be concise but still have sufficient additional information to justify a customized tooltip, e.g.:

 Summary
 Key, Priority [Repository]
 Owner

To me the look and feel of the tooltip is a separate issue that is best discussed on bug 205861.

Comment 7 Eugene Kuleshov CLA 2008-01-04 02:33:31 EST
While I think that elapsed time and scheduling info would be useful, stripped down version will be better then the current tooltip. Thought please use "key: Summary" to be able to align tooltip to the link. It would be also really nice to see reporter, project and component values if values are available.

Alternatively, may be also a good idea to have an extension point to allow 3rd party tools to contribute additional data to the tooltips, for example things like tags or external agile planning info.
Comment 8 Mik Kersten CLA 2008-01-31 20:24:10 EST
+1 for the simple version
Comment 9 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn