Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326344

Summary: Left / Right keys do not work in package explorer view
Product: [Eclipse Project] JDT Reporter: public
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, public
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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.