Skip to content
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

Memory and storage bars are oversized, sticking out of the bottom of the panel #110

Closed
aquatix opened this issue Apr 14, 2024 · 14 comments
Closed
Labels
bug Something isn't working

Comments

@aquatix
Copy link

aquatix commented Apr 14, 2024

Description

The bars showing information about the memory usage and storage are for some reason offset to the bottom, extending out of the bottom of the panel.

Steps to Reproduce

  1. Install the extension.
  2. Look at the default bars in the panel.

Screenshots

Screenshot from 2024-04-14 11-30-50

Screenshot from 2024-04-14 11-36-05

Environment

  • Astra Monitor Version: 19 (EGOv30)
  • GNOME Version: 46 (also happens on 45)
  • Operating System and Version: Ubuntu Gnome 24.04 (also on 23.10).
  • Other Relevant System Information: happens on default Adwaita theme and also on others.

Logs

n/a

Additional Context

Please let me know if I need to provide more info and/or can help testing.

@aquatix aquatix added the bug Something isn't working label Apr 14, 2024
@ljuzig
Copy link
Collaborator

ljuzig commented Apr 14, 2024

Today I tried to take a look into this issue but I couldn't reproduce it. Do you have any other extension that modify the gnome's top panel like Dash to Panel or a particular theme? Any additional info could be really helpful.
Can you provide a video screencast when enabling the Astra Monitor extension to check the behaviour and understand what might cause that? Thank you!

@aquatix
Copy link
Author

aquatix commented Apr 15, 2024

You raise an excellent point and of course I have some other extensions that alter the top panel. Not so drastically as Dash to Panel, but I have some things like Blur my Shell, Gnome 4x Improvements](https://extensions.gnome.org/extension/4158/gnome-40-ui-improvements/), [Transparent Top Bar](https://extensions.gnome.org/extension/3960/transparent-top-bar-adjustable-transparency/) and [Unite`.

However, I disabled all of those (without uninstalling them) and even after logging out and back in again, re-enabling Astra Monitors shows the bars dropping down the panel.

This is currently my extensions list (not all of them are normally enabled):

Screenshot 2024-04-15 at 21-13-56 Installed Extensions - GNOME Shell Extensions

I'll try to make a screen recording too.

@aquatix
Copy link
Author

aquatix commented Apr 15, 2024

With 'User Themes' also disabled (so everything in the above list disabled), I enabled Astra Monitor again, with this result:

Screencast.from.2024-04-15.21-17-17.mp4

@aquatix
Copy link
Author

aquatix commented Apr 15, 2024

I hope this helps :/

Thanks for your time!

@diegopvlk
Copy link

Looks like a problem with high dpi. I have a 4k monitor and the same thing happens with 200% scaling but it's fine on 100%

@aquatix
Copy link
Author

aquatix commented Apr 18, 2024

@diegopvlk that's an excellent observation and one that I didn't even think about 🫤

I indeed have this issue on a 4k laptop at 200% scaling. Will try on 100% to verify.

@aquatix
Copy link
Author

aquatix commented Apr 18, 2024

I just verified and setting scaling to 200% shows the issue, while setting it to 100% makes the bars behave.

@ljuzig
Copy link
Collaborator

ljuzig commented Apr 19, 2024

The issue lies somewhere else. I have a 4k screen with 200% scaling but I don't experience this issue (see screenshot). Are you on xorg or wayland? I may need to create a custom build that prints some logs to understand what's going on there.
However I'm on the newer v20 which is not yet approved in extensions.gnome.org (will be soon very likely), might worth to try it.

Screenshot from 2024-04-19 16-29-52

@diegopvlk
Copy link

@ljuzig interesting, this is what happens for me on v20 (both xorg and wayland):

Screencast.mp4

@ljuzig
Copy link
Collaborator

ljuzig commented Apr 19, 2024

@ljuzig interesting, this is what happens for me on v20 (both xorg and wayland):

Very interesting indeed. That looks like a VM, what distro is it? Do you have easy instructions on how to reproduce that?

@diegopvlk
Copy link

Very interesting indeed. That looks like a VM, what distro is it? Do you have easy instructions on how to reproduce that?

I'm on Fedora 40. Not a VM, it's a Nested GNOME Shell:

env MUTTER_DEBUG_DUMMY_MODE_SPECS=2720x1536 MUTTER_DEBUG_DUMMY_MONITOR_SCALES=2 dbus-run-session -- gnome-shell --nested --wayland

@ljuzig
Copy link
Collaborator

ljuzig commented Apr 19, 2024

Ok, I got the bug. If you notice my screenshot and yours, the scale selector is different. That's because I have mutter's scale-monitor-framebuffer enabled. I can see the bug too disabling that!

Screenshot from 2024-04-19 19-32-51

@ljuzig ljuzig closed this as completed in 7abd1e7 Apr 19, 2024
ljuzig added a commit that referenced this issue Apr 19, 2024
ljuzig added a commit that referenced this issue Apr 19, 2024
@ljuzig
Copy link
Collaborator

ljuzig commented Apr 19, 2024

I issued a new release, please test it and share a feedback!
Thank you!

@aquatix
Copy link
Author

aquatix commented Apr 19, 2024

Yes, that seems to have done the trick, thanks! Looking great 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants