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 24766 - Tools | Options popup menu fixes
Summary: Tools | Options popup menu fixes
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on: 28678 28699
Blocks:
  Show dependency tree
 
Reported: 2002-06-14 09:58 UTC by iformanek
Modified: 2008-12-22 19:15 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch diff for xml module (2.04 KB, patch)
2002-06-19 15:53 UTC, David Simonek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2002-06-14 09:58:13 UTC
The Tools | Options tree popup menu should have following 
changes in the nodes popup menu:

- remove "Customize Bean" from all nodes

- change the popup menu on following nodes:
    - Toolbar Configuration nodes
    - System | FileTypes | items
  from XML DO node's popup menu to:

   Cut
   Copy
   Paste
   ----------
   Delete
   Rename
   ----------
   Properties

- change the popup menu on following nodes:
    - System | Filesystem Settings | JavaDoc | items
    - System | Filesystem Settings | Java Lib | items
  from XML DO node's popup menu to:

   Move Up
   Move Down
   ----------
   Cut
   Copy
   Paste
   ----------
   Delete
   Rename
   ----------
   Properties
Comment 1 David Simonek 2002-06-14 16:49:27 UTC
ok, accepting.
Comment 2 David Simonek 2002-06-19 15:53:51 UTC
Created attachment 6327 [details]
patch diff for xml module
Comment 3 David Simonek 2002-06-19 16:11:38 UTC
core side of the bug fixed. temporarily reassigning to xml guys so
that they can review and commit suggested patch. (thanks yarda)

sidenote:
I don't agree with removal of Customize bean action, it's typical case
of cut off of power usage, breaking the vision "common things are
easy, complex possible".
ui team, please, start thread on nbui which justifies this solution,
thanks.

Libor, please review the patch and integrate if you like it. Mark as
fixed then and reassign back. Thx.
Comment 4 _ lkramolis 2002-06-19 18:50:12 UTC
I really like this solution. Now XML module's DataLoader ignore system
filesystem XML files except XML templates.

Already integrated. Reassigning back to Dafe.
Comment 5 _ lkramolis 2002-06-19 18:51:11 UTC
I forgot to close it. Fixed.
Comment 6 Marian Mirilovic 2002-10-16 14:03:02 UTC
Ian:
Customize Bean is still present in popup, if you disagree 
with the fix, reopen.

verified in [nb_dev](20021016)
Comment 7 iformanek 2002-10-16 15:20:12 UTC
Reopening, since I do not agree with the presence of CustomizeBean
action. Will start a thread on nbui as suggested by Dafe, at this
point just reopening so that it is not lost.
Comment 8 iformanek 2002-10-30 16:04:32 UTC
Here's the link to the discussion on nbui:
http://www.netbeans.org/servlets/ReadMsg?msgId=391776&listName=nbui
Comment 9 Peter Zavadsky 2002-11-12 16:27:06 UTC
Fixed in [trunk], the core part.
There are still some nodes which have the CustomizeAction, the
annotation type and editor type nodes belong to editor module issue
#28678.
If you find others, assign to related module, or put it here.

core/../projects/SettingsChildren.java 1.18
Comment 10 iformanek 2002-11-12 16:39:27 UTC
Please do not close this bug unless it is fixed. If the remaining
parts are in other modules, reassign to that module.
Comment 11 Jesse Glick 2002-11-12 17:39:23 UTC
BTW re. removal of CustomizeBeanAction: note that you can still
manually add this action to some global menu (e.g. Edit) and use it
from there if you really want to.
Comment 12 Peter Zavadsky 2002-11-13 09:37:36 UTC
Ian:
 I pointed out the link to the issue which remains in editor module. 
I don't think it is correct that issue should circulate thru modules,
it would break tracking what was fixed and where.

If you prefer, please, create rather dependency tree, with top issue
belonging to ui module pointing to all the relevant ones (in our case
to this one and the editor one).


Jesse: 
 How do you mean it? I think you can't add it to the options node (at
least those ones from core, hopefuly).
Comment 13 iformanek 2002-11-13 09:50:03 UTC
I did file this bug as the master bug for this issue, with all the
details how it should look like. If there are subissues for specific
parts of the fix, they should be created as new issues with the
correct dependency added into this issue. Changing the component to UI
and reopening.
Comment 14 Peter Zavadsky 2002-11-13 10:13:09 UTC
Created subissues, for better tracking.
Comment 15 Jiri Mzourek 2003-02-18 10:58:28 UTC
Those:
- System | Filesystem Settings | JavaDoc | items
- System | Filesystem Settings | Java Lib | items

are not fixed yet, from my point of view. Who should fix them?
Comment 16 Jiri Mzourek 2003-02-24 16:11:53 UTC
It's probably XMLDataObject in openide. 
Comment 17 David Strupl 2003-02-24 16:43:52 UTC
Hello everybody. Aren't we after the UI freeze? Jirka, Ian: does this
mean we should change this part of UI after the freeze? Please confirm
and I will try to find the nodes.
Comment 18 Jiri Mzourek 2003-02-24 17:11:40 UTC
I would like to see it fixed, it's pretty hidden, so I don't think it
will break docs. or any QA tests. Ian, do you agree? 
Comment 19 _ ttran 2003-02-25 08:01:45 UTC
if it's pretty hidden then  why do we really need to fix it now, that
late?
Comment 20 iformanek 2003-02-25 09:36:24 UTC
My reason why this bug should be fixed:
- a good UI is not in several great UI designs, it is mostly about
paying thorough attention to details - like what actions are where in
popup menus. This _is_ important, however silly it may sound from a
non-UI perspective

My reasons why this bug could be fixed now, even though it is after UI
freeze:
- as Jirka points out, the implications of this UI change to docs and
the risk associated is close to zero
- this bug was filed in June 2002, 8 months ago. It is easy to fix (I
assume), so let's get rid of this issue and carry it forward like a
stone tied to our legs, and let's show that we care about UI quality

As always, take this as just my personal, subjective and UI-biased
opinion.
Comment 21 David Strupl 2003-02-25 13:20:55 UTC
Jirka is right - it can be fixed in XMLDataObject$XMLNode. I will
patch it.
Comment 22 David Strupl 2003-02-25 14:19:56 UTC
I have removed default action from LookupNode.Leaf
LookupNode 1.28.

Please note that this fix is not complete since the open action is
still present on some nodes. But it has to be further evaluated as to
where the actions should be specified. If I would change e.g.
LookupNode.Leaf to supply own actions I would disable the ability for
modules to provide nodes with their own actions. Which is in turn IMHO
something we don't want to do. Any comments how this can be done in
clever way are appreciated.
Comment 23 _ ttran 2003-02-25 14:45:19 UTC
Hmm, David do you mean that the fix is not that straight forward?  I
heard you say lookup
Comment 24 David Strupl 2003-02-25 14:52:44 UTC
The fix would be straightforward if someone
  1. tells me the node where to specify the actions
  2. and at the same time not disable the possibility of being able to
specify own actions for Options nodes

Or change some of the core nodes? I don't know which ones. Please
help! LookupNode.Leaf acts only as filter to custom nodes.
Comment 25 _ ttran 2003-02-25 16:46:52 UTC
I discussed w/ David today, from what he said my understanding is that
the issue is actually more complex than we thought.  I'd rather us to
spend time on other issues (P1/P2).

I am lowering this to P3.  This was P2 because we didn't want to
forget about it (but we did, the bug was hiding somewhere for long
time before being moved to core).  Otherwise the bug does not qualify
the definition of P2 bugs.
Comment 26 Marian Mirilovic 2003-03-13 13:43:41 UTC
Changed owner David S. -> David K.
Comment 27 David Konecny 2003-03-19 16:48:20 UTC
Hi, I'm new owner of the datasystem and I would like to ask somebody
from the UI to summarize me what remains to do. This issue is pretty
long and it seems to me that most of the things were already fixed. So
what remains? Thanks in advance.
Comment 28 David Konecny 2003-03-20 10:32:45 UTC
Please summarize what is needed and assign back to me.
Comment 29 Jiri Mzourek 2003-03-20 14:16:42 UTC
I think that those nodes are only remaining now:


- System | Filesystem Settings | JavaDoc | items
- System | Filesystem Settings | Java Lib | items

On mentioned items there should be this pop-up menu structure:

   Move Up
   Move Down
   ----------
   Cut
   Copy
   Paste
   ----------
   Delete
   Rename
   ----------
   Properties

Comment 30 David Konecny 2004-04-01 11:48:21 UTC
Both Java Library and Javadoc nodes were eliminated from Options
dialog as part of the new buildsys.
Comment 31 Marian Mirilovic 2005-07-15 07:49:32 UTC
closed