Bug 287653 - Newly selected tab jumps away from the mouse
Summary: Newly selected tab jumps away from the mouse
Status: RESOLVED DUPLICATE of bug 296307
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: tabbed pages (show other bugs)
Version: 4.2.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-27 01:39 UTC by Szczepan Hołyszewski
Modified: 2013-04-04 09:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szczepan Hołyszewski 2011-11-27 01:39:36 UTC
Version:           4.2.3 (using KDE 4.7.3) 
OS:                Linux

When switching tabs, the tab widget attempts to scroll so that the newly selected tab is in the rightmost visible position, even if the newly selected tab is already completely in view. If the switching is done directly with the mouse (as opposed to selecting a document from the Documents pane, or programmatically from a script), this has the effect of the tab "jumping away from the mouse". Very distracting!


Reproducible: Always

Steps to Reproduce:
1. Open enough files to overflow the tab widget by a factor >2.
2. Scroll the tab widget all the way to the rightmost tab.
3. Click on another tab.

Actual Results:  
The tab widget scrolls so that the newly selected tab is the last visible (first from the right).

Expected Results:  
The tab widget should not be scrolled if the newly selected tab is already completely in view.

I suspect an insufficiently careful implementation of scroll-into-view feature.
Comment 1 Aleix Pol 2013-04-04 01:34:26 UTC

*** This bug has been marked as a duplicate of bug 296307 ***
Comment 2 Szczepan Hołyszewski 2013-04-04 09:51:16 UTC
Why did you mark this older bug as a duplicate of that newer one?