-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix "Network.app" issues #150
base: master
Are you sure you want to change the base?
Conversation
I used a different set of icons because the ones being used were very hard to see on the menu, but the new ones are color blue... Maybe that's an issue, and also the way of determining the signal level was taken from wifimgr and I'm not totally sure if it works well here. |
* We need to prevent another dialog asking for password being displayed, or check authentication failures in other way
For some reason the fix made on ifconfig down and up is messing with my current configuration, after bringing the interface down and up it can't connect to any network, and scanning for networks gives nothing. Also, adding |
* For some reason the default CE_MenuItem style is lost, the default font can be restored using a new style and passing "panda" (QtPlugin key) to it, but the default highlight color isn't restored.
…tion errors in a good way
@probonopd, I think this is ready for review, there are still some things to fix and I want to do, but I want your opinion on the current work, specially the part about watching |
* Identify currently connected network by BSSID * Remove added network if user clicks "Cancel" on password request dialog
@CocoCR300 in a quick test, this has been working very well for me. I really like how you placed the signal strength and encryption icons to the right-hand side. Very welcome improvements. I hope the QFileSystemWatcher will prove robust enough. I guess the only way to find this out is to try it on a larger scale, so I am inclined to merge as soon as you think it's ready for merging. As for the color icons, there is a way in Qt to render them as grayscale. I am using the same for the icons in the global menu bar at the right-hand corner (left to the time): I don't have the PyQt5 equivalent handy, but I am sure you will figure it out (if not, feel free to ping me anytime). Great stuff! 👍 |
Do you think you could add in wired, too? Keep in mind that wired network devices (e.g., USB) can come and go, too. |
I can try with USB tethering from my cellphone, that's the only thing I have available since my laptop doesn't have an ethernet connector, I hope that's enough to implement something. |
helloSystem 0.8.1 should have USB Tethering work out of the box, at least for Android phones. |
…fig when reentering password
@probonopd I added a pretty simple support for wired interfaces, I didn't found a way to get a "friendly name" for the interface and the current code just checks for "ue" in the interface name to say if it's "USB Ethernet", everything else is named as "Ethernet (interface_name)". |
Great work. It seems that we should check the return code of
Can you please try on a system that has no wireless NIC or has it disabled? |
…i-Fi, improve log file reading mechanism
I have 2 USB Ethernet adapters in my system, but only one is plugged into a cable, and hence only one is active - which one?
|
Great work! Instead of launching lots of Also we don't need to do the polling all the time; only while the menu is open. Like we are doing in Volume.app, Utilities/System/Volume.app/Volume Lines 143 to 145 in e46cf70
|
Thanks! |
In general you are right, I am trying to avoid dependencies. But all those launched processes for the polling... are not really helping for great performance; so I think it's an OK tradeoff here to introduce this dependency if you agree. |
…i network, don't disable wireless interface while switching to wired
I couldn't do much use of the library you suggested, it doesn't give all the details needed for the application (interface status, interfaces being up/down). It would also be beneficial to use a library to interact with wpa_supplicant. |
etc/wpa_supplicanf.conf
.and ASCII checkfor Wi-Fi passwords (Network block - psk. Seems like non-ASCII characters are accepted)