Community
Participate
Working Groups
Created attachment 272906 [details] Screencast showing the issue On macOS the key binding that is shown in the status bar of the quick outline and the type hiearchy is not formatted correctly. It is "Command+O" but instead of the word "Command" it should use the command-symbol "⌘" so it's "⌘+O". Also see attached screenshot.
New Gerrit change created: https://git.eclipse.org/r/118259
Created attachment 272907 [details] Screenshot with the fix The fix btw. also removes the usage of some deprecated classes
I can confirm that this is broken in I20180226-2000, but it worked at least in I20180124-2000, so this is actually a regression and somebody should find out what broke this.
(In reply to Till Brychcy from comment #3) > I can confirm that this is broken in I20180226-2000, but it worked at least > in I20180124-2000, so this is actually a regression and somebody should find > out what broke this. Good point. Anyway my change removes some usages of deprecated classes.
(In reply to Till Brychcy from comment #3) > I can confirm that this is broken in I20180226-2000, but it worked at least > in I20180124-2000, so this is actually a regression and somebody should find > out what broke this. I found it. It's my change: https://git.eclipse.org/r/#/c/116536/ So what's wrong with my change? Do we have to keep that deprecated usage in WorkbenchCommandSupport until it get's removed? Or what's the correct fix?
As long as org.eclipse.ui.keys.KeyFormatterFactory is used we must keep the call // Initialize the old key formatter settings. org.eclipse.ui.keys.KeyFormatterFactory.setDefault(org.eclipse.ui.keys.SWTKeySupport.getKeyFormatterForPlatform()); in WorkbenchCommandSupport So reverted my change https://git.eclipse.org/r/#/c/116536/. Anyway I opt for keeping https://git.eclipse.org/r/118259 as it removes calls to deprecated classes.
(In reply to Matthias Becker from comment #6) > > Anyway I opt for keeping https://git.eclipse.org/r/118259 as it removes > calls to deprecated classes. I agree - with a matching bug title and commit message.
(In reply to Till Brychcy from comment #7) > I agree - with a matching bug title and commit message. Done.
Gerrit change https://git.eclipse.org/r/118259 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=5cb4e8fd43d5acac813115b77f0a14d9cdb83f2f
(In reply to Eclipse Genie from comment #9) > Gerrit change https://git.eclipse.org/r/118259 was merged to [master]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/ > ?id=5cb4e8fd43d5acac813115b77f0a14d9cdb83f2f Released for 4.8M6