Bug 526329 - Keys/Shortcut such as Ctrl + Z/A stop working in Editors
Summary: Keys/Shortcut such as Ctrl + Z/A stop working in Editors
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7.1a   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2017-10-20 17:35 EDT by NoDataFound - CLA
Modified: 2017-11-10 06:45 EST (History)
1 user (show)

See Also:


Attachments
Trace of bindings (200.73 KB, application/octet-stream)
2017-10-20 17:39 EDT, NoDataFound - CLA
no flags Details
Trace of bindings after going to the Preference > Keys (55.62 KB, application/octet-stream)
2017-10-20 17:46 EDT, NoDataFound - CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description NoDataFound - CLA 2017-10-20 17:35:01 EDT
Hello,

Since I updated my Eclipse from Oxygen to Oxygen 1a, I have keys (shortcut) problem on my workspace: some or all key stroke fail to activate anything (but I can type some text); I can reproduce it, but I don't know how to as it is pretty random

- Ctrl + Z to Undo or Ctrl + A to select all fails to do anything
- Ctrl + 1 (or Ctrl + Maj + 1 on French keyboard) fail to open the Quick Assist
- Not always, but Ctrl Space fails to open completion
- Shortcut such as Ctrl + W (Close current editor), Ctrl + C/X or Ctrl + Shift + T still works.
- At first, I though it was only Java Editor, but I had the same problem in the XML Editor (Maven POM Editor in fact)
- I restarted Eclipse and I could not Select all using Ctrl + A in the Installation Details screen; eg: this also fails in non Editor component.

Note that I have the problem on two different PC, this one which use the Java IDE, and one at work using Eclipse for RCP and RAP Developers.
I also tried to clean the workspace on work PC, without success.


-- Configuration Details --
Product: Eclipse 4.7.1.20171005-1200 (org.eclipse.epp.package.java.product)

Installed Features:
 org.eclipse.platform 4.7.1.v20171009-0410

  Autodetect Encoding	1.8.4.201708052053	eclipse.encoding.plugin.feature.feature.group	Shinji Kashihara
  Bash Editor	1.1.0	de.jcup.basheditor.feature.group	Albert Tregnaghi
  Code Recommenders for Java Developers	2.4.10.v20170911-1410	org.eclipse.recommenders.rcp.feature.feature.group	Eclipse Code Recommenders
  Code Recommenders Mylyn Integration	2.4.10.v20170911-1410	org.eclipse.recommenders.mylyn.rcp.feature.feature.group	Eclipse Code Recommenders
  Code Recommenders News Feed	2.4.10.v20170911-1410	org.eclipse.recommenders.news.rcp.feature.feature.group	Eclipse Code Recommenders
  Code Recommenders Snipmatch	2.4.10.v20170911-1410	org.eclipse.recommenders.snipmatch.rcp.feature.feature.group	Eclipse Code Recommenders
  DataHierarchy	1.0.3.201702120923	DataHierarchy.feature.group	Andrey Loskutov
  EclEmma Java Code Coverage	3.0.0.201706140232	org.eclipse.eclemma.feature.feature.group	Eclipse EclEmma
  Eclipse IDE for Java Developers	4.7.1.20171009-0410	epp.package.java	Eclipse Packaging Project
  Eclipse XML Editors and Tools	3.9.1.v201707252002	org.eclipse.wst.xml_ui.feature.feature.group	Eclipse Web Tools Platform
  Git integration for Eclipse	4.8.0.201706111038-r	org.eclipse.egit.feature.group	Eclipse EGit
  Git integration for Eclipse - Task focused interface	4.8.0.201706111038-r	org.eclipse.egit.mylyn.feature.group	Eclipse EGit
  Java Hex Editor	0.5.1.201708091251	net.sourceforge.javahexeditor.feature.group	Jordi Bergenthal, Andre Bossert, Peter Dell, Andrey Loskutov
  Java implementation of Git	4.8.0.201706111038-r	org.eclipse.jgit.feature.group	Eclipse JGit
  m2e - Maven Integration for Eclipse (includes Incubating components)	1.8.2.20171007-0217	org.eclipse.m2e.feature.feature.group	Eclipse.org - m2e
  m2e - slf4j over logback logging (Optional)	1.8.2.20171007-0217	org.eclipse.m2e.logback.feature.feature.group	Eclipse.org - m2e
  MoreUnit For Java	3.1.1	org.moreunit.feature.group	MoreUnit.org
  MoreUnit For Java: Mock Support	3.1.1	org.moreunit.mock.feature.group	MoreUnit.org
  MoreUnit Light	3.1.1	org.moreunit.light.feature.group	MoreUnit.org
  Mylyn Bitbucket Connector	1.1.0.201404131451	org.eclipse.mylyn.bitbucket.feature.feature.group	Peter P. Lupo
  Mylyn Builds Connector: Hudson/Jenkins	1.15.0.v20170411-2141	org.eclipse.mylyn.hudson.feature.group	Eclipse Mylyn
  Mylyn Context Connector: Eclipse IDE	3.23.0.v20170411-2108	org.eclipse.mylyn.ide_feature.feature.group	Eclipse Mylyn
  Mylyn Context Connector: Java Development	3.23.0.v20170411-2108	org.eclipse.mylyn.java_feature.feature.group	Eclipse Mylyn
  Mylyn Task List	3.23.1.v20170623-0008	org.eclipse.mylyn_feature.feature.group	Eclipse Mylyn
  Mylyn Task-Focused Interface	3.23.0.v20170414-0629	org.eclipse.mylyn.context_feature.feature.group	Eclipse Mylyn
  Mylyn Tasks Connector: Bugzilla	3.23.1.v20170623-0008	org.eclipse.mylyn.bugzilla_feature.feature.group	Eclipse Mylyn
  Mylyn Versions Connector: Git	1.15.0.v20170411-2003	org.eclipse.mylyn.git.feature.group	Eclipse Mylyn
  Mylyn WikiText	3.0.6.201703111926	org.eclipse.mylyn.wikitext_feature.feature.group	Eclipse Mylyn
  Pitclipse	1.1.6.201607050705	org.pitest.pitclipse.feature.feature.group	null
  QuickREx Feature	4.3.0	com.netcetera.eclipse.quickrex.feature.feature.group	Netcetera
  Regex find/replace dialog	1.0.1.201706031318	com.florianingerl.regexfindandreplace.feature.feature.group	Florian Ingerl
  ResourceBundle Editor	1.0.6	com.essiembre.eclipse.rbe.feature.group	Pascal Essiembre
  SpotBugs Feature	3.1.0.20170610-1497060633070	com.github.spotbugs.plugin.eclipse.feature.group	SpotBugs Project
  Typesafe Config Hocon Feature	1.0.6.201709081208	com.typesafe.hocon.sdk.feature.group	null
  UCDetector	2.0.0	org.ucdetector.feature.feature.group	Jörg Spieler
Comment 1 NoDataFound - CLA 2017-10-20 17:39:11 EDT
Created attachment 271129 [details]
Trace of bindings

Attached some log, with the following traces enabled:

org.eclipse.ui/debug=true
org.eclipse.ui/trace/keyBindings=true
org.eclipse.ui/trace/keyBindings.verbose=true
org.eclipse.ui/trace/sources=true
org.eclipse.ui/trace/handlers=true
org.eclipse.ui/trace/handlers.verbose=true
org.eclipse.ui/trace/contexts=true
org.eclipse.ui/trace/contexts.verbose=true
Comment 2 NoDataFound - CLA 2017-10-20 17:46:53 EDT
Created attachment 271130 [details]
Trace of bindings after going to the Preference > Keys

Traces when the keys are working as intended.
Comment 3 Dani Megert CLA 2017-11-07 09:58:48 EST
Can you reproduce it using 4.8 M3a:
http://download.eclipse.org/eclipse/downloads/drops4/S-4.8M3a-201710300400/
?
Comment 4 NoDataFound - CLA 2017-11-07 11:06:54 EST
I'll try that at home. 

However, is there anything I could do to enable other traces to my current installation ? (or to 4.8M3a)
Comment 5 NoDataFound - CLA 2017-11-09 18:33:54 EST
The problem seems to be gone on Photon, on the version you pointed. 

That is based on a simple test: running Photon on a copy of my default workspace. If I run the 4.7 version on the original workspace, the Ctrl A is ineffective while it is on the 4.8M3a.

However, I don't have the same plugins than the 4.7 Eclipse. 

- I don't have the problem (again on startup) is this version: 
http://download.eclipse.org/eclipse/downloads/drops4/R-4.7.1a-201710090410/
- I tried a fresh install + workspace + All plugins from previous install using "import plugins from existing installation" -> Same problem.

I Removed those plugins (they are coming from Market place): without them, no problems:

- Autodetect Encoding
- Bash Editor
- Java Hex Editor
- Pitclipse
- QuickREx Feature
- Regex find/replace dialog
- ResourceBundle Editor
- SpotBugs
- Typesafe Config Hocon
- UCDetector
- MoreUnit For Java
- MoreUnit For Java: Mock Support
- MoreUnit Light

These two plugins are new additions to my collection:

- Regex find/replace dialog -> Problem (https://marketplace.eclipse.org/content/findreplace-regular-expressions-and-match-evaluators)
- Java Hex Editor -> No problem


+ Photon + Regex find/replace dialog => Problem

Problem aside, the plugin was promising as it allow the user to replace code using Java instead of plain text.

=> I close the problem as it is not related to Eclipse. I'll let the author know on the marketplace page.
Comment 6 Dani Megert CLA 2017-11-10 06:45:45 EST
(In reply to NoDataFound - from comment #5)
> => I close the problem as it is not related to Eclipse. I'll let the author
> know on the marketplace page.

Thanks.