NETworkManager icon indicating copy to clipboard operation
NETworkManager copied to clipboard

wifi tab not loading Windows 11 arm64

Open si458 opened this issue 7 months ago • 10 comments

Describe your issue: when i click on the WiFi tab at the side, nothing happens? even tried running app as admin, still nothing? not sure if it because im using Windows 11 24h2 Arm64 on a snapdragon x exlite processor?

p.s. will the be a native arm64 build at any point? :)

Steps to reproduce the issue:

  1. Click Wifi on left hand side

NETworkManager version: 2025.1.18.0

  • [ ] Portable

Windows version (like 10.0.x.x): 11 24h2 Arm64

.NET version (like 6.0.x): 8.0 x64 (this asked me to install this on first run, which i did)

Screenshots

Eventlog (if application crashes)

si458 avatar Jul 17 '25 13:07 si458

Hi, can you check if the app has location access in the windows settings under Windows > Settings >Privacy & security > location.

There was change in the Windows API which requires this permission now... https://github.com/BornToBeRoot/NETworkManager/issues/2561

BornToBeRoot avatar Jul 17 '25 14:07 BornToBeRoot

its not listed there?

Image

but i also installed it on my other windows 11 x64 machine and it works there no problem? i wasnt asked for location? so i just checked its location settings anyways in settings and its indeed listed under there for the desktop apps section

Image

si458 avatar Jul 17 '25 14:07 si458

Can you check if there is something in the log %LocalAppData%\NETworkManager\NETworkManager.log

Maybe an Exception in the WiFi module.

BornToBeRoot avatar Jul 17 '25 14:07 BornToBeRoot

nope nothing :(

2025-07-17 15:52:08,034 [1] INFO  NETworkManager.App - 
  _   _ _____ _____                    _    __  __                                   
 | \ | | ____|_   _|_      _____  _ __| | _|  \/  | __ _ _ __   __ _  __ _  ___ _ __ 
 |  \| |  _|   | | \ \ /\ / / _ \| '__| |/ / |\/| |/ _` | '_ \ / _` |/ _` |/ _ \ '__|
 | |\  | |___  | |  \ V  V / (_) | |  |   <| |  | | (_| | | | | (_| | (_| |  __/ |   
 |_| \_|_____| |_|   \_/\_/ \___/|_|  |_|\_\_|  |_|\__,_|_| |_|\__,_|\__, |\___|_|   
                                                                     |___/        
            
                                               by BornToBeRoot
                                               GitHub.com/BornToBeRoot/NETworkManager

                                               Version: 2025.1.18.0

2025-07-17 15:52:08,048 [1] INFO  NETworkManager.App - Application settings are being loaded...
2025-07-17 15:52:08,274 [1] INFO  NETworkManager.App - Application settings are already on version 2025.1.18.0.
2025-07-17 15:52:08,277 [1] INFO  NETworkManager.App - Application localization culture has been set to en-US (Settings value is "").
2025-07-17 15:52:08,277 [1] INFO  NETworkManager.App - Try to acquire mutex with GUID 6A3F34B2-161F-4F70-A8BC-A19C40F79CFB for single instance detection...
2025-07-17 15:52:08,277 [1] INFO  NETworkManager.App - Mutex value for 6A3F34B2-161F-4F70-A8BC-A19C40F79CFB is True
2025-07-17 15:52:08,277 [1] INFO  NETworkManager.App - Setup background job with interval 5 minute(s)...
2025-07-17 15:52:08,278 [1] INFO  NETworkManager.App - ThreadPool min threads set to: workerThreads: 524, completionPortThreads: 513
2025-07-17 15:52:08,278 [1] INFO  NETworkManager.App - Show SplashScreen while application is loading...
2025-07-17 15:52:08,312 [1] INFO  NETworkManager.App - Set StartupUri to MainWindow.xaml...
2025-07-17 15:52:09,078 [1] INFO  NETworkManager.MainWindow - Configure application DNS servers...
2025-07-17 15:52:09,079 [1] INFO  NETworkManager.MainWindow - Use Windows default DNS servers...
2025-07-17 15:52:10,158 [1] INFO  NETworkManager.ViewModels.NetworkConnectionWidgetViewModel - Checking network connection...
2025-07-17 15:52:10,380 [8] INFO  NETworkManager.Update.Updater - Checking for new version on GitHub...
2025-07-17 15:52:10,680 [8] INFO  NETworkManager.Update.Updater - No newer version found!
2025-07-17 15:52:11,131 [1] INFO  NETworkManager.ViewModels.NetworkConnectionWidgetViewModel - Network connection check completed.
2025-07-17 15:52:34,340 [1] INFO  NETworkManager.App - Exiting NETworkManager...
2025-07-17 15:52:34,341 [1] INFO  NETworkManager.App - Stop background job, if it exists...
2025-07-17 15:52:34,342 [1] INFO  NETworkManager.App - Save application settings...
2025-07-17 15:52:34,379 [1] INFO  NETworkManager.App - Bye!

si458 avatar Jul 17 '25 14:07 si458

managed to get it to open in vscode and build correctly, this warning popped up when i was in debug mode in VS2022

Image

si458 avatar Jul 17 '25 17:07 si458

Thanks for the debugging! I will try reproduce and fix it when i have some time...

BornToBeRoot avatar Jul 18 '25 09:07 BornToBeRoot

@BornToBeRoot glad i can help! i tried to fix it myself with chatgpt/deepseek/copilot but i got nowhere, they all keep saying WiFiAdapter is ONLY for UWP apps (msix) and not standalone .net 8.0 apps not sure if thats true or not?

edit: the was also 1 suggestion that because im running arm64 (Microsoft Surface 7 (not pro)) that the qualcomm wifi card isnt being detected as 802.11 but a mobile wifi card? dunno if that makes a difference or not?

si458 avatar Jul 18 '25 09:07 si458

The WiFiAdapter class is part of Windows.Devices.WiFi which was indroduced with UWP / Windows 10...

In Desktop Apps / WPF you an use it when including the Microsoft.Windows.SDK.Contracts

Edit: If it's detected as wifi adapter (from the api) it should work.

Edit2: The class should be available. Not sure whats wrong there, because it fails in the RequestAccess()

Image

BornToBeRoot avatar Jul 18 '25 09:07 BornToBeRoot

@BornToBeRoot thats what confused me and the AI's we are like well powershell shows wifi adapters etc, so why is the API not working? happy to remotely debug with you is you wanted (you can use my lappy for abit with my visual studio) giz a email/chat/disc/tele/whats (in my profile or my username everywhere haha)

si458 avatar Jul 18 '25 10:07 si458

Thank you. I'll try to recreate it in the next few days and get back to you if necessary

BornToBeRoot avatar Jul 18 '25 11:07 BornToBeRoot