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 226980

Summary: After deleting a row, no row is selected, but only focused
Product: platform Reporter: Jaroslav Havlin <jhavlin>
Component: Outline&TreeTableAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal CC: tomzi
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Havlin 2013-03-04 13:10:31 UTC
Steps to reproduce:

1. Select a row in OutlineView that has several rows 
   (e.g. in Search Results window)
2. Press <Delete>
3. The row is deleted, the previous row is focused, but not selected
   (it has white background and black thick border)
4. Press <Delete> again
5. Nothing happens

It would be more comfortable if the same row is still focused and selected, so that it is possible to delete sequence of rows just by pressing <Delete> multiple times.
Comment 1 Martin Entlicher 2013-03-08 18:59:25 UTC
Unfortunately, it's the ExplorerActionsImpl.DeleteActionPerformer, which clears the selection.
Therefore, we should probably incorporate something similar to TreeView.ExplorerTree.ModelHandler.treeNodesRemoved() into the OutlineView.
Comment 2 Jaroslav Havlin 2014-04-04 06:56:54 UTC
*** Bug 243507 has been marked as a duplicate of this bug. ***