Bug 485744 - Filelight refusing to scan anything after pressing "Go to overview"
Summary: Filelight refusing to scan anything after pressing "Go to overview"
Status: RESOLVED FIXED
Alias: None
Product: filelight
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-18 16:11 UTC by Oleg
Modified: 2024-07-18 19:47 UTC (History)
3 users (show)

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


Attachments
Bug demonstration (349.36 KB, video/webm)
2024-04-18 16:11 UTC, Oleg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg 2024-04-18 16:11:24 UTC
Created attachment 168650 [details]
Bug demonstration

SUMMARY
When I scan something (root, home, folder) and then press "Go to overview" button Filelight refuses to scan anything until I restart it.

STEPS TO REPRODUCE
1. Scan anything
2. Press "Go to overview"
3. Try to scan something again

OBSERVED RESULT
Filelight ignores any other scan tasks

EXPECTED RESULT
To scan anything

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.6-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700K CPU @ 4.20GHz
Memory: 15.6 ГиБ of RAM
Graphics Processor: AMD Radeon RX 6700 XT
ADDITIONAL INFORMATION
When I press buttons in unresponsive state it produces next error in terminal:
qml: Page MapPage_QMLTYPE_109(0x63d134d81620) is already in the PageRow
qml: Pushed pages do not conform to the rules. Please check the documentation.
qml: push (file:///usr/lib/qt6/qml/org/kde/kirigami/PageRow.qml:223)
makeMap (qrc:/ui/main.qml:127)
slotScanRootFolder (qrc:/ui/main.qml:147)
expression for onTriggered (qrc:/ui/main.qml:45)
Comment 1 Oleg 2024-04-18 16:15:36 UTC
I can also reproduce this issue on a clean Arch install in VM
Comment 2 Oleg 2024-05-26 08:53:03 UTC
Still happening in 24.05
Comment 3 Harald Sitter 2024-05-27 15:23:13 UTC
Something broke in the pagestack handling in the qt6 port.
Comment 4 Bug Janitor Service 2024-07-17 12:52:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/filelight/-/merge_requests/150
Comment 5 hanyoung 2024-07-18 14:41:52 UTC
Git commit 35523f7818a63b0b610abff4c38f1543c04764eb by Han Young, on behalf of Harald Sitter.
Committed on 18/07/2024 at 14:41.
Pushed by hanyoung into branch 'master'.

make makeMap and closeURL more reliable

previously it failed to manipulate the stack correctly because of
various changes in the Qt6 version. overall the new code should be more
reliable now.

we now somewhat consistently pop back to the intialPage and push the
mappage on top. in case of new construction we also manually construct
the page instead of letting kirigami do the work so we have control over
the page's lifetime

M  +13   -5    src/qml/main.qml

https://invent.kde.org/utilities/filelight/-/commit/35523f7818a63b0b610abff4c38f1543c04764eb