Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326344 - Left / Right keys do not work in package explorer view
Summary: Left / Right keys do not work in package explorer view
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 15:18 EDT by public CLA
Modified: 2010-09-30 02:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description public CLA 2010-09-27 15:18:00 EDT
Build Identifier: 20100917-0705

Left / Right keys in Package Explorer do nothing at all.

Expected behavior for Left key: if item has children expanded, collapse item; else move cursor one level up in hierarchy.
Expected behavior for Right key: if item has children and is collapsed, expand item; (not sure about case 'else')

Reproducible: Always

Steps to Reproduce:
1. Start Eclipse -- 2. go to "Package Explorer" (having something there to navigate) -- 3. try to navigate in the view using the arrow keys.

Up and Down keys work as expected, but Left and Right keys do not do anything.
Comment 1 Dani Megert CLA 2010-09-28 02:58:16 EDT
Linux is not Windows. We support the native style of dealing with the widgets. Check your OS for details.
Comment 2 public CLA 2010-09-29 15:43:00 EDT
Well, Mozilla Thunderbird, on the same machine, shows the desired behavior.

I went and looked at Gtk+, which I guess you meant when referring to "your OS" and "native style".  (I am not a Windows user at all.  I'm running Gentoo and Gnome.)  For future reference, this is what I found:

Expand using Shift+Right
Collapse using Shift+Left
Navigate upwards using Backspace
Comment 3 Dani Megert CLA 2010-09-30 02:00:29 EDT
(In reply to comment #2)
> Well, Mozilla Thunderbird, on the same machine, shows the desired behavior.
> 
> I went and looked at Gtk+, which I guess you meant when referring to "your OS"
> and "native style".  (I am not a Windows user at all.  I'm running Gentoo and
> Gnome.)  For future reference, this is what I found:
> 
> Expand using Shift+Right
> Collapse using Shift+Left
> Navigate upwards using Backspace

Does it work in your file system explorer?
Comment 4 Dani Megert CLA 2010-09-30 02:01:06 EDT
(In reply to comment #3)
> (In reply to comment #2)
> > Well, Mozilla Thunderbird, on the same machine, shows the desired behavior.
> > 
> > I went and looked at Gtk+, which I guess you meant when referring to "your OS"
> > and "native style".  (I am not a Windows user at all.  I'm running Gentoo and
> > Gnome.)  For future reference, this is what I found:
> > 
> > Expand using Shift+Right
> > Collapse using Shift+Left
> > Navigate upwards using Backspace
> 
> Does it work in your file system explorer?
Sorry, I guess it does and *Shift* + Right/Left also works in Eclipse as expected.