applet-window-appmenu
applet-window-appmenu copied to clipboard
[kvantum themes] - menus sometimes appear offset
Hello, I am occasionally finding that menus appear slightly offset relative to the Latte Dock panel on which I have placed this widget as in the screenshot below.
It is not always like this and sometimes appears as expected (i.e. menus directly below the menu button on the panel) but it would be nice if it always did so.
If it helps, these are the software versions I am using:
- Ubuntu 20.04.3
- KDE Plasma 5.18.7 (on X11)
- KDE Frameworks 5.68.0
- Qt 5.12.8
- Latte Dock 0.9.11
- applet-window-appmenu 0.7.1 (installed following the installation instructions)
I'm not sure if it's related to the fact I have two monitors with different resolutions (one 1080p laptop screen with a neighbouring 4K external monitor).
Let me know if there's any further information I can provide in order to debug this.
I think latest Latte 0.10.x with latest appmenu fixes the situation
I can confirm the bug with:
- OS: Manjaro 21.1.4 Pahvo
- KDE: 5.22.5-1
- KDE Frameworks: 5.86.0-1
- Latte Dock 0.10.75
- applet-window-appmenu 0.7.1-2
- Plasma widget style: Kvantum 0.20.1-1
The bug is present both in a single monitor and a dual-head setup.
One thing to notice is that when I navigate through the menu a few times, it kind of "tweaks" the offset until it has the proper offset (no offset at all).
One thing to notice is that when I navigate through the menu a few times, it kind of "tweaks" the offset until it has the proper offset (no offset at all).
Yes, this is the behaviour I am also observing.
you need latest Latte Dock, meaning v0.10.x and latest master version in order to confirm that this is still valid.
I can confirm the bug with:
- OS: Manjaro 21.1.4 Pahvo
- KDE: 5.22.5-1
- KDE Frameworks: 5.86.0-1
- Latte Dock 0.10.75
- applet-window-appmenu 0.7.1-2
- Plasma widget style: Kvantum 0.20.1-1
The bug is present both in a single monitor and a dual-head setup.
One thing to notice is that when I navigate through the menu a few times, it kind of "tweaks" the offset until it has the proper offset (no offset at all).
I confirmed it with latte 0.10.75
0.10.75 is too abstract can you confirm it with 0.10.1 or 0.10.2 and provide also a way to reproduce?
I installed Latte Dock from source using the latest commit on the master branch (commit d354cc4
) and am still observing this issue.
send your latte layout file because I can not reproduce in any case
Here is my layout file: My Layout New.layout.latte (obviously without the .txt extension).
Here is my layout file: My Layout New.layout.latte (obviously without the .txt extension).
- I can not reproduce. In your system do you use any scaling factor for your screen other than 1.0 ?
- Your layout is a crashy one, there are too many duplicated ids for applets and containments, if you go to Layouts Editor you will see the errors and warnings in there, I wouldnt trust it if you get crashes with Latte
- I can not reproduce. In your system do you use any scaling factor for your screen other than 1.0 ?
No, I always use 100% scaling.
- Your layout is a crashy one, there are too many duplicated ids for applets and containments, if you go to Layouts Editor you will see the errors and warnings in there, I wouldnt trust it if you get crashes with Latte
I suspect this may be due to applets (probably the status bar) that are on panels on displays that are currently not connected. Indeed the layout editor seems to reports the warning for different monitors depending on which ones are connected/connected most recently.
In any case, I have made a simpler layout that is closer to the default one, does not seem to have warnings/errors and reproduces this issue for me: Test-Layout.layout.latte
I'm also having same issue with latest Latte-dock and this applet.
I only ever get this bug with kvantum based themes and get in on the KDE panel and Latte Panels
I only ever get this bug with kvantum based themes and get in on the KDE panel and Latte Panels
This is interesting. I have always used a kvantum based theme but I tried switching to a normal one and the problem also goes away for me.
I can confirm the same behavior on latte dock 0.10.8
does that occur when using Breeze application style and Breeze window decorations?
I can confirm this issue and when I had it, I used WhiteSur-dark, with Kvantum (the same theme) and corresponding aurorae theme.
I was playing with some options and now the issue with menu out of place seems to be gone, however, my menu is no longer semi-trough... Wait... I know what's changed! Kvantum!
With the regular Breeze app look, the issue is not present. When Kavntum theme is applied, in my case WhiteSur-dark, the issue appears.
So the problem must be on the edge of what appmenu does and what Kvantum changes.
I hope this helps pinpointing to the solution. Or it may turn out, it's a problem with Kvantum theme, so downstream and @psifidotos, can't do anything about it.
EDIT: I tested out a few of kvantum themes, and so far, all of them produce this effect.
EDIT2: Another clue. When I was switching back and forth various Kvantum thems or Breeze vs Kvantum, I lost blur effect on the menus. This happens sometimes and even kwin restart won't help, but after session releoad, blur on menus is back. However, I noticed, when BLUR AND ROUNDING is not apploed to menus, the offset menus also don't show up, even with kvantum! So the issue seems to be either with blur or rounding effect. In my and the op's cases, we both have dark, semi-transparent, blurred, rounded menus - that's a recipe for replicating the bug.
I also confirm this behavior. In my case I also use Kvantum themes in X11 session. Currently I'm using version v0.6.0 to avoid the menu's offset. It happens, at least to me, since version v0.7.0. With the latest version and in Wayland session, it only happens the first time appmenu loads the application menu, If you close and then open again the menu, it appears at the right position
This issues seems to be caused by kvantum menu shadow, because without it there is no offset.
Seems like this issue is still not fixed. I'm having the same issue, with Fedora 38 on KDE Plasma 5.27.4.
Yes the issue is not yet fixed. I can confirm with KDE neon 5.27 on KDE Plasma 5.27.8
I just encountered this issue with Plasma 6, it was working fine until I applied this theme. Now I have to deactivate the menu shadows...
i confirm the same issue but tried to play with the configuration file and edit the following variable (i also removed it) as i heard from few people here talking about shadows:
menu_shadow_depth=
it fixed the offset but i saw that the rounded corners are different. still rounded but not as leaving the variable with its default value. but anyway still better than that huge irritating gap.