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

            Bug ID: 422289
           Summary: First delegate of ListView within OverlaySheet it's
                    initially drawn at wrong position
           Product: frameworks-kirigami
           Version: Master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
        Depends on: 421583
  Target Milestone: Not decided

Created attachment 128949
  --> https://bugs.kde.org/attachment.cgi?id=128949&action=edit
QML test sample to reproduce the bug

SUMMARY

When a Kirigami.OverlaySheet contains a ListView with section headers, 
the first delegate gets assigned a position of (0,0), and gets hidden 
behind the header.

It only re-positions when the delegate is destroyed and re-created, 
for example, when a filter changes the model. 
Calling `forceLayout()` or other signals do not fix it. 

STEPS TO REPRODUCE
Attached qml test case.

OBSERVED RESULT
https://invent.kde.org/plasma/kwin/uploads/e6d2f52edd24f9140cc2937bb5f89496/Screenshot_20200530_150309.png
https://invent.kde.org/plasma/kwin/uploads/6f426384d6114fe680bc88c04551e6cd/delegate_wrong.mp4

EXPECTED RESULT
https://invent.kde.org/plasma/kwin/uploads/47cd179c09f8c70a9a2e330eb2d16216/delegate_ok.mp4

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Specific case in kcm/kwinrules: BUG 421583
See: https://invent.kde.org/plasma/kwin/-/merge_requests/37


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=421583
[Bug 421583] [kcm/kwinrules X11] First delegate of ListView within OverlaySheet
it's initially drawn at wrong position
-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to