Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311276

Summary: [discovery] opening tooltip can cause catalog to scroll
Product: [Eclipse Project] Equinox Reporter: Steffen Pingel <steffen.pingel>
Component: p2Assignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: greensopinion, shawn.minto
Version: unspecifiedFlags: shawn.minto: review+
Target Milestone: 3.6 RC1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
disable automatic scrolling
shawn.minto: review+
mylyn/context/zip none

Description Steffen Pingel CLA 2010-05-01 04:38:18 EDT
Steps:
1. Open discovery wizard
2. Scroll down
3. Press Info tooltip on catalog item
4. Click into catalog viewer to close tooltip

The problem is that clicking the toolbar button on Gtk does not cause the button to obtain focus. Once the tooltip disappears the first cchild ontrol in the viewer grabs the focus and hence the viewer scrolls to make this control visible.
Comment 1 Steffen Pingel CLA 2010-05-10 18:13:06 EDT
Created attachment 167835 [details]
disable automatic scrolling
Comment 2 Steffen Pingel CLA 2010-05-10 18:13:08 EDT
Created attachment 167836 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2010-05-10 18:15:46 EDT
The patch re-introduces a problem with keyboard navigation which is tracked on bug 312348. The unintended scrolling is a far worse usability problem though therefore I would prefer to disable automatic scrolling on focus which avoids that.
Comment 4 Shawn Minto CLA 2010-05-10 18:27:49 EDT
I agree with Steffen that unintended scrolling is much worse than a problem with keyboard navigation.
Comment 5 Steffen Pingel CLA 2010-05-11 03:25:23 EDT
Thanks. Released.