https://bugs.kde.org/show_bug.cgi?id=520062
Bug ID: 520062
Summary: Back and forward mouse buttons not working with krdp
Classification: Plasma
Product: KRdp
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
DESCRIPTION
Back/forward mouse buttons don't function at all with Remmina client and KRDP
host (Kubuntu 26.04)
STEPS TO REPRODUCE
1. Connect to a KRDP host
2. Open firefox
3. Use back/forward mouse buttons to go back/forward
OBSERVED RESULT
Nothing happens
EXPECTED RESULT
The browser navigates forward or backward
SOFTWARE/OS VERSIONS
Operating System: Ubuntu 26.04
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
ADDITIONAL INFORMATION
I got the back/forward buttons working with the following patch locally:
```
diff --git a/src/PlasmaScreencastV1Session.cpp
b/src/PlasmaScreencastV1Session.cpp
index a5332ea..ef6987a 100644
--- a/src/PlasmaScreencastV1Session.cpp
+++ b/src/PlasmaScreencastV1Session.cpp
@@ -212,6 +212,10 @@ void PlasmaScreencastV1Session::sendEvent(const
std::shared_ptr<QEvent> &event)
button = BTN_MIDDLE;
} else if (me->button() == Qt::RightButton) {
button = BTN_RIGHT;
+ } else if (me->button() == Qt::BackButton) {
+ button = BTN_SIDE;
+ } else if (me->button() == Qt::ForwardButton) {
+ button = BTN_EXTRA;
} else {
qCWarning(KRDP) << "Unsupported mouse button" << me->button();
return;
diff --git a/src/PortalSession.cpp b/src/PortalSession.cpp
index 178e5bf..0c52c98 100644
--- a/src/PortalSession.cpp
+++ b/src/PortalSession.cpp
@@ -174,6 +174,10 @@ void PortalSession::sendEvent(const
std::shared_ptr<QEvent> &event)
button = BTN_MIDDLE;
} else if (me->button() == Qt::RightButton) {
button = BTN_RIGHT;
+ } else if (me->button() == Qt::BackButton) {
+ button = BTN_SIDE;
+ } else if (me->button() == Qt::ForwardButton) {
+ button = BTN_EXTRA;
} else {
qCWarning(KRDP) << "Unsupported mouse button" << me->button();
return;
```
--
You are receiving this mail because:
You are watching all bug changes.