View Issue Details

IDProjectCategoryView StatusLast Update
0002677SkyChart1-Softwarepublic23-12-16 15:36
ReporterAlan Smith Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSLinuxOS Version64bit
Product Version4.3 beta 
Summary0002677: Unable to use either Cotrl key to HIde/Show Main Menu
DescriptionCtrl+Shift+M is used to hide/show the Main Menu toolbar

Currently allows use of either of the two Shift keys on the keyboard, but currently only allows use of one of the Ctrl keys on the keyboard (left hand side Ctrl key). Needs to allow use of either Ctrl key on the keyboard.

Many thanks.
Steps To ReproduceLeft Ctrl Key + Any Shift Key +M ---> Works
Right Ctrl Key + Any Shift Key + M --> Fails

Requirement:
Any Ctrl Key + Any Shift Key + M --> Works
TagsNo tags attached.

Activities

Patrick Chevalley

23-12-02 14:12

administrator   ~0008654

With my keyboard it already work with any Ctrl and Shift keys.
Maybe your keyboard is different?

If not already install, install the package x11-utils
Start the program xev from a terminal
Press successively the two Ctrl keys and copy here the result in the terminal, must be something like:
KeyPress event, serial 40, synthetic NO, window 0x5a00001,
    root 0x1db, subw 0x0, time 2293964, (73,727), root:(1746,755),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

Be careful to not move the mouse in the xev window because this quickly fill the terminal with mouse events.

Alan Smith

23-12-02 21:02

reporter   ~0008660

Hi Patrick, here are the codes from xev for each ctrl key

Left Ctrl Key:

KeyPress event, serial 38, synthetic NO, window 0xc00001,
    root 0x49a, subw 0x0, time 462759, (797,503), root:(897,672),
    state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0xc00001,
    root 0x49a, subw 0x0, time 462811, (797,503), root:(897,672),
    state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Right Ctrl Key:

KeyPress event, serial 38, synthetic NO, window 0xc00001,
    root 0x49a, subw 0x0, time 464308, (797,503), root:(897,672),
    state 0x10, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0xc00001,
    root 0x49a, subw 0x0, time 464378, (797,503), root:(897,672),
    state 0x14, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Patrick Chevalley

23-12-03 10:51

administrator   ~0008664

Same keycode, this is not the problem.

I make a change to manage this key in my code instead of the global Qt menu. Maybe this can solve the issue if this is a conflict with a desktop shortcut.
Please try with the next available beta version tomorrow.

Alan Smith

23-12-15 21:50

reporter   ~0008695

HI Patrick, yes I can confirm this new version works with all possible combinations of Ctrl + Shift + M

Many thanks for the fix

Patrick Chevalley

23-12-16 15:36

administrator   ~0008699

So this is probably a Qt bug, but no problem for me to keep this fix to bypass.

Issue History

Date Modified Username Field Change
23-11-30 14:56 Alan Smith New Issue
23-12-02 14:12 Patrick Chevalley Assigned To => Patrick Chevalley
23-12-02 14:12 Patrick Chevalley Status new => feedback
23-12-02 14:12 Patrick Chevalley Note Added: 0008654
23-12-02 21:02 Alan Smith Note Added: 0008660
23-12-02 21:02 Alan Smith Status feedback => assigned
23-12-03 10:51 Patrick Chevalley Status assigned => feedback
23-12-03 10:51 Patrick Chevalley Note Added: 0008664
23-12-15 21:50 Alan Smith Note Added: 0008695
23-12-15 21:50 Alan Smith Status feedback => assigned
23-12-16 15:36 Patrick Chevalley Status assigned => resolved
23-12-16 15:36 Patrick Chevalley Resolution open => fixed
23-12-16 15:36 Patrick Chevalley Note Added: 0008699