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

Bug 363369

Summary: Ctrl + Page Up, Ctrl + Page Down don't work on xml tabs
Product: [Eclipse Project] Platform Reporter: another_sam <fuljencio>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description another_sam CLA 2011-11-09 14:13:08 EST
Build Identifier: I20110613-1736

When a .xml file is being edited, Ctrl + Page Up, and Ctrl + Page Down keyboard shortcuts don't work.

They should, respectively, make the previous and the next tab to be selected. But they don't.

Ubuntu 11.10, Eclipse 3.7.0, editing an Android application.

Reproducible: Always

Steps to Reproduce:
1. Open Eclipse
2. Open, two .java files, and one .xml file
3. Check you have the tabs in this order: .java, .java, .xml
4. Click on the first tab
5. Press the key "Page Down" twice
6. Press the key "Page Up" once

What happens:
Step 6 does nothing.

What should happen:
Step 6 makes Eclipse to select the second tab.
Comment 1 another_sam CLA 2011-11-09 14:43:31 EST
(In reply to comment #0)
> Build Identifier: I20110613-1736
> 
> When a .xml file is being edited, Ctrl + Page Up, and Ctrl + Page Down keyboard
> shortcuts don't work.
> 
> They should, respectively, make the previous and the next tab to be selected.
> But they don't.
> 
> Ubuntu 11.10, Eclipse 3.7.0, editing an Android application.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Open Eclipse
> 2. Open, two .java files, and one .xml file
> 3. Check you have the tabs in this order: .java, .java, .xml
> 4. Click on the first tab
> 5. Press the key "Page Down" twice
> 6. Press the key "Page Up" once
> 
> What happens:
> Step 6 does nothing.
> 
> What should happen:
> Step 6 makes Eclipse to select the second tab.

It only happens with the "Graphical Layout" inner tab. If you select the raw XML view, works well.
Comment 2 Remy Suen CLA 2011-11-09 16:25:08 EST
And what if you don't edit Android XML files?
Comment 3 another_sam CLA 2011-11-09 17:03:33 EST
(In reply to comment #2)
> And what if you don't edit Android XML files?

Works well in both sub-tabs ("Design", and "Source").

The problem seems specific of the "Graphical Layout" sub-tab of the ADT Plugin.
Comment 4 Remy Suen CLA 2011-11-09 17:06:01 EST
(In reply to comment #3)
> The problem seems specific of the "Graphical Layout" sub-tab of the ADT Plugin.

Please open a bug with the developers of the ADT plug-in.
Comment 5 another_sam CLA 2011-11-09 17:08:21 EST
(In reply to comment #4)
> (In reply to comment #3)
> > The problem seems specific of the "Graphical Layout" sub-tab of the ADT Plugin.
> 
> Please open a bug with the developers of the ADT plug-in.

OK. Excuse me. And thanks for your super-fast replies!