Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.8, 6.2.3
-
-
833f83f270 (qt/qtdeclarative/dev) 833f83f270 (qt/tqtc-qtdeclarative/dev) d72f98dc8b (qt/tqtc-qtdeclarative/6.2) 30e3d19581 (qt/qtdeclarative/6.3) c6b6d93325 (qt/qtdeclarative/6.4) 30e3d19581 (qt/tqtc-qtdeclarative/6.3)
Description
Maximizing window which has ListView which's ListView.header height changes dynamically causes erroneous scrollbar positioning on macOS.
Way to reproduce:
1) Build and run the attached example project on macOS.
2) Scroll the list all the way to the top so that the header is fully visible
3) Maximize the app window.
Whole header is expected to be visible after maximizing the window but instead, even if scrollbar updates "correctly", the relative position changes. And part of the header is above the new position.
This behaves correctly if header is not used.
On Windows, issue was reproduced by using display resolution 1920*1080 with 100% scaling but if display resolution 3840*2160 was used with 150% scaling, the issue did not reproduce.
Attachments
Issue Links
- relates to
-
QTBUG-101268 ListView does not preserve its relative scrollbar position when window is restored down on Windows if height of ListView.header changes dynamically
- Closed
- mentioned in
-
Page Loading...