Partial Revert 'Compute foreground and background'#3209
Partial Revert 'Compute foreground and background'#3209elsazac wants to merge 1 commit intoeclipse-platform:masterfrom
Conversation
|
@HeikoKlare: Can you verify if this PR fixes the regression? |
This commits partially reverts changes for Background color when editable was false Fixes: eclipse-platform#3207
9a70719 to
e4b685d
Compare
Test Results 170 files 170 suites 28m 2s ⏱️ Results for commit e4b685d. |
This is probably not intended, at least it would make every "read only" text not as readable as before. Also I imagine every product has its own definition of what is supposed to be shown in the "read only" editors, and this would most likely not wanted (I personally would not accept such change if I would have editor in a product that has white background before). |
This was an intended change. The editable case wasn't distinguishable from non editable one, hence given a different background for the non editable behaviour. |
So all Java sources from dependencies should appear with a grey background? Please don't do that by default. If something like this should be done, then only if explicitly requested by the provider of the particular tooling (like JDT should decide whether read only Java sources should have different background by default, or EGit should decide if diff editor should show gray background by default for read only side of the diff) etc. In most cases in the "default" IDE I personally would never want to see grey background for "read only" text files (independently if it is diff or regular editor), simply because it would greatly affect readability of the text for me. So if something like this should be provided, it should be configurable by a preference. |
Obviously exact that was broken by #3154. |
I am not sure on how this appears in other systems but in Mac it appears to be a clean background in read-only, even with new proposed changes #3209
|
|
and regarding how it appears on a class file or compare editor both being non editable, this is the behaviour I see in Mac. The initial intend was to have a greyish tint for non editable, which caused the regression #3207 in light theme,I agree, but this one #3209 revert the changes done for editable, so ideally it get backs the class file or compare editor to the pervious behaviour.
|
@akurtakov Just curious, were you able to test the cursor behaviour in gtk4 with this current patch. |
Yes, I tested with it and confirmed this was not helping at all before closing this PR. |






This commits partially reverts changes for Background color when editable was false
Fixes: #3207