Top bar button refresh abnormally.
I run into this problem on my Arch Linux with the latest version of this extension installed.
https://user-images.githubusercontent.com/41445339/123545593-692e4c80-d78b-11eb-90ff-85abb850410b.MOV
PS: I changed the
refreshTimeto 1 second in order to better show this problem. And the gnome shell version is 40.2
After I commented all width property in stylesheet.css, it run into normal.
It seems like a GNOME bug but I do not know how to fix it.
removing width is workaround, but resized too often
removing
widthis workaround, but resized too often
You can use min-width property of css, instead of regular width and it can even be less like 5.5em per element after that it will resize to fit.
This is what I used in my fork netspeedsimplified and it worked like charm.
You can use min-width property of css, instead of regular width and it can even be less like 5.5em per element after that it will resize to fit.
I second this. This fixed the issue immediately.
@JoalpaLe Maybe you can create the pull request as I see that @biji only does bare maintenance of this extension.
@JoalpaLe when resizing, all extensions on left will move too much, thats why I prefer static width. For example 0 B to 1000 MB
https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/issues/685#issuecomment-938450567
This bug has fixed in gnome mutter: https://gitlab.gnome.org/GNOME/mutter/-/commit/867db93043dd3c93d8ccb6cb197d4a3687d3a5e5
So we need to wait until a new version release ( maybe 41.xx... ).
paradoxxxzero/gnome-shell-system-monitor-applet#685 (comment)
This bug has fixed in gnome mutter: https://gitlab.gnome.org/GNOME/mutter/-/commit/867db93043dd3c93d8ccb6cb197d4a3687d3a5e5
So we need to wait until a new version release ( maybe 41.xx... ).
I also found a temporary way to fix this issue by forcely refresh button: https://github.com/STARRY-S/simplenetspeed/commit/1f5b313dbd2dde5260784f67d4c05f58f9a13ec5
Maybe we can use this way to temporally fix this issue before GNOME releases its new update.