https://bugs.kde.org/show_bug.cgi?id=481293
Fushan Wen <qydwhotm...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/fram | |eworks/qqc2-desktop-style/- | |/commit/3c64f731aa115372964 | |fff2756d3d874953526ae Version Fixed In| |6.0 Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Fushan Wen <qydwhotm...@gmail.com> --- Git commit 3c64f731aa115372964fff2756d3d874953526ae by Fushan Wen. Committed on 16/02/2024 at 22:56. Pushed by fusionfuture into branch 'master'. Menu: fix TextFieldContextMenu opening at wrong position QQuickMenu places the menu based on the size of its parent and its size, but when all menu items are invisible, the ListView in Menu.qml calculates its contentHeight based on an assumed average size (100), which causes the menu height to become excessively huge when there are many invisible menu items, so when repositioning the menu will be placed at a wrong position. This uses childrenRect.height to only include visible items. FIXED-IN: 6.0 M +5 -3 org.kde.desktop/Menu.qml https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/3c64f731aa115372964fff2756d3d874953526ae -- You are receiving this mail because: You are watching all bug changes.