Comments (5)
Thanks for reporting!
I think I found a way to reproduce the bug. Will let you know when I got it fixed.
from qtile-plasma.
The bug was triggered when windows were added to the layout but the layout's configure()
had not yet been called. In that case the screen dimensions were still unknown to the layout and it tried to do math with None
values.
Do you mind checking if the patch fixes the problem for you?
from qtile-plasma.
from qtile-plasma.
@flacjacket I first thought so, too. But there are legitimate cases where it can happen:
If you have set multiple layouts in your config, say layouts = [VerticalTile(), Plasma()]
, every time you spawn a new window, the add()
method is called on all layouts, even the inactive ones. But configure()
is only called on the active one. So the inactive layouts don't know the screen dimensions until they become active.
from qtile-plasma.
#11 works for me
from qtile-plasma.
Related Issues (19)
- mode_vertical/horizontal HOT 3
- Bring some options from Qtile's Tile layout
- Qtile focus behavior (below, above) HOT 3
- reset_size() not working after a vertical split HOT 2
- Possible to get lazy.layout.left() and lazy.layout.right() to work across screens? (and groups)
- Installation is failing on Ubuntu 18 HOT 2
- setting width from qtile shell / client_managed hook
- Error from Qtile Check
- Maintain layout on qtile restart
- The plasma layout doesn't follow layout theme
- Error in `from plasma import Plasma` for new python version. HOT 1
- Python 3.11 Compatability
- Is this still maintained? HOT 2
- v0.23.0 Update Requirements
- Adding to main qtile repo HOT 1
- Video demo HOT 2
- "from plasma import Plasma" crashes qtile on Ubuntu HOT 12
- Installation question HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtile-plasma.