Tooltips and menus in old Qt4 apps (e.g., KMail, KSnapshot) have drop shadows, but tooltips and menus in Qt5 apps do not. This looks particularly bad in some apps (e.g., Kate) because the menu is drawn with a hard black outline that looks like a rendering bug. Reproducible: Always Steps to Reproduce: 1. Select Oxygen as the widget style. 2. Hover over a toolbar button or open a menu in a Qt4 application. 3. Hover over a toolbar button or open a menu in a Qt5 application. Actual Results: Toolbars and menus in Qt5 application lack drop shadows. Expected Results: Toolbars and menus in Qt5 applications have drop shadows as they do in Qt4 applications.
Created attachment 98515 [details] Comparison of menus in KMail (Qt4) and KCalc (Qt5)
Created attachment 98516 [details] Ugly hard black border around menu in Kate (Qt5)
Thanks for reporting the issue. I cannot reproduce however. (meaning: here I have consistent shadows for both qt4 and qt5 applications). Also the issue is surprising, since qt4 and qt5 versions of oxygen (and breeze) share the same code to pass menu and tooltip shadows to kwin. You are running with kwin_x11 (from kf5) as a window manager, right ? - can you check that shadows are indeed enabled in oxygen settings (either via systemsettings5, style, oxygen -> configuration, or using oxygen-settings5) - do you have the same issue when using breeze as a widget theme ? (you should: both code path are pretty similar) - and what is the Qt5 version you are using ?
Created attachment 98534 [details] KCalc (Qt5) running with "-style breeze" (In reply to Hugo Pereira Da Costa from comment #3) > You are running with kwin_x11 (from kf5) as a window manager, right ? Yes, I'm running kwin_x11 5.6.3 on KDE Frameworks 5.21.0. I am logging in using SDDM 0.13.0 as my display manager. > - can you check that shadows are indeed enabled in oxygen settings (either > via systemsettings5, style, oxygen -> configuration, or using > oxygen-settings5) I assume you mean the "Shadows" settings in the "Window Decoration" module of oxygen-settings5. Yes, everything is set to the defaults. > - do you have the same issue when using breeze as a widget theme ? (you > should: both code path are pretty similar) Yes, Breeze also lacks shadows behind menus and tooltips. See the attached screen shot. > - and what is the Qt5 version you are using ? 5.5.1
(In reply to Matt Whitlock from comment #4) > (In reply to Hugo Pereira Da Costa from comment #3) > > - and what is the Qt5 version you are using ? > > 5.5.1 Same problem exists when running on Qt 5.6.0.
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!