-
-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: downspeedgraph and upspeedgraph require color and width after update #1428
Comments
Same thing here, with: I had two graphs in the same line:
and after upgrade to Conky 1.18.1, they became so: Adding 2 colours did split them:
Also, just removing "eno1", did split the graphs: |
ditto and thanks for this report for a temporary fix by adding colour to the graphs |
I also see this potential regression. And |
Maybe it is a good idea for all graphs to use current_color if gradients colors are not defined? This way older configs will not broke. |
That's kind of what I was hoping for. If for some reason that can't be done we should be able to pass colorN as a gradient color too imo. I was never able to figure out how to do that in my work around so I had to "hardcode" the color into the graph. |
Just an idea...
Background... |
@napcok Your idea reminded me that we already have such options for sizing: So with this reminder I tried using variables for the colours, but found they don't work. The "variabled" colour would default to what looks like I wonder, is the problem down to parsing / resolving variables within |
I ran into this too, rolled back to an older version to get out of it. Looks like 1.18.1 is reading other variables withing the graphs as colors and thus failign to parse width, height etc |
Confirm specifying a gradient for all graphs works around this, lets me use 1.1.8.1 but this really should be fixed |
This is probably an issue with 5e98c49 incorrectly resolving parse ambiguity now that graphs can use color names like "red". I'll look into it soon. |
I have the same issue |
See #1447; reports from testers of whether it fixes this bug would be appreciated. |
Yes, bug seems to be fixed now. Thanks! |
I just tested this. Compiled from the source on Arch Linux and ran the application that was compiled and it worked as I expected it to. Thanks for your quick response and quick solution. I will look forward to when an official release of this is compiled for Arch Linux in the repos. As decided, the issue should definitely be closed. Thanks again for working on it @bi4k8 . |
I don't have a Lua build environment set up for conky, already have an OS expanded by support for building MATE and compiz.
Thanks though, this should hit Debian Unstable's builds in a while and until it does I have the workaround
|
What happened?
After upgrading from 1.17.0 to 1.18.1 through the Arch Linux repos I noticed my
downspeedgraph
andupspeedgraph
objects were throwing errors. Upon digging through documentation and some trial and error I found that I needed to now include the width of the graph and 2 color values.In my config before the 2 lines were as follows:
${downspeedgraph wlp7s0 80,}
${upspeedgraph wlp7s0 80,}
But now they must be these 2 lines as follows to work like they used to:
${downspeedgraph wlp7s0 80,224 #5498f8 #5498f8}
${upspeedgraph wlp7s0 80,224 #5498f8 #5498f8}
Oddly enough passing only the size of the graph will produce the correct size, and passing only the interface will produce a working graph of said interface, but when both are passed to it I get the following output when running
conky
in my terminal:Also note that when passing only the size
80,
will work, but when passing that as the size with the colors as arguments I still get the errors noted above. An example of such would look like:${downspeedgraph wlp7s0 80, #5498f8 #5498f8}
Hopefully this is enough information to shed some light on the issue. If you need me to test anything else let me know and I will happily mess with my config.
The config I will attach below is my full config that worked in 1.17.0, but does not fully work now.
Version
1.18.1
Which OS/distro are you seeing the problem on?
Arch Linux
Conky config
Stack trace
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: