Summary: | Now impossible to select-multi-line text on scrollable views | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-qqc2-desktop-style | Reporter: | Nate Graham <nate> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahiemstra, butirsky, kde, me, noahadvs, notmart |
Priority: | NOR | Keywords: | regression |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=460052 | ||
Latest Commit: | https://invent.kde.org/frameworks/kirigami/commit/b2a5c8901cb91c42f29a9fb742f31600f19595b1 | Version Fixed In: | |
Sentry Crash Report: |
Description
Nate Graham
2023-01-25 21:42:24 UTC
In essence, mouse-selectable text now triggers Bug 460052, whereas before https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/215 was merged, it didn't. OK, so that wasn't just me glitching out, huh Same bug in Kirigami.SelectableLabel that plain Label had has nothing to do with https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/215 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/949 Git commit de1ae4b302e1e41012211a9826f687e2550c91f0 by Marco Martin. Committed on 01/02/2023 at 09:09. Pushed by mart into branch 'master'. Disable HoverHandler As https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/215 the hoverhandler needs to be disabled in order to not steal events from the flickable (and making it flickable with mouse even if in a ScrollView) When disabled, an HoverHAndler *still* has the behavior on hover working, it just disables press events handling which shouldn't accept in the first place M +7 -0 src/controls/SelectableLabel.qml https://invent.kde.org/frameworks/kirigami/commit/de1ae4b302e1e41012211a9826f687e2550c91f0 Git commit b2a5c8901cb91c42f29a9fb742f31600f19595b1 by Marco Martin. Committed on 01/02/2023 at 09:46. Pushed by mart into branch 'kf5'. Disable HoverHandler As https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/215 the hoverhandler needs to be disabled in order to not steal events from the flickable (and making it flickable with mouse even if in a ScrollView) When disabled, an HoverHAndler *still* has the behavior on hover working, it just disables press events handling which shouldn't accept in the first place M +7 -0 src/controls/SelectableLabel.qml https://invent.kde.org/frameworks/kirigami/commit/b2a5c8901cb91c42f29a9fb742f31600f19595b1 |