Zren / plasma-applets

This monolithic repo has been broken up into individual repos for each widget.
84 stars 23 forks source link

Thin vertical transparent bar at right edge of calendar #115

Open PJ-Singh-001 opened 6 years ago

PJ-Singh-001 commented 6 years ago

On the right side of the 2 column view, I am getting a thin vertical transparent bar (about 10 pixels wide), where the desktop background is visible. It begins just at the right edge of the calendar. In 1 column view, the vertical bar is still present, but I also get a thin horizontal transparent bar (about 10 pixels high), where the desktop background is visible. I am using the Breeze Dark desktop theme.

I am using event calendar 5.0 for plasma 5.6.

$ plasmashell --version plasmashell 5.11.2

$ kf5-config --version Qt: 5.9.1 KDE Frameworks: 5.39.0 kf5-config: 1.0

In the attached image, you can see the grey stripe at the right; it is grey because the white background is visible through this opaque stripe. (I did not take a screenshot of the 1 column format, but that would also have a similar opaque horizontal stripe at the bottom).

event calendar screenshot

Zren commented 6 years ago

I'm fairly certain that if you move the systemtray to where the calendar widget is in the panel, you'll get the same effect. It's probably a bugged svg cache rendering of the edge.

Change to the "Breeze Light" desktop theme, does it still show up? Install another desktop theme (eg: K10ne Next) and try that one. Then try Breeze Dark again.

If none of those work, we'll have to try deleting the ~/.cache/plasma-svgelements-* and ~/.cache/plasma_theme_*.kcache before switching back to breeze dark.

PJ-Singh-001 commented 6 years ago

The problem is still there after selecting the Breeze Light theme... breeze light theme

PJ-Singh-001 commented 6 years ago

...And this is the screenshot after deleting the cache files, and enabling the Breeze Dark theme... breeze dark theme after deleting cache files

PJ-Singh-001 commented 6 years ago

...in both screen shots you can see the background is visible through the opaque stripe at the right side of the calendar. BUT, I just realized, that in dong this, the calendar got reset to the Digital Clock widget, not EventCalendar. So the issue seems to be more general, and not specific to this plasma widget.

Zren commented 6 years ago

that in dong this, the calendar got reset to the Digital Clock widget,

Looks like you changed the "Look and Feel" instead of the "Desktop Theme".

Hmmm. How about this.

Run killall plasmashell (this will remove the panel) Then delete the ~/.cache/ files I mentioned above. Then run kstart5 plasmashell

It probably still had the bugged cached svg in memory still. This way it will need to read from the hard disk (when you start the panel back up).