Sudo mode colour should only affect the current tab
The sudo mode colour change affects all open tabs. It should only affect the tab(s) that are actually in sudo mode.
And, vice-versa, when you switch to a non-sudo tab, the sudo tab should remain red.
(Both for accuracy and for consistency, as the sudo mode indicator icon is only shown on the sudo mode tab(s).)
To reproduce
- Open two tabs.
- In the second tab, enter a long running sudo process
What should happen
The app bar and the second tab bar should turn red. The first tab, which is not in sudo mode, should stay its original colour.
What actually happens
All tabs turn red.
Screenshots
The first tab is not running a sudo process:
Switching to the first tab reverts all tabs to non-sudo colour indication (although the sudo icon indication remains on the sudo tab):