Closed abhnvkmr closed 7 years ago
Thx for report, it's reproduced on other kvantum themes?
I'm now try Arc Dark Transparent with Qt 5.7 and Qt 5.9 (with update) on Live KDE Neon and not confirm this:
Try remove temp files on ~/.cache directory and relogin?
Still happening with other Kvantum themes. I also cleared .cache sans non-KDE folders.
Still I am fairly sure that it is a configuration issue because it's not happening for new users. Only for users that existed before I upgraded to 5.9.
Sometime i see this bug too, but only for desktop menu right click > Add Panel. But it's not reproduced always - now all fine showing... Also i'm use version 0.10.4, try this: https://github.com/tsujan/Kvantum/releases/download/V0.10.4/kvantum_0.10.4-ubuntuLTS_amd64.deb This happened only for desktop widget menu for you or for another menus too (apps, other widgets and etc)? @tsujan you have ideas?
Also notice, for right click > add panel not used shadows. For example, theme KvAmbiance:
@tsujan i reproduce this bug (it's happened not always):
I can't reproduce this but I recompiled Kvantum as soon as Qt was upgraded to 5.9 on my system. So, I recommend a recompilation against Qt 5.9.
There's also another possibility. Lack of shadow usually means lack of compositing when a menu is created for the first time. The plasma may be started a few milliseconds before the compositor. Can you see the issue with applications that aren't related to Plasma?
No, for me it's happened for only desktop widget > add panel menu sometime. I try recompile kvantum with new packages from Neon PPA
OK, if it only happens with Plasma, it should be about the startup order, as I mentioned above. However, recompilation against 5.9 is a good idea.
If you see those shadowless menus in any app NOT related to Plasma, please tell me!
I'm now use your package 0.10.4 from release and this happened randomly. I think you right with:
Lack of shadow usually means lack of compositing when a menu is created for the first time. The plasma may be started a few milliseconds before the compositor.
See, now all fine and shadows too: Maybe need add sleep option some seconds for start?
@abhinavk Please test with new git version (compiled with Neon PPA's): https://launchpad.net/~varlesh-l/+archive/ubuntu/test/+build/12783385/+files/kvantum_0.10.4ubuntu16.04_amd64.deb
oops, sorry... for launchpad not available add repos from neon, because packages hosted on another server. Compiled with Qt 5.5 (from ubuntu ppa)
You right @tsujan , because when i change engine kvantum > breeze > kvantum. All looks fine. @abhinavk Try this
I installed the .deb and it now looks fine.
@varlesh I logged into KDE again and, at last, saw it:
This is not about compositing; the submenu is composited but has no shadow.
Kvantum includes a workaround for some rare cases, where a stylesheet containing "padding" is applied to a menu. In such cases, Kvantum removes the shadow because, most probably, the stylesheet would interfere with the shadow size and would make it ugly. Such cases are caused by mistakes in the app code.
However, I'm confused by the randomness: If there's a stylesheet, it should be always there.
See dev comment, it's happened because plasma started a few milliseconds before the compositor. Temporary solution - reenable kvantum engine.
This is not about compositing; the submenu is composited but has no shadow. Kvantum includes a workaround for some rare cases, where a stylesheet containing "padding" is applied to a menu. In such cases, Kvantum removes the shadow because, most probably, the stylesheet would interfere with the shadow size and would make it ugly. Such cases are caused by mistakes in the app coding. However, I'm confused by the randomness: If there's a stylesheet, it should be always there.
But see my previous screen , border with shadows https://github.com/PapirusDevelopmentTeam/arc-kde/issues/42#issuecomment-310053472 It's very strange
Yes, your test confirms the compositing hypothesis rather than the above one: in my screenshot, the menu is composited because compositing is present but it got its shadow size before compositing was enabled. Plasma has its weird bugs....
Actually, the workaround I mentioned above is only for context menus of line-edits. Therefore, the compositing being started too late is the best explanation of this case :)
Ok, @tsujan thx for help. Closed. PS: KDE bugs infinitely :)
because when i change engine kvantum > breeze > kvantum. All looks fine.
You're completely right. I did the same thing and everything is OK:
i had installed Arc-KDE and Kvantum from papirus PPA. Yesterday Qt 5.9 was pushed to Neon User edition and now the menu borders look like this