Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 465636

Summary: [GTK3] GVT45: Multi-stroke Shortcut keys are missing on "Show View" Menu items
Product: [Eclipse Project] Platform Reporter: Baochuan Lin <baochlin>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, arunkumar.thondapu, baochlin, daniel_megert, ericwill, jackcww, kitlo, kqli, markus.kell.r, psuzzi, snjezana.peco, sravankumarl
Version: 4.5Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Shortcut keys are missing none

Description Baochuan Lin CLA 2015-04-27 23:12:27 EDT
Created attachment 252821 [details]
Shortcut keys are missing

OS:RHEL 7.1 64 bit
GTK  Version: gtk2(2.24.22),gtk3(3.8.8)
Build ID: I20150408-1100

Steps to Reproduce:
1.Fire up Eclipse 4.5 on RHEL 7.1 64 bit
2.Click Window->Show View 

Problem Description:
The shortcut keys are missing for Window>Show View menu items.

Bug 417601: https://bugs.eclipse.org/bugs/show_bug.cgi?id=417601 is claimed to be fixed with the similar issue.

Please help investigate again. Thanks.
Comment 1 Arun Thondapu CLA 2015-05-05 10:54:52 EDT
I am able to reproduce this problem on RHEL 7.1 and Ubuntu 14.04 but not on Ubuntu 12.04, tested with 4.5 M7 (I20150430-1445). The strange part is that on both RHEL 7.1 and Ubuntu 14.04, this is the only menu item for which the shortcut keys are not appearing, all the other menu items are working perfectly fine... I'm wondering if the items on this particular sub-menu are doing something different from the other menu items while setting the accelerator keys.
Comment 2 Arun Thondapu CLA 2015-05-05 11:05:40 EDT
Works fine with GTK2 (export SWT_GTK3=0 or use --launcher.GTK_version 2).
Comment 3 Dani Megert CLA 2015-05-05 11:16:53 EDT
Might be related to bug 466381. In that bug the screenshot also has no shortcut keys.
Comment 4 Arun Thondapu CLA 2015-05-05 13:33:48 EDT
(In reply to Dani Megert from comment #3)
> Might be related to bug 466381. In that bug the screenshot also has no
> shortcut keys.

Probably not. Bug 466381 is most likely specific to Ubuntu 14.04 (and later) and happens only when the Unity desktop's integrated appmenu is used, disabling the appmenu by export UBUNTU_MENUPROXY=0 fixes that problem, whereas the problem with menu shortcuts is reproducible on RHEL 7.1 as well.
Comment 5 Snjezana Peco CLA 2015-11-05 06:22:14 EST
GTK3 doesn't accept shortcut keys with two characters (Shift+Alt+Q X).
The shortcut keys are also missing for the Run As/Debug As menu.
I have tried to set those keys to a label (label="Console Shift+Alt+Q C"), but it doesn't help. GTK3 removes 'Shift+Alt+Q C'.
Maybe we could show them as "Console Shift_Alt_Q C" or something similar that.
Comment 6 Eric Williams CLA 2018-04-11 12:02:25 EDT
This is still reproducible on 4.8 M6, GTK3.22, and Fedora 27.
Comment 7 Eric Williams CLA 2019-02-01 14:18:03 EST
I am going to close this since it appears to be a platform limitation.