CuteMarkEd icon indicating copy to clipboard operation
CuteMarkEd copied to clipboard

Keyboard shortcuts not working (Ubuntu)

Open hotice opened this issue 9 years ago • 7 comments

Most keyboard shortcuts don't work under Ubuntu. Even the strong / emphasize or 'save' shortcuts don't work. Furthermore, after changing the keyboard shortcuts, they are reset the next time I open the Options dialog.

Tested with CuteMarkEd 0.11.0 under Ubuntu 15.04 (64bit) with Qt 5.4.1 as well as Ubuntu 14.04 (32bit) with Qt 5.2.1. By the way, I'm trying to create a PPA for CuteMarkEd for Ubuntu and the test packages are on Launchpad, so you can use them to test this: https://launchpad.net/~nilarimogard/+archive/ubuntu/test4/+packages

hotice avatar May 05 '15 11:05 hotice

Hi @hotice,

Thanks for your report and trying to package it for Ubuntu!

Yes, I can confirm that changing the shortcuts with the option dialog doesn't work currently. I'm working on a fix already.

Regarding the general problem of keyboard shortcuts not working at all, I was unable to reproduce it on my Fedora 21 VM with Qt 5.4.1. I will now setup an Ubuntu VM and try your packages. But this will take some time.

Bye, Christian

cloose avatar May 07 '15 18:05 cloose

Apparently this is an Ubuntu-specific bug and is triggered by Ubuntu's modified Qt5 in combination with translations/non-English keyboard layouts. I found a similar bug in another app which was marked as fixed - see here: https://github.com/Cockatrice/Cockatrice/pull/966 Hopefully this will provide some info on how to fix it.

hotice avatar May 12 '15 09:05 hotice

Thanks for the update @hotice. Yes, this gives a good hint were the problem could be.

cloose avatar May 12 '15 09:05 cloose

The fix for the problem with custom shortcuts is part of the release v0.11.1.

cloose avatar Jul 06 '15 10:07 cloose

Unfortunately the keyboard shortcuts still don't work...

hotice avatar Aug 11 '15 11:08 hotice

Hello @hotice,

thank you for your update. Currently I'm unable to find the bug. The shortcut setting code either uses QKeySequence or is generated by uic.

So I probably need more information. Could you attach your CuteMarked settings file (probably $HOME/.config/CuteMarkEd Project/CuteMarkEd.conf) and a screenshot of the Shortcuts tab in the options dialog.

Thank you! Christian

cloose avatar Aug 12 '15 07:08 cloose

Sure, here they are: https://dl.dropboxusercontent.com/u/1113424/CuteMarkEd.conf http://i.imgur.com/E8zuae5.png

Here's also a video show the keyboard shortcuts not working: https://dl.dropboxusercontent.com/u/1113424/cutemarked.mp4 (undo/redo and copy/paste are the only ones that work, not even ctrl+s works).

hotice avatar Aug 12 '15 09:08 hotice