Bug 569961

Summary: [Themes] Fonts settings are not remembered with non-default theme
Product: [Eclipse Project] Platform Reporter: John Doe <pbtsrc>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: cdtdoug, jonah
Version: 4.18   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
font settings lost screen recording none

Description John Doe CLA 2020-12-30 01:19:51 EST
Steps to reproduce:

Appearance -> Color and Font Theme -> "Default" -> Apply and Close
Restart Eclipse
Appearance -> Colors and Font -> Basic -> Text Font -> Edit -> Set some non-default font and not Monospace 10
Appearance -> Colors and Font -> C/C++ -> Editor ->  C/C++ Editor Text Font -> Reset
Here the C/C++ Editor Text Font becomes the same as "Basic - Text Font" that we have set before
Apply and Close
Restart Eclipse
Appearance -> Color and Font Theme -> "Reduced palette" 
Apply and Close
Restart Eclipse
Appearance -> Colors and Font -> C/C++ -> Editor ->  C/C++ Editor Text Font
The font differs from the "Basic - Text Font" (Monospace 10 in my case)
Appearance -> Colors and Font -> C/C++ -> Editor ->  C/C++ Editor Text Font -> Reset
The C/C++ Editor Text Font becomes the same as "Basic - Text Font"
Apply and Close
Restart Eclipse
The C/C++ Editor Text Font does not remember the settings and reversed back to Monospace 10
Comment 1 Jonah Graham CLA 2021-01-05 13:09:00 EST
Hi John, Thanks for the bug report. I can reproduce it with the C/C++ editor and with the Java editor and any other of the font settings, so this appears to be a generic problem and I am passing this bug to that team to look at.

I couldn't quite get steps in Comment 0 to work, instead I did this. (screen recording will be attached in a moment)

1 Set font theme to Reduced palette and restart
2 Change text font to non default
3 Change Java text font to non default
4 Reset Java font (which sets it back to font set in step 2)
5 Restart

At 5 observe that the font has gone back to default default Mononspace instead of font in Step 2.
Comment 2 Jonah Graham CLA 2021-01-05 13:09:29 EST
Created attachment 285189 [details]
font settings lost screen recording