Bug 467884 - SwipeListItem swiping is broken
Summary: SwipeListItem swiping is broken
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.104.0
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Andrey Reeshkov
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2023-03-28 13:25 UTC by Andrey Reeshkov
Modified: 2023-04-05 20:51 UTC (History)
6 users (show)

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


Attachments
screenshot (240.08 KB, image/png)
2023-03-28 13:25 UTC, Andrey Reeshkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Reeshkov 2023-03-28 13:25:05 UTC
Created attachment 157668 [details]
screenshot

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open terminal
2. Run: QT_QUICK_CONTROLS_MOBILE=1 plasma-open-settings kcm_bluetooth
3. Click to control points

OBSERVED RESULT
In terminal error:
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/SwipeItemEventFilter.qml:26: TypeError: Cannot read property 'contentItem' of undefined
In UI nothing.

EXPECTED RESULT
Open controls to delete and connect device

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-04-03 23:12:37 UTC
Can confirm. These list items are intended to be swipable, but it looks like that's broken. And frankly the UX was always bad. But we should fix swiping at least, before we port away from SwipeListItem.
Comment 2 ratijas 2023-04-05 09:38:00 UTC
Git commit 63224c710f4c6db3ace69972c4040c5baa0c2942 by ivan tkachenko, on behalf of Andrey Reeshkov.
Committed on 04/04/2023 at 18:03.
Pushed by ratijas into branch 'master'.

SwipeListItem: Fix for QT_QUICK_CONTROLS_MOBILE

M  +9    -2    src/controls/templates/SwipeListItem.qml

https://invent.kde.org/frameworks/kirigami/commit/63224c710f4c6db3ace69972c4040c5baa0c2942
Comment 3 ratijas 2023-04-05 09:41:48 UTC
Git commit b37dce675f2679b78c6aa23d85b735f24b12b203 by ivan tkachenko, on behalf of Andrey Reeshkov.
Committed on 05/04/2023 at 09:38.
Pushed by ratijas into branch 'kf5'.

SwipeListItem: Fix for QT_QUICK_CONTROLS_MOBILE
(cherry picked from commit 63224c710f4c6db3ace69972c4040c5baa0c2942)

M  +9    -2    src/controls/templates/SwipeListItem.qml

https://invent.kde.org/frameworks/kirigami/commit/b37dce675f2679b78c6aa23d85b735f24b12b203