https://bugs.kde.org/show_bug.cgi?id=489745
Bug ID: 489745 Summary: Top Objects like channels(snap), permissions(packagekit), flatpak notifications are not visible Classification: Applications Product: Discover Version: master Platform: Neon OS: Linux Status: REPORTED Severity: major Priority: NOR Component: discover Assignee: plasma-b...@kde.org Reporter: soumyadeepghosh2004+...@zohomail.in CC: aleix...@kde.org Target Milestone: --- Created attachment 171375 --> https://bugs.kde.org/attachment.cgi?id=171375&action=edit VLC in 6.1.0 plasma discover SUMMARY Top Objects, like the channels button, or the permission notice for packagekit, or flatpak eol notifications aren't visible anymore STEPS TO REPRODUCE 1. Open Discover 2. Click on any app (deb, snap, flatpak) 3. for deb no full permission notice, for snaps no channel button, for flatpak no eol notice or such objects OBSERVED RESULT No buttons there EXPECTED RESULT Expected these buttons to show up properly SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon (available in About System) KDE Plasma Version: 6.1.1 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.0 ADDITIONAL INFORMATION The main problem seems to be in the visibility binding from here. https://invent.kde.org/plasma/discover/-/blob/master/discover/qml/ApplicationPage.qml?ref_type=heads#L426-437 function bindVisibility() { hasVisibleObjects = Qt.binding(() => { for (let i = 0; i < topObjectsRepeater.count; i++) { const loader = topObjectsRepeater.itemAt(i); const item = loader.item; if (item?.visible) { return true; } } return false; }); } Here, no matter what the visibility is set for the item, item.visible always returns false. To temporarily, we should remove this as it's done with bottomObjects. -- You are receiving this mail because: You are watching all bug changes.