Bug 516932 - [key binding] Focus on editor tab after opening in empty workbench page - key bindings no longer working
Summary: [key binding] Focus on editor tab after opening in empty workbench page - key...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 03:59 EDT by Dennis CLA
Modified: 2021-07-26 00:53 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis CLA 2017-05-19 03:59:02 EDT
Steps to reproduce:

1. Open any file
2. Press Ctrl+M to Max. the editor
3. Press Ctrl+Alt+W to close all editors
4. Press Ctrl+Alt+R, and select a java file in resource dialog
   Note: The focus is on the file name tab, rather than on the editor
5. Press Ctrl+/ -- should toggle comment but not responding
6. Press Ctrl+M -- should resize edit but adding new lines
7. Press Ctrl+Z -- should undo but nothing happen

8. Press Ctrl+3 -- can open quick access as expected
9. Press Ctrl+Alt+l -- the "current" hotkey show correctly

The hotkeys will resume by either,

a. switch focus to any other view and switch back
b. open another file, and switch between editor
Comment 1 Dani Megert CLA 2017-05-24 06:08:27 EDT
(In reply to Dennis from comment #0)
> 3. Press Ctrl+Alt+W to close all editors

You probably meant Ctrl+Shift+W


> 4. Press Ctrl+Alt+R, and select a java file in resource dialog

You probably meant Ctrl+Shift+R


I cannot reproduce this using
http://download.eclipse.org/eclipse/downloads/drops4/S-4.7RC1-201705181030/download.php?dropFile=eclipse-SDK-4.7RC1-win32-x86_64.zip
and a new workspace.
Comment 2 Dennis CLA 2017-05-25 02:45:01 EDT
Yes. I meant Ctrl+Shift+

Just re-try to reproduce in a clean workspace, and realize that it may need extra precondition .


-2. open Java Perspective
-1. minimize all views (outline/ problems/package explorer/ etc)
0. you should get a very blank screen and few icons around




---
In case if it does matter, the following features are installed.

  API Tools Execution Environment Descriptions	1.0.1.v20170118-0848	org.eclipse.pde.api.tools.ee.feature.feature.group	Eclipse.org
  Code Recommenders for Java Developers	2.4.7.v20170315-0759	org.eclipse.recommenders.rcp.feature.feature.group	Eclipse Code Recommenders
  Eclipse Faceted Project Framework	3.7.0.v201505072140	org.eclipse.wst.common.fproj.feature.group	Eclipse Web Tools Platform
  Eclipse Faceted Project Framework JDT Enablement	3.8.0.v201603091933	org.eclipse.jst.common.fproj.enablement.jdt.feature.group	Eclipse Web Tools Platform
  Eclipse Java Development Tools	3.13.0.v20170512-0500	org.eclipse.jdt.feature.group	Eclipse.org
  Eclipse Java EE Developer Tools	3.9.0.v201701262152	org.eclipse.jst.enterprise_ui.feature.feature.group	Eclipse Web Tools Platform
  Eclipse Jetty Feature	3.9.0	net.sourceforge.eclipsejetty.feature.feature.group	Christian Köberl
  Eclipse Platform	4.7.0.I20170512-0500	org.eclipse.platform.ide	Eclipse.org
  Eclipse Web Developer Tools	3.9.0.v201701262152	org.eclipse.wst.web_ui.feature.feature.group	Eclipse Web Tools Platform
  Eclipse XML Editors and Tools	3.9.0.v201701262152	org.eclipse.wst.xml_ui.feature.feature.group	Eclipse Web Tools Platform
  Git integration for Eclipse	4.7.0.201704051617-r	org.eclipse.egit.feature.group	Eclipse EGit
  Java implementation of Git	4.7.0.201704051617-r	org.eclipse.jgit.feature.group	Eclipse JGit
  JavaScript Development Tools	2.0.200.v201612211424	org.eclipse.wst.jsdt.feature.feature.group	Eclipse Web Tools Platform
  JavaScript Development Tools Chromium/V8 Remote Debugger	0.6.0.v201703091846	org.eclipse.wst.jsdt.chromium.debug.feature.feature.group	Eclipse Web Tools Platform
  JAX-WS DOM Tools	1.0.302.v201504272154	org.eclipse.jst.ws.jaxws.dom.feature.feature.group	Eclipse Web Tools Platform
  JAX-WS Tools	1.2.300.v201701262158	org.eclipse.jst.ws.jaxws.feature.feature.group	Eclipse Web Tools Platform
  JST Server Adapters	3.2.400.v201606081655	org.eclipse.jst.server_adapters.feature.feature.group	Eclipse Web Tools Platform
  JST Server Adapters Extensions	3.3.600.v201609072248	org.eclipse.jst.server_adapters.ext.feature.feature.group	Eclipse Web Tools Platform
  JST Server UI	3.4.300.v201606081655	org.eclipse.jst.server_ui.feature.feature.group	Eclipse Web Tools Platform
  TM Terminal	4.2.0.201609201752	org.eclipse.tm.terminal.feature.feature.group	Eclipse.org - Target Management
  WST Server Adapters	3.2.500.v201703012025	org.eclipse.wst.server_adapters.feature.feature.group	Eclipse Web Tools Platform
Comment 3 Dani Megert CLA 2017-05-25 04:40:34 EDT
(In reply to Dennis from comment #2)
> Yes. I meant Ctrl+Shift+
> 
> Just re-try to reproduce in a clean workspace, and realize that it may need
> extra precondition .
> 
> 
> -2. open Java Perspective
> -1. minimize all views (outline/ problems/package explorer/ etc)
> 0. you should get a very blank screen and few icons around


Thanks for the additional steps. I can reproduce it now. Key is to get rid of all views (minimize or close).

1. Start with new workspace
2. Close Welcome page
3. Paste "public class C {}" into the 'Package Explorer'
4. Close all views and the editor
5. Open the file again via 'Open Resource' or 'Open Type'
6. Close it again
7. Open the file again via 'Open Resource' or 'Open Type'
==> Focus is on Tab instead of editor
8. Click into the editor
==> Many key bindings don't work


Broken since at least 4.3.
Comment 4 Dani Megert CLA 2017-05-25 04:42:18 EDT
(In reply to Dani Megert from comment #3)
> Broken since at least 4.3.

4.4 that is.
Comment 5 Eclipse Genie CLA 2021-07-26 00:53:41 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.