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 37328 - focus moves from popup menu to the tree
Summary: focus moves from popup menu to the tree
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: t_h
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-19 09:01 UTC by bnv
Modified: 2008-12-23 10:42 UTC (History)
4 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 bnv 2003-11-19 09:01:12 UTC
Product Version = Sun Java Studio Interprise
2004Q1 (Build 031024_1)
IDE Versioning = IDE/1 spec=3.42.2.0.1 impl=031024_1
Operating System= SunOS version 5.8 running on sparc
Java; VM; Vendor      = 1.4.2

   To reproduce the bug:

 1. right-click on any node in the Explorer
 2. wait for the popup menu
 3. right-click on the other node in the Explorer
 4. wait for the popup menu 
 5. push down/up arrow keys
 
 ISSUE: Focus should be in the popup menu, but it
is in the tree. Impossible to select any item in
the popup menu with down/up arrow keys.
  The next node is selected instead of the next
menu item.
Comment 1 Jiri Rechtacek 2003-12-01 10:45:21 UTC
Known bug. I'm not sure when it will be fixed.
Comment 2 Jiri Rechtacek 2004-04-23 10:46:08 UTC
Assigned to new owner.
Comment 3 Petr Nejedly 2005-03-18 10:06:08 UTC
I'll try to fix this.
Comment 4 Petr Nejedly 2005-03-18 12:21:56 UTC
Strange that similar code for popup menu works OK with ListView but doesn't work
with TreeView
Comment 5 Petr Nejedly 2005-03-18 15:19:14 UTC
When testing it on TreeView, there are focus events comming from FocusManager:
temporal FOCUS_LOST in the case of first menu invocation and permanent
FOCUS_GAINED after the menu reinvocation.
Invoking menu on ListView cause no FocusEvents though. That seems to be the problem.
Comment 6 Petr Nejedly 2005-03-29 14:25:35 UTC
Failed to fix that for now, but it is not a P3 anyway...
Comment 7 Antonin Nebuzelsky 2008-02-07 16:13:47 UTC
Reassigning to new module owner Tomas Holy.
Comment 8 t_h 2008-11-06 17:17:13 UTC
Works for me (tried win and linux)