alexankitty / FancyTasks

Make your plasma task manager widget pretty.
GNU General Public License v3.0
126 stars 7 forks source link

Fancy Tasks' buttons shrink with only one window open. #21

Open b1scu1t opened 1 year ago

b1scu1t commented 1 year ago

If there is one window open, the task button shrinks in size. However, if the user opens another window and another button appears on the taskbar, both button expand to their expect size (full). The bug become a lot more obvious if one is to open two windows on one workspace, and a single one in another workspace. Toggling between workspaces will show the buttons resizing.

https://user-images.githubusercontent.com/41207956/200138541-00629b52-74f3-40a7-9d9f-cf18a9b69627.mp4

alexankitty commented 1 year ago

This is honestly probably a side effect of my hacky implemention of creating running indicators and animating them. It can probably be shimmed by disabling the animate when a new window is open. I'll label as a bug, but it might be a bit before I can come up with a fix unless someone else wants to PR it before me.

alexankitty commented 1 year ago

This might be fixed in 67654430537153258ebb5ff263965c56e9ef5648 I changed where and how the indicators are drawn and should only be dependent on their parent frame explicitly instead of implicitly like before.