question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`Sep` widget inconsistent rendering on `0.20` release

See original GitHub issue

Description

The Sep widget fails to render correctly when used via an assigned variable. eg:

basic_sep = Sep(foreground="#1e222a", linewidth=4)
line_sep = Sep(foreground="#abb2bf", linewidth=1, padding=10)

I’ve been experiencing this since the 0.20 release, and rolling back to 0.19 resolves this issue.

Steps to reproduce

  1. Be on 0.20 release of qtile
  2. Use this as part of your Qtile config.py (replacing your widget_defaults and screens)
  3. Restart Qtile

Expected Behavior

Click into and zoom in for better look. image The Sep widget renders with the correct foreground, linewidth and padding.

Actual Behavior

Click into and zoom in for better look. image Notice on the left hand side, the Sep widgets are rendering transparently. Moving to the right, they seem to fail to render at all, causing all sorts of clashing between the other widgets. The two Sep widgets (line_sep left of the Clock and basic_sep after the Systray) finally renders as indented.

Replacing each of the line_sep and basic_sep with Sep(foreground="#abb2bf", linewidth=1, padding=10) and Sep(foreground="#1e222a", linewidth=4) respectively resolves this issue. Try here.

Interestingly, I also tried both 0.19 and 0.20 with & without a second monitor and on my second monitor, the Sep widgets render correctly in all scenarios. I suspect this issue has something to do with the render orders.

System Info

System: Linux 5.16.3-arch1-1

@elParaguayo I noticed many of your PRs on the widgets where incorporated into the latest release, maybe you have an idea of what may be happening here?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
elParaguayocommented, Jan 30, 2022

Cool. Thanks. Always nice to see my own name on the offending commit 😉

Let me look at fixing this.

0reactions
jamestrewcommented, Jan 30, 2022

#3278 resolves this issue 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Widgets render in debug, but not in release - flutter
It renders nicely in the debug version but when I build a release iOS and Android app files, it becomes partly invisible. There's...
Read more >
VMware Workspace ONE UEM Release Notes
This improvement resolves several issues such as inconsistent push messages from the UEM console, SDK profiles stuck in a queued state, difficulties enrolling ......
Read more >
Release Notes — pandas 0.20.3 documentation - PyData |
pandas 0.20.3¶. Release date: July 7, 2017. This is a minor bug-fix release in the 0.20.x series and includes some small regression fixes...
Read more >
Changelog — Kivy 2.1.0 documentation
[#7502]: MultitouchSimulatorTestCase: Don't render widgets in tests ... when your Kivy was released so that you don't get newer incompatible dependencies.
Read more >
Release Notes — Airflow Documentation
Fix secrets rendered in UI when task is not executed. ... but the absence of a prefix in the returned widget dict will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found