| Summary: | Set default network priority not to zero | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Simone Gaiarin <simgunz> |
| Component: | Networking in general | Assignee: | Lukáš Tinkl <lukas> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | jgrulich, lamarque |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/plasma-nm/65391985791da862adf2f6f678a540b3963db3db | Version Fixed/Implemented In: | 5.7.5 |
| Sentry Crash Report: | |||
|
Description
Simone Gaiarin
2016-08-12 17:36:08 UTC
Hi Simone. Well, this goes against NetworkManager's specification [1]. I would rather prefer you open a bug report in http://bugs.gnome.org (component NetworkManager) so it can be changed in the specification and for all other NM's clients. Plasma NM is a NM client, like nm-applet, nmcli, etc. We need to change this for all clients to make this change consistent across all of them. [1] https://developer.gnome.org/NetworkManager/stable/ref-settings.html Hi Lamarque, your answer made me read the NM specifications and I've found that the value autoconnect-priority is int32 which can possibly be negative (other parameters require specifically uint32). Executing the command: nmcli connection modify MYCONNECTION connection.autoconnect-priority -10 doesn't rise any error and running nmcli connection show MYCONNECTION shows that the value has been set. I cannot test if this priority works in this moment, but if it's the case it would be enough to let the priority value be negative in the UI spinbox and the problem would be solved. Git commit 634dd971a997d8d2f7cf0ead3c80f8cd47091aab by Lamarque V. Souza. Committed on 06/09/2016 at 08:36. Pushed by lvsouza into branch 'master'. Allow negative priorities since NetworkManager's specification allows that [1] [1] https://developer.gnome.org/NetworkManager/stable/ref-settings.html FIXED-IN: 5.7.5 M +8 -0 libs/editor/settings/ui/connectionwidget.ui http://commits.kde.org/plasma-nm/634dd971a997d8d2f7cf0ead3c80f8cd47091aab Git commit 65391985791da862adf2f6f678a540b3963db3db by Lamarque V. Souza. Committed on 06/09/2016 at 08:37. Pushed by lvsouza into branch 'Plasma/5.7'. Allow negative priorities since NetworkManager's specification allows that [1] [1] https://developer.gnome.org/NetworkManager/stable/ref-settings.html FIXED-IN: 5.7.5 M +8 -0 libs/editor/settings/ui/connectionwidget.ui http://commits.kde.org/plasma-nm/65391985791da862adf2f6f678a540b3963db3db Great! Thanks (In reply to Simone Gaiarin from comment #5) > Great! Thanks You're welcome and thanks for spotting this issue. Bulk transfer as requested in T17796 |