Bug 504160 - Two-finger touchpad scrolling crashes Kirigami-based applications
Summary: Two-finger touchpad scrolling crashes Kirigami-based applications
Status: RESOLVED DUPLICATE of bug 503703
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.14.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-13 16:06 UTC by Adam
Modified: 2025-05-13 16:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Stacktrace of the crash. Relevant calls are between call 10-13. (8.33 KB, text/plain)
2025-05-13 16:06 UTC, Adam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam 2025-05-13 16:06:17 UTC
Created attachment 181245 [details]
Stacktrace of the crash. Relevant calls are between call 10-13.

SUMMARY

When using two-finger scrolling gestures on my laptop touchpad (ThinkPad P14s Gen 2 AMD) in KDE System Settings, for example, the program crashes at `/usr/src/debug/kirigami/kirigami-6.14.0/src/wheelhandler.cpp:528` at the call to the C++ standard library's std::clamp. I've mentioned KDE System Settings here but this also occurs in various other KDE applications which use Kirigami. The touchpad scroll gestures do not crash applications which handle scrolling but do not use Kirigami.

STEPS TO REPRODUCE
1. Open a KDE application which utilises the Kirigami framework
2. Attempt two-finger touchpad scrolling
3. Software crashes and a Dr Konqi report opens

OBSERVED RESULT

The software crashes.

EXPECTED RESULT

The software does not crash & handles the scroll event correctly.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.12.28-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 5850U with Radeon Graphics
Memory: 27.2 GiB of RAM
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION

n/a
Comment 1 Antonio Rojas 2025-05-13 16:09:18 UTC

*** This bug has been marked as a duplicate of bug 503703 ***