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 93784 - Cannot delete watches in once
Summary: Cannot delete watches in once
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: RANDOM
: 96012 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-01 12:10 UTC by Pavel Flaska
Modified: 2008-12-22 11:38 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Flaska 2007-02-01 12:10:03 UTC
Having debugger running and several watches. When I selected them to the block
and then pressing Del key, just one watch is removed. Repeating will remove all
selected watches.
Comment 1 Martin Entlicher 2007-02-01 13:10:57 UTC
Please provide the build number, IMHO this is already fixed.
I'll try to find the original issue, this problem was already reported.
But thanks anyway :-)
Comment 2 Martin Entlicher 2007-02-01 13:26:31 UTC
This is very likely a duplicate of issue #92312. Please verify if it works fine
since Jan 11. Thanks.

*** This issue has been marked as a duplicate of 92312 ***
Comment 3 Pavel Flaska 2007-02-01 15:06:50 UTC
My build is 070201. The issue is still reproducible. My scenario:
- run debugger,
- open watches view and put there at least two watches,
- select all the watches,
- pres 'Del' key!

No pop-up was called. Throughout action all watches was selected (visualy), but
only last one was removed. If you repeat the action, all watches are removed.

I can demostrate it if you are unable to reproduce.
Comment 4 ehucka 2007-02-08 11:11:31 UTC
Strange, I had reproduced it once and than it always worked. After restart of
ide it worked too.
Comment 5 Martin Entlicher 2007-02-21 10:54:18 UTC
It looks like it's important *HOW* the watches/breakpoints are selected! (see
issue #96012)
When I use SHIFT+mouse-click, all items are deleted, when I use SHIFT+ARROW, it
removes just the first one. Abut after a while I'm not able to reproduce this at
all and it removes all what is selected regardless how.
Comment 6 Martin Entlicher 2007-02-21 10:55:44 UTC
*** Issue 96012 has been marked as a duplicate of this issue. ***
Comment 7 Martin Entlicher 2007-02-21 10:59:10 UTC
During debugging I've found that the problem must be in selected nodes. In
org.openide.explorer.ExplorerActionsImpl.DeleteActionPerformer.actionPerformed()
there manager.getSelectedNodes() returns an array of size 1, even when I've
selected 4 breakpoints.

Moving to explorer for evaluation...
Comment 8 Pavel Flaska 2007-02-21 11:10:29 UTC
Not sure if I used shift+arrow or shift+a, but definitely I'm not using mouse
when selecting items.
Comment 9 Pavel Flaska 2007-06-26 13:00:06 UTC
I'm able to reproduce it, not always, but really often.
Comment 10 Petr Nejedly 2007-07-04 14:11:44 UTC
TTV->Standa
Comment 11 Stanislav Aubrecht 2007-07-04 15:02:51 UTC
i'm not able to reproduce it so far
Comment 12 Pavel Flaska 2007-07-13 14:30:38 UTC
Not sure if it is connected, but I have some feeling that it matters how it is selected and how fast I do it. Mostly, I
stay at the last variable, select all others and press del key. (Mostly I select all of them by pressing shift and up
arrow.) 
Comment 13 Stanislav Aubrecht 2008-06-18 16:07:15 UTC
still not reproducible in latest build - closing
pls reopen if you can reproduce