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.
[ BUILD # : 201011190001 ] [ JDK VERSION : 1.6.22 ] Steps to reproduce: 1) Right-click project, select "Versioning / Import into Subversion Repository". 2) Click "Next" after entering repo information. 3) In "Repository Folder" step, click "Browse" (in this case, the default was "tasklist-prime"). 4) Multiple entries are selected (see screenshot).
Created attachment 103107 [details] screenshot
Created attachment 105780 [details] Browse Repository Folders dialog screenshot Bug reproduced on Windows XP machine with latest build: Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102052128) Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
fix: http://hg.netbeans.org/core-main/rev/282f4885ba33
Integrated into 'main-golden', will be available in build *201103080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/282f4885ba33 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #192181 - multiple Subversion import folders selected
Product Version: NetBeans IDE Dev (Build 201103080000) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Linux version 2.6.32-29-generic running on i386; UTF-8; en_US (nb) Bug has been fixed in Import dialog, however still occurs in Checkout dialog.
caused by an improved performance fix in ETable: #70bd83e8f43f How to reproduce: 1) Unpack attached subversion repository somewhere 2) Invoke Subversion -> Checkout 3) Enter file://PATH_TO_THE_REPOSITORY, click on Next 4) Enter 195877 as Repository Folder and click on Browse 5) For a while (when other folders are being loaded from the repository), the 195877 folder is correctly selected, but when the nodes are loaded and input into the model, the selection is changed and all nodes are selected.
Created attachment 106821 [details] svn repository
It looks like this is just swing behavior. JTable.tableRowsInserted() calls DefaultListSelectionModel.insertIndexInterval(), where it adds selection to the inserted lines when the original index was selected. Therefore it stretches the selection. So according to the Swing implementation, this behavior is correct!
I've introduced ETableSelectionModel, which changes the original Swing behavior and does not extend the selection with inserted lines. Fixed by changeset: 190985:6d91003a89b2 http://hg.netbeans.org/main/rev/6d91003a89b2
Integrated into 'main-golden', will be available in build *201103150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/6d91003a89b2 User: mentlicher@netbeans.org Log: #192181 Introduce ETableSelectionModel to prevent from automatic selection of inserted lines.