Affected Version: 2.3+ (possibly others as well)
What steps will reproduce the problem?
1.
Open a text file with whitespace errors for review (diff) in Gerrit.
(see attached image)
2.
Click preferences.
3.
Set Ignore whitespace drop down to either All or None.
4.
Observe the effect by clicking update.
What is the expected output? What do you see instead?
I would expect that "Ignore whitespace: All" would ignore all whitespace.
Instead it shows all whitespace.
Conversely selecting "Ignore whitespace: None" I'd expect to show all
whitespace instead it ignores (hides) all whitespace.
This seems completely backwards and will confuse users.
Please provide any additional information below.
Attached image shows the issue. The image has been obfuscated to not
show any actual code due to policy but it still provide enough info to
see the issue.