| Summary: | Mouse back/forward buttons do 2 steps instead of 1, while main toolbar icons work as expected | ||
|---|---|---|---|
| Product: | [Applications] Falkon | Reporter: | Andreas Sturmlechner <asturm> |
| Component: | general | Assignee: | David Rosca <nowrep> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dougshaw77, jurajoravec |
| Priority: | NOR | Keywords: | qt6, regression |
| Version First Reported In: | 24.01.85 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/network/falkon/-/commit/08f7a45021e0cf2c8e571cb89736d071eb0589ef | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Andreas Sturmlechner
2024-01-08 21:19:49 UTC
I can reproduce this: Operating System: KDE Neon Unstable KDE Plasma Version: 5.91.90 KDE Frameworks Version: 5.248.0 Qt Version: 6.6.1 Hello, Can confirm. Behaviour: - Press the mouse Back / Forward button - Falkon code reacts to mousePressEvent and goes back / forward in history - Release the button - QtWebEngine internal code is triggered and goes back / forward in history Solution: Override the mouse release event and accept the back and forward buttons. Result: Seems to work I will push this workaround later. Thank you for reporting. Git commit 08f7a45021e0cf2c8e571cb89736d071eb0589ef by Juraj Oravec. Committed on 10/01/2024 at 00:54. Pushed by jurajo into branch 'master'. Accept back and forward mouse button events QtWebEngine engine seems to has its own binding for these buttons in the mouse release event while Falkon mostly works with mousePress events. This causes double action on the same button click. Signed-off-by: Juraj Oravec <jurajoravec@mailo.com> M +5 -0 src/lib/webengine/webview.cpp https://invent.kde.org/network/falkon/-/commit/08f7a45021e0cf2c8e571cb89736d071eb0589ef |