Comments (13)
No need to apologise. It's good to spot the issue. I've submitted a PR to fix it so no need to open a new issue there (it would still be me dealing with it).
Ideally, it would be great if you could test that the fix works for you.
from qtile-extras.
No rush at all.
The fix I've submitted will preserve the behaviour of the negative length widgets.
from qtile-extras.
Interesting. I'll see if I can take a look later this week.
from qtile-extras.
Thanks. I'll take a look when I can.
NB any widget that needs to have different behaviour depending on which screen it's displayed (e.g. GroupBox) should notbe mirrored, you should create a new instance for each screen. Mirrors just display the same contents as the original and pass button clicks to that widget rather than triggering their own behaviour.
from qtile-extras.
Good to know, thank you! I will change the config to avoid that. Unfortunately at the moment even if not mirroring the widgets that need to have different functionality it still doesn't work.
from qtile-extras.
I think it's your negative value Spacer
widgets that are breaking this.
from qtile-extras.
Those widgets are not drawn in the original bar (as they only draw when the length is > 0) but I suspect they are taken into account when trying to position various other widgets.
However, the mirror widget has no check for the negative width value and so breaks.
I think this is actually an issue in main qtile.
from qtile-extras.
I think this fixes it: qtile/qtile#4714
from qtile-extras.
Oh, I'm sorry then. That's true, I was testing it on qtile before I added those spacers, so it might be the main qtile issue after all. I added the negative values to "remove" the padding when the widgets are grouped and it worked perfectly with just the one bar. Actually it is breaking right after the calendar icon where the first spacer is.
Should I make an issue on main qtile? I don't think it's a bug then, I was just trying to "break the system". Is there any other way or maybe it's an idea for something to add to qtile, to separate padding_x or padding into padding for each of the sides?
from qtile-extras.
I will try the changes tomorrow if that's not a problem. Will this affect the way the negative length works on the widgets? I still don't understand all of the code hah
Thank you for all of the help!
from qtile-extras.
Ha. It's already been merged by another one of the devs so you just need to update to latest version of qtile.
from qtile-extras.
Oh boy, you work fast. Amazing!
from qtile-extras.
Ok, it works perfectly now. The only thing I can think of is that the checkupdates widget on the second screen has to refresh before the decorations start working. It's not really a problem, just something I noticed
from qtile-extras.
Related Issues (20)
- Install Error HOT 4
- PulseWidgetExtra behaving weirdly HOT 2
- Can't use keyboard to close popups if the current group has applications HOT 4
- [BUG] Decoration not working with Qtile 0.23 HOT 4
- Struggling to install HOT 15
- RectDecoration stopped working HOT 9
- Issues after Visualiser update HOT 18
- PulseVolumeExtra error HOT 8
- wrong install instruction HOT 1
- `GithubNotifications` errors when not connected to internet HOT 3
- Add support for pango markup to `PopupText`
- Colors of the text in the popup of the bluetooth widget not changing HOT 6
- Popup size HOT 1
- After an update to 0.25.0 lazy calls stopped working in custom popup windows HOT 4
- Global Menu dynamic menu width
- Interactive network widget with NetworkManager HOT 1
- Trouble keeping popups above other windows HOT 2
- Window border decorations crashing on Wayland
- Tooltips not working when added to wallpaper widget HOT 4
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-extras.