After several attempts trying to write a new KCM for network configuration and actually not finishing any of them, I decided to start one more time, but this time my goal was to simply transform the old editor into a bit nicer KCM and place it into system settings where this was missing for very long time. You can see my current result below.
This is still same editor as it was existing before as a standalone application, except the list of connections is now written in QML and is similar to the applet we have in systray. I also had to rewrite the editor widget a bit because it’s currently implemented as a dialog with a tabwidget inside where each tab is represented by one setting widget (e.g. Ipv4SettingWidget), For the new KCM we now have ConnectionEditorBase widget doing all the logic behind, like creating specific setting widgets based on connection type and so on. This widget alone doesn’t display anything and you have to actually subclass it and reimplement method taking care of layouting. This allows me to have e.g. ConnectionEditorTabWidget which just subclasses ConnectionEditorBase and reimplements addWidget() method to place setting widgets into QTabWidget. In future we can also simply write a new UI/layout on top ConnectionEditorBase widget and get rid of the tab layout.
Regarding functionality, it should be already almost on par with functionality of the editor. There are still some missing features (like import/export of VPN), but besides that I think everything else is going well. With the new KCM there are also some minor improvements, like you can now reset your not-saved changes you made to a connection. My plan is to get this into Plasma 5.9 which is supposed to be released in january so I still have plenty of time to finish missing features and address issues I made during this transition and of course time to take your comments into account and make this KCM as most usable for everyone I can :).
13 thoughts on “Introducing new KCM for network configuration”
Very nice overall. What I do not like too much are the connect(?)/disconnect/delete actions in the popup menu. It’s not comfortable to have to right-click every other UI element in a hope there’s some functionality hidden.
Very nice. I agree with David though, I would go the way the systray handles it, by selecting it expanding/unhiding the buttons would be a lot nicer.
Great (re)work anyway.. Thanks!
I actually have something like this in my plan, I mean making the items in the view expandable and showing more stuff.
PS: VDG probably has even better ideas, would be interesting which ones.
Your blogs comment section is horrible on mobile 😉
Does ist support connman? or do i still have to use tha bloated network manager
Unfortunately no, we use NetworkManager only as it’s used everywhere and at this point I don’t plan to add support for anything else.
> only as it’s used everywhere
sorry but you are wrong both lxqt and enlighenment use connman. The bad thing is i cant have installed both on my machine(nm conflicts with connman since connman provides a nm-compat).
Even more funny powerdevil depends on nm so i have basically two choices ether use enligenment or lxqt without networkmanager or break kde by installing connman which remives powerdevil, and plasma-nm. the first one is no opinion since there is no nm-frontend in efl nor is there a qt-frontend for nm.
Thanks for your work on this! Please make sure that the the systray applet isn’t removed until all its functionality is duplicated in this KCM.
The apple won’t be removed, both the applet and the kcm will co-exist as there is no reason to remove the applet.
Looks great! Kudos for this!
I was wondering what the network section under “System preferences” would look like… I already have Preferences (Proxy, cache, cookies, etc.), Connectivity (samba settings) and Bluetooth, which is already a bit confusing. Is your plan to add yet another option?
how to run is ubuntu ??
I’m impressed, I have to admit. Genuinely rarely should i encounter a weblog that’s both educative and entertaining, and let me tell you, you may have hit the nail about the head. Your idea is outstanding; the problem is an element that insufficient persons are speaking intelligently about. I am delighted we came across this during my look for something with this.