https://bugs.kde.org/show_bug.cgi?id=481293
Bug ID: 481293 Summary: The context menu of the selectable label opens at wrong position Classification: Plasma Product: kdeplasma-addons Version: master Platform: openSUSE OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: Picture of the Day Assignee: plasma-b...@kde.org Reporter: qydwhotm...@gmail.com CC: i...@guoyunhe.me, qydwhotm...@gmail.com Target Milestone: --- SUMMARY QQuickMenu::popup(QQuickItem *menuItem) opens the menu based on the size of its parent and its size, and when all menu items are invisible, ListView calculates its contentHeight based on an assumed average size (100), so the menu doesn't open at the right position for the first time. STEPS TO REPRODUCE 1. Right click on any selectable label which only has one line 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 6. KDE Frameworks Version: Qt Version: 6.6.1 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.