https://bugs.kde.org/show_bug.cgi?id=488267

            Bug ID: 488267
           Summary: BusyIndicator on ApplicationsListPage is screwed
    Classification: Applications
           Product: Discover
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: plasma-b...@kde.org
          Reporter: m...@ratijas.tk
                CC: aleix...@kde.org
  Target Milestone: ---

SUMMARY

On the ApplicationsListPage (which is responsible for most lists of
applications, such as "All Applications", application categories, Search page
etc.) there is a loading / busy indicator with a label "Still looking…"
implemented as a footer of a ListView.

It has a number of problems with sizing and visibility. It is declaratively
bound to become visible on ListView::atYEnd, which might create a layout /
binding loop since toggling a ListView footer might change scroll position and
subsequently affect the atYEnd state. 

In any case,
- fetching more items is not a declarative state bound to scrolling;
- ListView would reserve height regardless of visibility, which means
zero-height tricks are necessary;
- if there are not enough items (or no items at all) in the ListView, footer
positioning won't be at the bottom of the page.

How do we even want this to work?

SOFTWARE/OS VERSIONS
Arch Linux, latest git packages of KDE/Plasma and Frameworks
Qt Version: 6.7.1

ADDITIONAL INFORMATION

Existing attempt to fix it:
https://invent.kde.org/plasma/discover/-/merge_requests/862 (insufficient /
wrong for the reasons described in the comments).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to