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 223266 - Components in toolbar overflow are not focusable
Summary: Components in toolbar overflow are not focusable
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords: PATCH_AVAILABLE
Depends on:
Blocks:
 
Reported: 2012-12-04 15:55 UTC by jtau8042
Modified: 2012-12-12 02:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JDev workaround for bug 15868469 (633 bytes, patch)
2012-12-04 15:55 UTC, jtau8042
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jtau8042 2012-12-04 15:55:56 UTC
Created attachment 128848 [details]
JDev workaround for bug 15868469

Reproduce step:
  1) open Java project 
  2) create multiple Run configurations to populate toolbar combobox
  3) select item in the "Projects" window
  4) shrink the NB window to make the combobox overflow
  5) select the overflow handle, click on combobox
  6) when popup with configurations appears press up and down arrows

Instead of selecting configuration the selection in the "Projects" window changes. Keyboard focus is not transferred to the combo box in the popup. In fact the focus is not transferred to any component in the popup.

This error is manifested in the JDev by bug 15868469 where search field is not focusable if it is overflown. Can be solved by attached invoker.patch. But this patch breaks the combo boxes. When any popup from combobbox (or buttons with popups) is displayed the original popup disappears. Keyboard focus is not transferred to comboboxes and the last item "Customize..." in Run configurations combobox doesn't work.
Comment 1 Theofanis Oikonomou 2012-12-10 14:26:44 UTC
I tried to fix this in netbeans side but the fix seems to be complicated and error prone. Since the toolbar with the global search contains just this one component I would suggest to not use the ToolbarWithOverflow but the plain Toolbar. That way it would be visible all the time and will not get into the overflow. Thank you
Comment 2 Theofanis Oikonomou 2012-12-11 12:51:07 UTC
Now there is a way to use the plain Toolbar. Fixed: http://hg.netbeans.org/core-main/rev/d048940961cf
Comment 3 Quality Engineering 2012-12-12 02:44:35 UTC
Integrated into 'main-golden', will be available in build *201212120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d048940961cf
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #223266 - Components in toolbar overflow are not focusable