bug #4944
closedtask #4338: [MASTER] Handle abbreviated title and protected cache correctly in TaxEditor
"Protected" indication for references needs to be improved
50%
Description
There are some issues with the orange coloring which indicates that a cache is protected in the reference details view.
Generally the reference type is never orange though it should whenever a cache is protected
If the reference cache is protected the "Abbrev cache" and the "Abbrev title" should not be orange as these fields are not primarily made invisible by the protection of the title cache (for discussion see also #4915)
If both caches are protected and then one cache is toggled to unprotect only 2-3 fields stay orange. This is inconsistent with the state when you have both caches unprotected on switch to one field being protected. The same protection state should always result in the same state of colored fields. This can easily be reached by having one method that computes the coloring and that is always called when any of the protection states are changing or when a new object is loaded (a similar behavior has been observed for names: #3737)
Related to the above we may think about different colors for the 3 states "titleCache protected", "abbrevCache protected", "both protected"
We may think about not having the "Reference Abstract" orange as nobody will expect that the abstract will go into the caches
The following is a split from #3561: [DISCUSS] If only Reference Cache or only Abbrev Title Cache are protected how should the other fields be coloured? E.g. should the author be coloured organge? YES because cache 1 is protected, NO because cache 2 is not protected.
closely related to #4915
Related issues