Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 578135 - A conflict occurred for ALT+COMMAND+R
Summary: A conflict occurred for ALT+COMMAND+R
Status: RESOLVED MOVED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.22   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 578364 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-10 06:41 EST by Christian Dietrich CLA
Modified: 2022-01-25 08:04 EST (History)
4 users (show)

See Also:


Attachments
Install Details (5.74 MB, text/plain)
2022-01-10 06:42 EST, Christian Dietrich CLA
no flags Details
Dont see anything under user (777.70 KB, image/png)
2022-01-10 08:13 EST, Christian Dietrich CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Dietrich CLA 2022-01-10 06:41:15 EST
i can find this in my .log on mac

!SUBENTRY 1 org.eclipse.jface 2 0 2022-01-10 11:14:45.490
!MESSAGE A conflict occurred for ALT+COMMAND+R:
Binding(ALT+COMMAND+R,
	ParameterizedCommand(Command(org.eclipse.ui.edit.rename,Rename,
		Rename the selected item,
		Category(org.eclipse.ui.category.file,File,null,true),
		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@64a4739,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,cocoa,system)
Binding(ALT+COMMAND+R,
	ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.rename.element,Rename - Refactoring ,
		Rename the selected element,
		Category(org.eclipse.jdt.ui.category.refactoring,Refactor - Java,Java Refactoring Actions,true),
		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@7ab3f194,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,cocoa,system)
Comment 1 Christian Dietrich CLA 2022-01-10 06:42:39 EST
Created attachment 287802 [details]
Install Details
Comment 2 Christian Dietrich CLA 2022-01-10 06:53:24 EST
am not sure if this is a migration problem or something like that.
in vanilla M1 i see only one of the commands with a binding
Comment 3 Andrey Loskutov CLA 2022-01-10 07:08:26 EST
The JDT UI code that defines org.eclipse.jdt.ui.edit.text.java.rename.element seem to be untouched since 2005.
Comment 4 Christian Dietrich CLA 2022-01-10 07:09:30 EST
hmm i see user bindings
but i cannot remember to have ever set them.
Comment 5 Christian Dietrich CLA 2022-01-10 07:10:33 EST
i also see the same on windows.
where i also cannot remember to have ever set them.
am not sure where they are coming from
(e.g. oomph etc)
Comment 6 Christian Dietrich CLA 2022-01-10 07:26:47 EST
and on my linux too.
in older versions this does  not seem to be reported as an error.
but the editor for keybindings shows it as conflict
Comment 7 Christian Dietrich CLA 2022-01-10 07:34:07 EST
indeed. an update brings back problem in  workspace that was with 2021-12
and the conflict before, but the conflict was not reported back then.
but i still have no clue where the bad user bindings come from
Comment 8 Christian Dietrich CLA 2022-01-10 07:40:43 EST
looks like custom keybindings are also there on a freshly oomphed committers workspace
Comment 9 Christian Dietrich CLA 2022-01-10 07:51:22 EST
ok.i can also see this in a freshly oomphed 2021-12 eclipse committers ide
Comment 10 Christian Dietrich CLA 2022-01-10 07:57:27 EST
@Andrey does Eclipse store user keybindings somewhere so that they are visible to multiple installs? if yes where?

@Ed could oomph play a role here?
Comment 11 Ed Merks CLA 2022-01-10 08:08:46 EST
There are key binding tasks, but you'd probably be aware if you wrote those.

Perhaps you've recorded an entire set of key bindings as a preference.

Look in Navigate -> Open Setup -> User and look in the "User Preferences section".  Note that Ctrl-F works in that editor.    There's also Open in Text Editor in the context menu but of course textual editing can easily corrupt the file.
Comment 12 Christian Dietrich CLA 2022-01-10 08:11:42 EST
no i did not write any.
and i can see the problem with a fresh
commiters or java ide too.
so the question would be where oomph stores these in user dirs
Comment 13 Christian Dietrich CLA 2022-01-10 08:13:42 EST
Created attachment 287803 [details]
Dont see anything under user
Comment 14 Christian Dietrich CLA 2022-01-10 08:17:27 EST
what is your eclipse workspace dir
Comment 15 Christian Dietrich CLA 2022-01-10 08:17:52 EST
wrong bug
Comment 16 Ed Merks CLA 2022-01-10 08:19:22 EST
(In reply to Christian Dietrich from comment #13)
> Created attachment 287803 [details]
> Dont see anything under user

Yes, that looks about as empty as it can be from having installed only a product.
Comment 17 Phil Beauvoir CLA 2022-01-10 09:10:23 EST
Do you have the Maven m2e plugin installed?

I got the same conflicts (some couldn't be resolved) and lots of other errors constantly written to the log.

Sadly, the only cure was to uninstall the m2e plugin
Comment 18 Phil Beauvoir CLA 2022-01-10 09:15:04 EST
(In reply to Phil Beauvoir from comment #17)
> Do you have the Maven m2e plugin installed?
> 
> I got the same conflicts (some couldn't be resolved) and lots of other
> errors constantly written to the log.
> 
> Sadly, the only cure was to uninstall the m2e plugin

https://github.com/eclipse-m2e/m2e-core/issues/415
Comment 19 Christian Dietrich CLA 2022-01-10 10:25:10 EST
yes but i have no clue what in m2e could cause this
Comment 22 Christian Dietrich CLA 2022-01-10 10:34:57 EST
moved to https://github.com/eclipse/lsp4e/issues/38
Comment 23 Kalyan Prasad Tatavarthi CLA 2022-01-25 08:04:36 EST
*** Bug 578364 has been marked as a duplicate of this bug. ***