luisbocanegra / plasma-panel-colorizer

Latte-Dock and WM status bar customization features for the default KDE Plasma panel
https://store.kde.org/p/2130967
GNU General Public License v3.0
232 stars 3 forks source link

[Bug]: Spacers not loading unless I go into edit mode #117

Open Nara-Desu opened 1 week ago

Nara-Desu commented 1 week ago

Describe the bug I edited the first preset Blur Widgets then customized to my liking. I also added a preset override for my spacers so that it would look as a floating panel, so everything looks good and works fine, however when restarting or turning on my computer the spacers won't load and they will not load unless I go into edit mode and I can see them generating (?) then I can exit edit mode and they stay.

To Reproduce Steps to reproduce the behavior:

  1. Turn on computer
  2. Spacers do not load
  3. Enter edit mode
  4. Spacers load
  5. Exit edit mode

Expected behavior I suppose they should load with the rest of the taskbar(?)

Project version 1.1.0

Desktop (please complete the following information):

Nara-Desu commented 1 week ago

https://github.com/user-attachments/assets/1f5a5348-4aa3-4920-81da-454120599ad0

luisbocanegra commented 1 week ago

Hi, does it happen all the time?

Can you check if it also happens without Panel Colorizer? To do so you can make a copy of ~/.config/plasma-org.kde.plasma.desktop-appletsrc, remove the widget from the panel then restart plasmashell with systemctl --user restart plasma-plasmashell

To restore replace ~/.config/plasma-org.kde.plasma.desktop-appletsrc with your copy and restart plasmashell again

luisbocanegra commented 1 week ago

Not sure if it's related but normally the spacers would expand and make the panel fill the width of the screen instead of making the panel full width right away, which was a bug fixed recently https://bugs.kde.org/show_bug.cgi?id=495378

For me the spacers do grow on startup as per that kde bug report.

Optionally you can set the panel width setting to fill width mode, which would be what the spacers should be doing anyway.

Nara-Desu commented 1 week ago

Happens every time I turn on the computer or log out/log back in. It's not a super big deal but I tough I was doing something wrong hah. I tried the fill width mode but I can't manage to get them to be always in the center and it drives me crazy haha.

Please let me know if I followed the instructions correctly!

https://github.com/user-attachments/assets/9c673b5c-e7ec-4f8f-87ef-82a51428bc41

luisbocanegra commented 1 week ago

Hmm you dont need to remove the original appletsrc file, that restores the default panel settings.

Making a copy off it was just to make it easier to revert back without having to apply colorizer settings again.

What I want to see is if the panel behaves the same without Panel Colorizer to discard it being a Plasma bug.

luisbocanegra commented 1 week ago

I tried the fill width mode but I can't manage to get them to be always in the center and it drives me crazy haha.

What is not centering? The widgets between the spacers? That's https://github.com/luisbocanegra/plasma-panel-colorizer/issues/105

Nara-Desu commented 1 week ago

Hmm you dont need to remove the original appletsrc file, that restores the default panel settings.

Making a copy off it was just to make it easier to revert back without having to apply colorizer settings again.

What I want to see is if the panel behaves the same without Panel Colorizer to discard it being a Plasma bug.

https://github.com/user-attachments/assets/2f83752c-6517-4794-983e-63d9909d4cec

Got it! Yeah it's then a plasma problem. after what you see in the video I restarted the computer and the spacers still didn't load without the plasma colorizer widget!

Nara-Desu commented 1 week ago

Okay I went over the link you shared and changed the panel setting: Width from fit content to fill width; It solved the problem, restarted and the bar/spacers load perfectly!

I'm running plasma 6.2.3 maybe it's not fixed yet in plasma!

Thank you for helping me!

luisbocanegra commented 1 week ago

You're welcome, the fix for that bug will land in plasma 6.2.4, scheduled to be released on Tue 2024-11-26