Bug 460101

Summary: ActionToolBar object destroyed during scrolling
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Matej Starc <matej.starc>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate, notmart
Priority: NOR    
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: card test file
log

Description Matej Starc 2022-10-07 19:29:14 UTC
Created attachment 152633 [details]
card test file

SUMMARY
Scrolling a bit faster in ``CardsGridView`` with a larger model causes the widget to be destroyed while showing the widget.

STEPS TO REPRODUCE
1.  Open the test file with qmlscene (``qmlscene-qt5 cardTest.qml``)
2. Make the enough to show at least 3 cards in one row.
3. Move the scrollbar to the bottom and let go (just move the scrollbar up and down).

OBSERVED RESULT
The ``ActionsToolBar`` in currently displayed cards is displayed after 1/4 a sec.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.12-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 480 Graphics
Comment 1 Matej Starc 2022-12-17 16:53:06 UTC
Created attachment 154651 [details]
log
Comment 2 Matej Starc 2022-12-17 17:07:27 UTC
Video showcase: https://cloud.aljaxus.eu/index.php/s/EntWJYbrzHqaGXs

Look at the ToolBarLayout when I scroll down. The ToolBarLayout is shown quite late and even causes errors.
Comment 3 Nate Graham 2023-06-21 10:05:35 UTC
*** Bug 465908 has been marked as a duplicate of this bug. ***