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: | [SDI] Project and Files tab doesn't receive focus after switch to it | ||
---|---|---|---|
Product: | projects | Reporter: | sebastianm <sebastianm> |
Component: | Generic Projects UI | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | bht, dsimonek, mkleint |
Priority: | P3 | Keywords: | A11Y, FOCUS |
Version: | 4.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
sebastianm
2004-03-24 11:51:43 UTC
the same happens when you just switch to Project tab. Focus is 'somewhere' and you need one more click into tree to start navigation by keyboard. changing summary to express better what's about. TM=promo-D *** Issue 39836 has been marked as a duplicate of this issue. *** in build 20040613 switching to projects tab doesn't work at all. correction. it works for j2se project type, is not working for netbeans project (apisupport) type where it's not implemented -> works for the supported usecase. the current 4.0 projects tab is a different component than the 3.6 projects tab so the issue got fixed during the rewrite probably. All components beaving the same way now (Projects/Files/Favourites/Versioning) actually after fixing #41681 it should not happen at all. please try in to verify in builds after 4/8/2004. Closed. It's too old. Hi, I use the 4.1 IDE and it's still there. Maybe it is not in the latest build which I haven't tried. I can reproduce it as follows: In SDI mode, I am in the Explorer window, full screen. When I Use [Alt+arrow] to switch between tabs, then the highlighted tree nodes cannot get focus with the keyboard unless I click on them once again with the mouse. The bug is in the Files and the Project tabs but not in the Favorite and Runtime tabs. Yes, confirmed, scenario from user bht is fully reproductible. Passing to projects, where Projects and Files components belong. Dafe, is there some documented code snippet you need to use in your TC impl to make this work correctly? If so, does the TC impl template in apisupport/project do it correctly? If not, could you file a bug report with details to correct it? Should be fixed in the trunk: Checking in src/org/netbeans/modules/project/ui/ProjectTab.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/ProjectTab.java,v <-- ProjectTab.java new revision: 1.29; previous revision: 1.28 done So you're supposed to override *both* requestFocus() and requestFocusInWindow()? Or what? yes. requestfocus is used in sdi and RFInWindow is used in mdi. actually it's qute convenienet that the bug was fixed now, as I figured that the only workaround for #60235 to work on macosx in 1.5 is to call requestFocus() instead of requestFocusInWindow *** Issue 66068 has been marked as a duplicate of this issue. *** |