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 128626 - Focus issues in Column View
Summary: Focus issues in Column View
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-27 21:19 UTC by tonybeckham
Modified: 2016-07-07 09:56 UTC (History)
0 users

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 tonybeckham 2008-02-27 21:19:18 UTC
The context menu is not for the node it was invoked upon.  One example: item Delete is disabled for elements of an
imported type because it thinks you want to delete the referenced type.

Steps:
1. Create a new schema add some simple type to it
2. Create another schema and import the first schema
3. In the second schema add a new element of existing type and select the simple type from the import
4. In schema view|column view expand elements|newelement and place focus on the third column (the imported type)
5. Right click newelement and Delete is disabled, you must first select that column or element to enable it.

The delete action in column view acts as you would not typically expect.  I would expect that right clicking on any node
would select that node for performing actions on when in this case it is clearly giving actions for another column.  You
can also see this behavior if to the newelement you add a key (this will bring focus to the new key) then right click
newelement delete is enabled but for the key.
Comment 1 Samaresh Panda 2008-08-15 21:24:08 UTC
This one appears to be only when you select item from other schema. I mean works fine when things are in same schema.
Comment 2 Martin Balin 2016-07-07 09:56:10 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss