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 88910 - Shift+F10 doesn't work for uml project in some cases
Summary: Shift+F10 doesn't work for uml project in some cases
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords: A11Y, RANDOM
Depends on: 88558
Blocks:
  Show dependency tree
 
Reported: 2006-11-08 11:36 UTC by Andrew Korostelev
Modified: 2009-12-21 05:34 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 Andrew Korostelev 2006-11-08 11:36:52 UTC
If user has created new uml project in NB started in clean userdir, Shift+F10
doesn't work for this project.

There is something specific is reproduction steps...
Please follow them exactly:

- clean userdir and start IDE or start IDE with flag '-userdir /<PATH_TO_USERDIR>'
- Alt+F, Alt+W to open new project creation wizard
- select UML in categories
- press Tab to switch to 'Projects' field
(this step is critical)
- press Enter two times to create new default uml project
project is created and Project node is selected.

Shift+F10 doesn't open popup menu for project tree nodes.
Comment 1 Kris Richards 2006-11-09 20:15:47 UTC
this seems like a NetBeans IDE bug. First note that this cannot happen with other project types because 
they all populate the editor panel and put focus on it. UML is the only project type that does not populate 
the editor panel upon creation.

Also, if the "new project wizard" is opened and immediated canceled then opened once again before using 
the tab and enter keys, this bug does not occurs.
Comment 2 Kris Richards 2006-11-09 21:15:43 UTC
this bug will be eliminated when IZ 88558 is fixed.
Comment 3 Peter Lam 2006-11-09 21:22:16 UTC
The bug also exists if I just use keyboard (no mouse) to create a number of uml
projects, not just the first uml project. I created 3 uml projects and still
can't access context menu with Shift+F10.
Comment 4 Kris Richards 2006-11-10 20:50:36 UTC
putting the "new diagram" dialog back in for empty projects fixed this izzue.
Comment 5 Sergey Petrov 2006-11-10 21:08:20 UTC
I can't verify until Monday but "dialog for empty projects" is configurable and
can be turned off with UML|New Project option, "putting back" shouldn't be
considered a fix for the issue.
Comment 6 Andrew Korostelev 2006-11-13 10:32:56 UTC
is reproducible in ide-coco-061112_2-ml.
but for less common use case:
- clean userdir and start IDE or start IDE with flag '-userdir /<PATH_TO_USERDIR>'
- Alt+T, Alt+O to open Options window.
- Alt+A to switch to advanced mode
- Select 'UML|New Project' in options tree
- Ctrl+Tab to switch to Properties tab.
- change 'Create New Diagram' to 'No' (Backspace > Down_Arrow > Enter )
- Close options window.
Now create new uml project by following steps from the first comments
(akorostelev Wed Nov 8 11:36:52 +0000 2006)


Comment 7 Kris Richards 2006-11-13 21:11:39 UTC
This izzue needs to be passed to Netbeans UI. 

UML creates a project node and hands it off to netbeans to put in the project explorer. The UML code does 
not control it once it is in the tree.
Comment 8 Jesse Glick 2006-11-14 02:58:46 UTC
S-F10 works for all other project types. Please provide a self-contained test
case demonstrating what is unique about UML projects.

Are you positive the keyboard focus is in the Projects tab when you press S-F10?
Even after clicking in the middle of the tab? Or after switching to another
window and back? (Most L&Fs display the window with focus specially, e.g.
drawing the selected tree item with a dark border.)
Comment 9 Milan Kubec 2007-01-03 12:26:52 UTC
Please, could you provide requested info? Thanks.
Comment 10 Andrew Korostelev 2007-01-09 10:40:26 UTC
Could you please clarify what do you name 'self-contained test'.

I can provide exact steps description to reproduce the issue.
- clean userdir and start IDE or start IDE with flag '-userdir /<PATH_TO_USERDIR>'
- install uml using 'Beta update center' of using manually downloaded daily
build (get info from http://uml.netbeans.org )
- Use Alt+F and then Alt+W shortcuts to open new project creation wizard
- Focus is in 'categories' tab. Select UML category by arrow keys.
- press Tab to switch to 'Projects' tab.
- Select 'Java Platform model' by arrow keys.
- press Enter two times to create new default uml project
- 'Create New Diagram' wizard will be opened. Press 'Cancel' to close it.
- project is created. Focus is in 'Projects' tab. Project node 'UMLProject1' is
selected.
- try to open popup menu by Shift+F10.
- move selection to another node in uml project tree by arrow keys. Invoke
Shift+F10 for it.

Shift+F10  doesn't open popup menu for project tree nodes.
Comment 11 Jesse Glick 2007-01-09 18:24:53 UTC
In JDK 6 on Linux, downloading as described into NB 5.5, S-F10 works as expected
on the project root node, on "Model", and on "Diagrams". It does nothing on
"Imported Elements" but neither does right-clicking; presumably there is no
context menu for this node.
Comment 12 Andrew Korostelev 2007-01-10 16:03:57 UTC
I also can't reproduce it on Linux/Unix.
Sorry for loosing this moment...
But it is reproducible under Windows for me.

I set platform/OS to PC/WindowsXP
Comment 13 Milan Kubec 2007-02-14 12:41:00 UTC
I tried four times exactly as described but I wasn't able to reproduce on WinXP.
Lowering priority.
Comment 14 Quality Engineering 2009-12-21 05:34:36 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team