Bug 472659 - "Applications" and "Processes" pages are empty
Summary: "Applications" and "Processes" pages are empty
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-07-26 12:35 UTC by Patrick Silva
Modified: 2023-08-29 13:15 UTC (History)
4 users (show)

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


Attachments
screenshot (32.36 KB, image/png)
2023-07-26 12:35 UTC, Patrick Silva
Details
Applications page (32.92 KB, image/png)
2023-07-26 13:02 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-07-26 12:35:09 UTC
Created attachment 160532 [details]
screenshot

STEPS TO REPRODUCE
1. open System Monitor
2. click on "Processes" in the left side
3. 

OBSERVED RESULT
empty page seen in the attached screenshot

EXPECTED RESULT
list of processes

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 1 Patrick Silva 2023-07-26 13:02:03 UTC
Created attachment 160536 [details]
Applications page

Applications page is empty too.
Comment 2 Nate Graham 2023-07-26 21:13:08 UTC
Cannot reproduce; they have content for me with my built-from-source Plasma 6 session.
Comment 3 Kai Uwe Broulik 2023-08-01 18:43:17 UTC
Can confirm:

Apps page:
Error creating component:
"file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.applicationstable/contents/ui/FullRepresentation.qml:64:9: Type ApplicationsTableView unavailable"
"file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.applicationstable/contents/ui/ApplicationsTableView.qml:20:1: Type Table.BaseTableView unavailable"
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/ksysguard/table/BaseTableView.qml:40:40: Invalid alias target location: selectionModel"
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/ksysguard/page/PageContents.qml:273: TypeError: Value is null and could not be converted to an object
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/ksysguard/page/EditablePage.qml?page=history.page:127: TypeError: Cannot read property 'NoPreference' of undefined

Processes page:
Error creating component:
"file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.processtable/contents/ui/FullRepresentation.qml:131:18: Type ProcessTableView unavailable"
"file:///usr/share/ksysguard/sensorfaces/org.kde.ksysguard.processtable/contents/ui/ProcessTableView.qml:20:1: Type Table.BaseTableView unavailable"
"file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/ksysguard/table/BaseTableView.qml:40:40: Invalid alias target location: selectionModel"
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/ksysguard/page/PageContents.qml:273: TypeError: Value is null and could not be converted to an object
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/ksysguard/page/EditablePage.qml?page=history.page:127: TypeError: Cannot read property 'NoPreference' of undefined
Comment 4 Nate Graham 2023-08-01 18:46:05 UTC
Ah probably an issue only in Qt 6.6 then.
Comment 5 Bug Janitor Service 2023-08-29 09:33:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/222
Comment 6 David Redondo 2023-08-29 10:27:40 UTC
Git commit 7098ce9208abd365b42fc15d70556626343679d1 by David Redondo.
Committed on 29/08/2023 at 11:33.
Pushed by davidre into branch 'master'.

Do not declare a selectionModel property

Qt 6.2 added this property to TableView and it is now FINAL
so we are not allowed to overwrite it. However we need to bump
the import version to use it.
The ProcessTable is now back to crashing.

M  +2    -2    src/table/BaseTableView.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/7098ce9208abd365b42fc15d70556626343679d1