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

Wired desktop shows wifi icon even if disabled #748

Open
piaccarino opened this issue Jan 27, 2025 · 0 comments
Open

Wired desktop shows wifi icon even if disabled #748

piaccarino opened this issue Jan 27, 2025 · 0 comments

Comments

@piaccarino
Copy link

piaccarino commented Jan 27, 2025

Describe the bug
Desktop with wired and wireless connection always shows wifi connection on bar, which is not connected to an ssid.

To Reproduce
Steps to reproduce the behavior:
System has bridge configured for kvm and may take a few seconds after boot to connect, but basically have a wired network connection active and a wifi adapter that isn't connected to an ssid. The ethernet adapter show as connected and I can also select from all available ssid.

Expected behavior
Show the wired adapter as primary which seems like that is supposed to happen here: https://github.com/Jas-SinghFSU/HyprPanel/blob/master/src/components/bar/modules/network/index.tsx#L15

Screenshots
Image

Desktop (please complete the following information):

  • Distribution: Arco Linux (Arch)
  • Window Manager/Desktop Environment: Hyprland
  • aur/ags-hyprpanel-git r407.006e954-1 (+3 1.16) (Installed: r505.88609f7-1)

Additional context
Simple python test with astalnetwork showing the desktop nic is primary.

test.py:1: PyGIWarning: AstalNetwork was imported without specifying a version first. Use gi.require_version('AstalNetwork', '0.1') before import to ensure that the right version gets loaded.
from gi.repository import AstalNetwork as Network
None #This is the result for print(network.get_wifi().get_ssid())
gi.FunctionInfo(get_wired, bound=<AstalNetwork.Network object at 0x797789e88180 (AstalNetworkNetwork at 0x5b9c8cff1950)>)
gi.FunctionInfo(get_primary, bound=<AstalNetwork.Network object at 0x797789e88180 (AstalNetworkNetwork at 0x5b9c8cff1950)>)
gi.FunctionInfo(get_icon_name, bound=<AstalNetwork.Wired object at 0x7b378fa642c0 (AstalNetworkWired at 0x61b62519ffe0)>)

@piaccarino piaccarino changed the title Wired desktop shows wifi icon even is disabled Wired desktop shows wifi icon even if disabled Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant