AstraExt / astra-monitor

Resource Monitor for GNOME shell
GNU General Public License v3.0
223 stars 12 forks source link

network panel displays downward instead of "smart" #96

Closed NickBelhomme closed 2 months ago

NickBelhomme commented 2 months ago

Description

The network panel does not show when the panel is at the bottom of the screen. When the panel is at the top it can show it.

Steps to Reproduce

I use dash to panel extension to have a bottom panel, but any bottom panel display extension will result in the same issue. Once the panel is in the bottom, all icons will show their individual panel overlays vertically upward except network. Network seems to be always want to be displayed downward instead of upward like the others. Making the information off screen available...

Environment

ljuzig commented 2 months ago

I have not been able to replicate that. I need you to give me some pointers on how to replicate it. I have enabled Dash-to-Panel and set it to Bottom but Astra is diplayed correctly (see screenshot). How many network connections do you have? Can you provide a screenshot?

Screenshot from 2024-04-04 15-35-37

NickBelhomme commented 2 months ago

https://github.com/AstraExt/astra-monitor/assets/312003/204e21e3-1798-45df-81c9-b7d150c4ee8b

ljuzig commented 2 months ago

You have too many connections. Looks like Gnome Shell doesn't support popups with anchor point on the bottom when they are higher than the screen size. I will try to find a way to avoid this issue, but in the mean time you can filter your bridges networks setting a regex in the ignore interfaces like this one: br-\w{8,}

image

NickBelhomme commented 2 months ago

thx! for the support and the excellent plugin.

ljuzig commented 2 months ago

I added a settings that should hint gnome on which side the menu should open:

image