Skip to content

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:

before4-2022-01-11_20.17.55

After:

after4_edit3-2022-01-14_02.13.04

BUG: 442412

Edited by Yerrey Dev

Merge request reports