| Summary: | tooltips missing in Task Editor | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Ralf Sternberg <rsternberg> | ||||||||||||||
| Component: | Mylyn | Assignee: | Steffen Pingel <steffen.pingel> | ||||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||||
| Severity: | major | ||||||||||||||||
| Priority: | P1 | CC: | angvoz.dev, eclipse, robert.elves | ||||||||||||||
| Version: | unspecified | ||||||||||||||||
| Target Milestone: | 3.5 | ||||||||||||||||
| Hardware: | PC | ||||||||||||||||
| OS: | Linux | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Ralf Sternberg
Args. That is probably a regression from bug 331154. We'll look into it. (In reply to comment #1) > Args. That is probably a regression from bug 331154. We'll look into it. No, I found that this is a problem with eclipse 3.7M4 if I use 3.6.1 there is no problem. It looks like that are some changes with the way showing tooltips for hyperlinks that force this error. Even if I remove in RichTextAttributeEditor.createControl the call of editor.getViewer().getTextWidget().setToolTipText(getDescription()); the error is there. Steffen should I continue to find a fix? Created attachment 185674 [details]
mylyn/context/zip
Hmm, I see a tooltip in various places in the editor that says "Tooltip Defaul Text" even on 3.6. Not sure if that's the same problem or if it's another bug. Can you reproduce the lack of tooltips in a small code snippet? Could be worth filing against SWT. Created attachment 185680 [details] commited patch (In reply to comment #4) > Hmm, I see a tooltip in various places in the editor that says "Tooltip Defaul > Text" even on 3.6. Not sure if that's the same problem or if it's another bug. > > Can you reproduce the lack of tooltips in a small code snippet? Could be worth > filing against SWT. Sorry I did not disable an test statement. Need some work to isolate the problem. I start to tomorrow! Created attachment 185681 [details]
mylyn/context/zip
Created attachment 185790 [details]
patch V2
Steffen,
I found the problem but I need some help to implement a fix.
MultipleHyperlinkPresenter.showHyperlinks(IHyperlink[] activeHyperlinks, boolean takesFocusWhenVisible) is an new method in 3.7 that replace MultipleHyperlinkPresenter.showHyperlinks(IHyperlink[] activeHyperlinks).
This patch is for >= 3.7M4 but how we get this for older versions
Created attachment 185791 [details]
mylyn/context/zip
Created attachment 188115 [details]
backwards compatible approach using delegate
Thanks for investigation this Frank! Unfortunately there is no straight forward approach to make this work in a backwards compatible way that compiles and works on Eclipse 3.4 - 3.6. I have committed the attached patch which uses a delegate and invokes the new API methods through reflection. |