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.
Summary: | Shift+F10 doesn't work for uml project in some cases | ||
---|---|---|---|
Product: | projects | Reporter: | Andrew Korostelev <akorostelev> |
Component: | Generic Projects UI | Assignee: | Milan Kubec <mkubec> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | issues, krichard, mbudris |
Priority: | P4 | Keywords: | A11Y, RANDOM |
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 88558 | ||
Bug Blocks: |
Description
Andrew Korostelev
2006-11-08 11:36:52 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. this bug will be eliminated when IZ 88558 is fixed. 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. putting the "new diagram" dialog back in for empty projects fixed this izzue. 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. 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) 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. 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.) Please, could you provide requested info? Thanks. 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. 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. 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 I tried four times exactly as described but I wasn't able to reproduce on WinXP. Lowering priority. 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 |