-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
⚠️ 0.9.15 regressions #1792
Comments
I would also like to add that when I upgraded waybar to 0.9.15 the battery indicator is "strange". It shows me the exact half of what my battery capacity is. So if htop says I'm at 100%, waybar will say that I'm at 50%. If I'm at 34%, waybar will say that I'm at 17% and so on. |
@Estebiu I made changes to the battery calculation recently, could you give more info? What is your exact version? Do you have more than one battery (say, in |
I think you should revert #1120. |
I'm using the latest waybar-hyprland-git from the AUR as I'm on Hyprland. And no, I don't have another battery; my laptop doesn't support it (asus zenbook ux363ea). Just now I tried the standard waybar package and the battery monitor works normally. Very strange. |
Oh also before we fix this, as a temporary hack you can probably set full-at to 50% in your config. |
@grfrederic I tested it now and unplugged my laptop from power source. To 79% falling was normal, and then for few minutes it changed to 43% to change 62% for long time and now it normally show 42%. For me it doesn't matter as I'm always on charger, but if you want me to check something then go ahead - everything that I can do without knowing C. :P |
@roland-rollo thank you for testing, sadly that does not really sound related. I changed the capacity computation to divide by the total number of batteries, and for @Estebiu around that time it starts showing half the capacity. Perhaps the jumps in reported battery level might mean your battery degraded/is not calibrated. In any case, as long as |
Can I suggest reverting back to 0.9.13 as the primary release (possibly release it as 0.9.16) and then the release with these changes as a 0.10 beta so they can be fixed and not upgraded to automatically by users? 0.9.15 broke a lot of stuff to the point where it is unusable for a lot of us. |
@Estebiu I tried with one battery unplugged and -- it works on my machine :) If you would be up for it we can try figuring out together what makes it break on your laptop. I'm not sure this is the best place to do it though, let's move this discussion to the closed PR #1788? Reverting temporarily #1120 (or more) and fixing things on the side before rerelease sounds reasonable to me. I can help with testing and (perhaps with some pointers from more regular contributors) some coding. |
I think reverting #1120 is a good idea as it introduces breaking changes for no good reason. Such changes should be avoided in the future |
It's introducing a breaking change to fix a breaking change which breaks many themes. For example, here is what my theme (a slightly modified version cjbassi's config) looks like on 0.9.13: And here is how it looks on 0.9.15: I had some luck with this comment in #1741, however now everything is tiny: I tried several suggestions in other issues and unfortunately have had no luck in getting my theme working again. |
As the author of #1120 I also think it's better to revert it now, try to fix the issue and introduce it in a more major update after some beta-testing. On the other hand, a lot of the features using buttons adds over using labels are also available after a shift to Gtk4, so this may be an option for a major version bump as well. The heterogeneity of configurations is a major issue for quality assurance. It would be great to introduce some guarantees for the users as to which configs are certain to look the same across updates. E.g. have some example configs covering most of the heterogeneity be required to look the same. |
Agree with you @pinselimo, do you think you have some time to revert the PR? |
Closed as reverted |
Hi folks,
I'm creating a new issue to have all the regressions related to 0.9.15 in one place and be able to fix them more easily.
I also thought of revert #1120
What do you think?
#1781
#1786
#1763
#1775
#1778
#1743
#1741
#952
#1761
#1752
#1791
#1765
The text was updated successfully, but these errors were encountered: