wsdfhjxc / virtual-desktop-bar

A pager panel widget for KDE Plasma
GNU General Public License v3.0
326 stars 29 forks source link

Applet Randomly Overlaps with other Applets when using Latte Dock #62

Open cachandlerdev opened 2 years ago

cachandlerdev commented 2 years ago

Summary

When starting Latte Dock, the applet sometimes overlaps with other widgets. This issue remains until Latte Dock is restarted, or the user right clicks on Latte Dock and hits the Edit button (which I'm guessing 'refreshes' the widgets somehow, and fixes the problem). *

Steps to reproduce

  1. Create a Latte Dock dock/panel.
  2. Add Virtual Desktop Bar to the dock/panel.
  3. Change the desktop label style to Number. **
  4. Add a Latte Separator or other applet to the right of the Virtual Desktop Bar.
  5. Close and reopen Latte Dock.

Current behaviour (bug)

Sometimes, when Latte Dock starts up, the Virtual Desktop Bar overlaps with the widget on its right side. This is the only applet where I've seen this occur.

Expected behaviour (correct)

The applet would use the correct amount of space, and not randomly overlap with other widgets.

Relevant logs and/or media (optional)

image image The first image shows the bug. The second image shows the expected result. (The particular instance of this bug shown in the screenshot occurred on the third time that I restarted Latte Dock while writing this bug report.)

Software/Os Versions

Linux/KDE Plasma: Manjaro Linux KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.2 Installation Method: AUR

Other comment (optional)

*I have not tested to see if this issue is also present when using the default Plasma panels. **I have not tested to see if the applet needs to use the Number desktop label style. Since that is the only style I use, it is the only style where I've seen this bug occur.