elParaguayo / qtile-extras

Somewhere to store things I create for qtile that probably won't end up in the official repo
MIT License
165 stars 19 forks source link

RectDecoration stopped working #292

Closed zordsdavini closed 8 months ago

zordsdavini commented 10 months ago

Some time ago (two month or more) all my decorations stopped working. Used to draw nice corners.

Ex., with BLUE and BLACK is colour in format '#984735'

        widget.Clock(
            format='%Y-%m-%d %H:%M',
            foreground=BLACK,
            decorations=[
                RectDecoration(colour=BLUE, radius=8, filled=True, padding_y=3)
            ]),

Using latest git versions of qtile and qtile_extra.

elParaguayo commented 10 months ago

Thanks.

Can you give me version info for both packages (e.g. commit numbers) and I'll take a look but I'm not aware of these being broken.

zordsdavini commented 10 months ago

Sure :) qtile-extras-git r292.f2b35c5-1 qtile-git 0.23.0.r48.g8547c215-1

zordsdavini commented 10 months ago

@elParaguayo maybe you can describe how should I debug what is wrong? Maybe I have something installed and that broke decorations?

elParaguayo commented 10 months ago

Ideally, you'd do a got bisect to find out which commit broke the decoration. However, the current CI test suite should be checking that decorations are rendered correctly.

elParaguayo commented 10 months ago

It works ok for me.

Can you share your config and a screenshot of the issue?

zordsdavini commented 8 months ago

Came back to this issue... Tried bisect. Tested till 036b3383c9d394d8de331776ec4b0bcf9dc7a3a0 (later changed something and my config is broken for this). No success. So bisect didn't help. Problem is not qtile codebase. Digging deeper. I have feeling that I added something and broke decorations. Will inform

zordsdavini commented 8 months ago

image config.py.txt

Added cleared a little bit config and screenshot

zordsdavini commented 8 months ago

stupid me... One thing still not clear - how it happened

from qtile_extras import widget

not from qtile

zordsdavini commented 8 months ago

and this happened during auto migration