Community
Participate
Working Groups
Hi there I got an issue since I did the Eclipse update to 4.5.2. Since then, my keys/shortcut preferences do not seem to be saved. After every restart (manually and automatic), the keys are resetted back to the standard and I have to setup my own customization. During the session itself it works fine, until a restart. I am running Eclipse Mars.2 (4.5.2 after update in Eclipse itself) as Admin on Windows 10. Am I missing something here? If you need more information, please let me know. Thanks in advance
Keybindings are now saved with the E4 application model in the <workspace>/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi. How are you starting Eclipse?
Hi there I am just calling eclipse.exe on Windows as Administrator (no compatibility mode). eclipse.ini reads -startup plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417 -vm C:/Program Files/Java/jdk1.8.0_45/bin/javaw.exe -product org.eclipse.epp.package.php.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -Dosgi.requiredJavaVersion=1.7 -Xms512m -Xmx2048m Thanks
Could you please attach your workbench.xmi file and the log file (<workspace>/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi and <workspace>/.metadata/.log)? How did you install your Eclipse originally?
Created attachment 260348 [details] Eclipse Log
Created attachment 260349 [details] Eclipse Workbench XMI Hi Files have been attached. I originally just downloaded the zip file, extracted and launched. Update to the new versions through the internal Update Functionality of the IDE. Thanks
What's an example of some custom keybindings that you've added?
Hi I am normally unbinding "Insert Service" as I want to free up ctrl+shift+s for saving all files (I cannot live without ^^). In the current session it would then work. After a restart "Insert Service" is set back to ctrl+shift+s. Best
I can see in your workbench.xmi that your previous binding for CTRL+SHIFT+S to com.dubture.symfony.ui.command.insertService has been deleted, and has been re-bound to "org.eclipse.ui.file.saveAll". So I suspect that your 'Symphony' must be re-binding the command on startup. You can check your Preferences > General > Start Up and Shutdown and see if they provide an startup note; it may be that disabling their startup may prevent the unbinding. Unfortunately there's little else that we can do in this case. Unfortunately we don't have any logging to record how and when keybindings are modified to confirm the above. You can try some the Remote Debug Connection approach [1] and add a breakpoint at org.eclipse.ui.internal.keys.BindingService#addBinding() and #removeBinding() and log some output. [1] https://wiki.eclipse.org/How_to_report_a_deadlock#Remote_Debug_Connection
Ahh... thanks a lot for that hint. I will try to figure out, why it is resetting all the time. But that hint is worth a lot to look for why this happens. Thanks
Thanks for the hint; for me it was Oomph Common UI
Turning off Oomph Common UI in Preferences -> General -> Startup and Shutdown solved this issue for me.