eythaann / Seelen-UI

The Fully Customizable Desktop Environment for Windows 10/11.
Other
4.14k stars 113 forks source link

[BUG] Network status shows ethernet icon when connected to wi-fi #294

Closed Joshua-Nweze closed 1 week ago

Joshua-Nweze commented 1 week ago

When I connect to a wi-fi, the network status icon wont show a wi-fi icon but an ethernet icon

Screenshot 2024-11-30 041402

PhantomPixel-0418 commented 1 week ago

Yeah, I'm having this problem too I'm connected to Ethernet and it's incorrectly showing the WiFi icon image Although the settings in the picture are not in English, we can see that there is an Ethernet logo and that my WiFi function is turned off, which reflects a possible confusion between the two icons

luriusTM commented 1 week ago

There is a problem about that... the used connection view is not updated because currently there is NLM_Connectivity subscribtion for that... which is in definition is not for network adapter change, but for internet accessibility change. So when you change network adapter from wlan to lan but wlan had internet also, NLM_CONNECTIVITY connectivity remains 66 (internet access) and vica versa. Also, there is still an active wlan - when you loose lan connection, windows switch to that immediately.

Had already done the root cause analysis before, but did not resolved that time, cause different issue was bigger. Will look on that, what I can do for this cause nowadays.

luriusTM commented 1 week ago

Solved both of your problems :)

When the above will be merged, the lan connection will be visible on component as separated instance.

Found the "issue" on BE and generated an event occurrence in case of IP change. Behaviour when disconnect and then connect lan cable

https://github.com/user-attachments/assets/e37275a1-be2d-4093-af09-fcf9c0655b6b

luriusTM commented 1 week ago

Solved both of your problems :)

When the above will be merged, the lan connection will be visible on component as separated instance.

Found the "issue" on BE and generated an event occurrence in case of IP change. Behaviour when disconnect and then connect lan cable

Screen.Recording.2024-11-30.204623.mp4

As for UI, this was not a good choice from my side, so got to remove that, but the main issue resolved and the TB icon modifies as desired.

https://github.com/user-attachments/assets/200353e9-52d8-459f-97b8-8e99b8a1e14e