Fix enabledCheckBox getting stuck disabled on UFW and clearer UI
The bug occurs when the checked
variable has different values of kcm.client.enabled at the point where the timer is launched, this causes the timer to never re-enable the checkbox on UFW. This can be fixed by using enable
variable instead of checked
variable in our comparison. I also changed the status message to be more clear, as it's weird for the Enabled status turning into Disabling and then back Enabled. Let me know if you want these in separate MRs.
I tested this on both ufw and firewalld and it should work properly.
Before:
After:
Edited by Yerrey Dev