From 85ac2da5b4f75da5c63a8344750f3e4c6f48639d Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Mon, 26 Jun 2023 21:17:50 -0300 Subject: [PATCH 1/3] qt: Fix fullscreen shortcut not activating --- src/qt/qt_mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index e7ced9c67..d571c7266 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -1282,12 +1282,12 @@ MainWindow::keyReleaseEvent(QKeyEvent *event) } } - if (fs_off_signal && (video_fullscreen > 0) && keyboard_isfsexit_down()) { + if (fs_off_signal && (video_fullscreen > 0) && keyboard_isfsexit()) { ui->actionFullscreen->trigger(); fs_off_signal = false; } - if (fs_on_signal && (video_fullscreen == 0) && keyboard_isfsenter_down()) { + if (fs_on_signal && (video_fullscreen == 0) && keyboard_isfsenter()) { ui->actionFullscreen->trigger(); fs_on_signal = false; } From 0ed13fa438c49b7f0be93c5d0a22e54fc65d5bd4 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Mon, 26 Jun 2023 21:27:37 -0300 Subject: [PATCH 2/3] qt: Fix Korean key passthrough on non-raw input --- src/qt/qt_mainwindow.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index d571c7266..7d37c0c84 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -942,11 +942,13 @@ MainWindow::processKeyboardInput(bool down, uint32_t keycode) } break; + case 0x80 ... 0xff: /* regular break codes */ case 0x10b: /* Microsoft scroll up normal */ - case 0x18b: /* Microsoft scroll down normal */ - /* This abuses make/break codes. Send them manually, only on press. */ + case 0x180 ... 0x1ff: /* E0 break codes (including Microsoft scroll down normal) */ + /* This key uses a break code as make. Send it manually, only on press. */ if (down) { - keyboard_send(0xe0); + if (keycode & 0x100) + keyboard_send(0xe0); keyboard_send(keycode & 0xff); } return; From b3bd55da17410b5c077b0cc31cc5a6003da4ecc4 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Mon, 26 Jun 2023 22:14:00 -0300 Subject: [PATCH 3/3] Jenkins: Remove libwayland-client from AppImage to fix Debian 12 compatibility --- .ci/AppImageBuilder.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.ci/AppImageBuilder.yml b/.ci/AppImageBuilder.yml index 1ef99d612..11a41394a 100644 --- a/.ci/AppImageBuilder.yml +++ b/.ci/AppImageBuilder.yml @@ -60,7 +60,6 @@ AppDir: - libslirp0 # if SLIRP_EXTERNAL:BOOL=ON - libsndio7.0 # if OPENAL:BOOL=ON - libvdeplug-dev # -dev also pulls in libvdeplug2. -dev is required to get the proper .so symlink to the library - - libwayland-client0 # if QT:BOOL=ON - libx11-6 # if QT:BOOL=ON - libx11-xcb1 # if QT:BOOL=ON - libxcb1 # if QT:BOOL=ON