https://bugs.kde.org/show_bug.cgi?id=472501
Bug ID: 472501 Summary: QListview.setCurrentIndex sometimes does not work Classification: Frameworks and Libraries Product: frameworks-kwindowsystem Version: 5.104.0 Platform: Ubuntu OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: hong7...@gmail.com Target Milestone: --- SUMMARY I have a C++ program that uses KWindowSystem and its QListview. I call setCurrentIndex to jump to specific items when searching. This works in most cases by setting the item as current and selected. But sometimes, it selects and highlights the wrong item, specifically one past the expected item; e.g., index 73 instead of 72. STEPS TO REPRODUCE 1. in my app, it can be repeated. 2. but i have not determined the pattern. 3. i have reduced the total number of items to just 4, and it misbehaves still. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.27.4 (available in About System) KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.