Bug 452211

Summary: Dolphin's menu has 'korners'
Product: [Frameworks and Libraries] frameworks-kconfigwidgets Reporter: Oliver Beard <olib141>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: felixernst, kfm-devel, nate
Priority: NOR    
Version: 5.92.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.93
Sentry Crash Report:
Attachments: Image showing broken corners in menu

Description Oliver Beard 2022-04-03 06:19:40 UTC
SUMMARY
On both Wayland and X11, Dolphin's menu appears to suffer from the old 'korners' issue, where corners are black and not transparent. Submenus do not have this issue. Right clicking to open context menus in other places do not have this issue either.

STEPS TO REPRODUCE
1. Open menu

OBSERVED RESULT
Blank corners.

EXPECTED RESULT
Transparent corners.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Comment 1 Oliver Beard 2022-04-03 06:25:19 UTC
Created attachment 147920 [details]
Image showing broken corners in menu
Comment 2 Nate Graham 2022-04-04 21:29:47 UTC
Cannot reproduce at 200% scale on Wayland. Does the same thing happen for Gwenview's similar hamburger menu?
Comment 3 Oliver Beard 2022-04-04 21:42:00 UTC
(In reply to Nate Graham from comment #2)
> Cannot reproduce at 200% scale on Wayland. Does the same thing happen for
> Gwenview's similar hamburger menu?

Indeed. Gwenview reports a version number 21.12.3 (same as dolphin). Perhaps it's been fixed since? Considering that other context menus, and even submenus of the broken menu do not show this issue, perhaps the wrong/an outdated style is being used, given that there was work to fix black corners not long ago IIRC.
Comment 4 Nate Graham 2022-04-04 21:46:59 UTC
It's a parenting issue in KHamburgerMenu itself IIRC. I seem to recall that it got fixed recently in Frameworks 5.93. Please feel free to re-open this bug report if you upgrade to 5.93 and find that it's not yet fixed for you.
Comment 5 Felix Ernst 2022-04-06 10:50:30 UTC
>I seem to recall that it got fixed recently in Frameworks 5.93. 

Yes, https://invent.kde.org/frameworks/kconfigwidgets/-/commit/babd8078cc92b3f46dbab0286d7629ada1c2d10f should have fixed it.
Comment 6 Nate Graham 2022-04-06 13:54:13 UTC
Thanks Felix!