Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.2.0, 5.4.0 Alpha
-
Windows 7
Description
When scrolling listview with flag ViewSection.CurrentLabelAtStart and changing property value of the section delegateitem it cause property change to wrong item.
Test with attached example:
- Scroll to bottom
- Press section header label "Large"
-> Expected behavior is that the "Large" section is collapsed and changes color and size.
-> Actual behavior is that the "Large" section is collapsed and the previous section ("Middle") changes color and size. - Now scrolling will change the color and size of the current section.
Properties are set correctly if the collapse is done before scrolling over the second section item in the list, or if CurrentLabelAtStart is not used. The collapse is done by simply hiding the list items under the section. A user-defined collapsed property is set and section item color and size depends on the property.
Attachments
Issue Links
- relates to
-
QTBUG-45206 ListView attached properties for sections do not work at all
- Reported