This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252884

Summary: OutlineView/ETable quick search should not scroll back on escape, mouse click, or mismatched character
Product: platform Reporter: ebakke
Component: Outline&TreeTableAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description ebakke 2015-06-08 16:25:39 UTC
OutlineView supports "quick search"--if the user starts typing a string, a search panel is opened and the first node matching the string is automatically selected. This is very useful.

The problem is that if the quick search panel is closed via escape, or if the user tries to click to select a node while the quick search panel is open, or if the user types one more character that causes the search string no longer to match, the viewport scrolls back to its original position. This makes the feature frustrating to use, and is inconsistent with how for instance Ctrl+F search works in web browsers.

The incorrect behavior can be seen for instance in the "Search Results" table. To reproduce, be sure to have multiple pages of search results, and search for something far down the list starting from the top.

The "Projects" tab, on the other hand, has the correct behavior. (I think it uses something else than OutlineView.)