-
Notifications
You must be signed in to change notification settings - Fork 51
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
Statistics view gets infinitely small, then loops over. #293
Comments
Well that's interesting. Thanks for the issue! |
What a weird one. Just going to say I don't have this on the same version of Brave on Linux Mint 21.2. |
I don't know why, but this issue seems to only pop up when the browser level zoom is not 100%. It also works fine for other levels of zoom like 60% and 80% it will shrink slightly and then stop and not loop. |
Ah super thanks @cblanken , I wasn't able to reproduce it, this should help investigation. |
@jzohrab I'd like to take on this issue if you haven't looked into yet. It seems like it shouldn't be too complicated. |
Absolutely @cblanken if you have cycles, that would be super!! The js library is in lute/static/js, I believe. |
Evidently it's an unfixed issue in ChartJS. See chartjs/Chart.js#10890 One work around is to set the Just as a quick fix, I forced the aspect ratio to 3/1 (so three times as wide as it is tall) and it seems to work pretty well. Here are some screenshots at different resolutions. 1920 x 10802560 x 14401080 x 1920The width was actually set to 60% before, not sure if there was a reason for that, as I'm pretty sure the right side of the screen isn't used for anything else. Anyway if that seems good I'll go ahead and send a PR, just let me know. |
Those look just fine, and if that resolves the issues (how strange!) it looks good to me. Thank you @cblanken ! |
Merged into |
Launched in 3.5.1. |
Description
On first navigation to statistics, it gets into a loop of getting smaller then starting over again.
To Reproduce
Steps to reproduce the behavior, e.g.:
Screenshots
Screencast.from.2024-02-28.10-01-49.webm
Extra software info, if not already included in the Description:
The text was updated successfully, but these errors were encountered: