wsdfhjxc / virtual-desktop-bar

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

Spacing beetween desktops with only show occupied and active desktops #45

Closed master-of-zen closed 3 years ago

master-of-zen commented 3 years ago

Original desktops 2020_11_27_14_28_56

desktop #1 and #2 just fine 2020_11_27_14_25_03 same with #1 #2 #3 2020_11_27_14_25_06

When I go to desktop #9, it have big space between them, and this space is clickable - meaning I can click on that space and go to 'hidden' desktops 2020_11_27_14_25_10

Here is my appearance settings ![2020_11_27_14_34_47](https://user-images.githubusercontent.com/46526140/100450547-864c5100-30be-11eb-8f3e-632feeacedf3.png)

:slightly_smiling_face: Please fix

master-of-zen commented 3 years ago

Also if I scroll desktops they all mash together 2020_11_27_14_42_41

wsdfhjxc commented 3 years ago

I can't reproduce this issue.

In case this is Latte Dock, please open Konsole and run the following:

TMP_FILE="/tmp/lattedock-debug.txt"
FILE="$HOME/virtualdesktopbar-debug.txt"
latte-dock --debug --replace > "$TMP_FILE" 2>&1; \
grep "virtualdesktopbar" "$TMP_FILE" > "$FILE"; \
latte-dock --replace & disown

Once Latte Dock and the plasmoid is loaded, and once the issue occurs, press Ctrl+C in Konsole.

Then, please attach the content of the virtualdesktopbar-debug.txt file created in your home directory.

master-of-zen commented 3 years ago

virtualdesktopbar-debug.txt @wsdfhjxc It loads straight to bug state, disabled composing looks like this 2020_11_28_00_20_35

wsdfhjxc commented 3 years ago

Thank you very much for the report. Unfortunately (or fortunately), I can't see any unusual QML errors in the log.

Could you please show me your Latte Dock configuration? Screenshots of the Behavior and Appearance tabs should be enough.

master-of-zen commented 3 years ago

Here they are @wsdfhjxc

Screenshots ![2020_11_28_23_46_21](https://user-images.githubusercontent.com/46526140/100526703-20ea8400-31d4-11eb-8460-e4319eab19c8.jpg) ![2020_11_28_23_46_13](https://user-images.githubusercontent.com/46526140/100526704-21831a80-31d4-11eb-8aa3-010f6afd51ef.jpg)
wsdfhjxc commented 3 years ago

I've made some changes. Can you please check out the testing branch, rebuild and reinstall the applet?

master-of-zen commented 3 years ago

@wsdfhjxc it fixes the issue, thank you :medal_sports: 2020_11_29_11_43_47