Bug 226049

Summary: [logview] Error view does not have help contexts set up correctly
Product: [Eclipse Project] PDE Reporter: Chris Goldthorpe <cgold>
Component: UIAssignee: Jacek Pospychala <jacek.pospychala>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, curtis.windatt.public, emoffatt, jacek.pospychala
Version: 3.4Keywords: bugday, contributed
Target Milestone: 3.5 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch caniszczyk: iplog+

Description Chris Goldthorpe CLA 2008-04-07 17:31:36 EDT
I20080330-1350

I don't always see the right context help for the Error View and I'm not sure why. I have one installation where it always shows correctly and another where it always shows this default context help:

Each workbench window contains one or more perspectives, which are made up of various views and editors.
See also:
Workbench
Perspectives
Customizing the Workbench

In the case where it fails it seems that following the containment hierarchy of the Text control which has focus does not show any containers which have help contexts set.
Comment 1 Chris Goldthorpe CLA 2008-04-07 17:35:35 EDT
Here is some more information, if the text filter has focus the context does not get set correctly. If the table has focus F1 works fine.
Comment 2 Eric Moffatt CLA 2008-04-08 16:15:15 EDT
Interesting...you can leave the help up, change focus between the filter's edit control and the tree (hitting F1 each time) and see the change.

Passing to PDE...
Comment 3 Jacek Pospychala CLA 2008-08-04 09:37:27 EDT
Created attachment 109065 [details]
patch

Indeed help context was assigned to viewer tree and not whole filtered tree. With attached patch when I press F1 in search filter, help view shows topics related to log view.
Comment 4 Chris Aniszczyk CLA 2008-08-04 11:03:26 EDT
fixed in HEAD.

> 20080804