Pycharm 2019.1 won't save custom font size

Answered

Hello,

I just noticed a bug with the latest version of Pycharm, in "Appearance & Behavior > Appearance" the IDE doesn't save the custom font size on restart. It does save the font type if I change it tho. So each time I have to change it back. I think it's not just Pycharm which is affected by this bug but other 2019.1 version of the other Jetbrains IDEs too.

13
11 comments

Hi!

What is your OS?
I was able to reproduce it on Mac OS and Linux https://youtrack.jetbrains.com/issue/JBR-1312

1

Hello,

I'm running Arch Linux (Manjaro)

0

Please upvote the issue and follow it for updates.

1
Avatar
Permanently deleted user

Hi,

I am also having this issue with IntelliJ IDEA 2019.1.1 (Ultimate Edition). The font size configured in Appearance & Behavior > Appearance keeps on changing back to its old value every time I restart IntelliJ.

But there is also a fix for IntelliJ. If you go to ~/.IntelliJIdea2019.1/config/options/ui.lnf.xml you can manually change the property yourself:

<option name="FONT_SIZE" value="16" />

Maybe this works for you too.

3
Avatar
Permanently deleted user

Hello Liviu,

I was wondering myself where the font size was stored. Your tip worked for me. Thanks a lot!

Indeed, the only difference is that for PyCharm the relevant file is located here: ~/.PyCharmCE2019.1/config/options/ui.lnf.xml

 

0
Avatar
Permanently deleted user

Hi! Changing the FONT_SIZE in ~/.PyCharmCE2019.1/config/options/ui.lnf.xml had unfortunately no effect on my machine (Ubuntu 18.04.2, PyCharm installed via Snap Store).

Edit: Resolved when turning "Use custom font" button in Appearance settings on. Now the font size specified in ui.Inf.xml is used by UI eventually.

0
Avatar
Permanently deleted user

Same remark with Pycharm 2019.1 installed via the Jetbrains toolbox, changing ~/.PyCharmCE2019.1/config/options/ui.lnf.xml  didn't have any effects.

0

Here's some related tickets for tracking purposes:

https://youtrack.jetbrains.com/issue/PY-35373

https://youtrack.jetbrains.com/issue/PY-34851

Please try enabling custom fonts, as @Datadonk23 mention above.

0
Avatar
Permanently deleted user

Same here, fontsize does not get saved with IntelliJ IDEA Ultimate 2019.2 on Ubuntu 19.04 and custom font (Go).

Changing ui.Inf.xml did help :-) Thanks Liviu!

0
Avatar
Permanently deleted user

Same here, IntelliJ IDEA Community 2019.2 on Ubuntu 18.04

Idea didn't recognize ui.lnf.xml file. I've imported settings from old idea version, looks like they were incompatible with 2019.2. I had to delete this xml file and then set up font again. File was created again, with different format, and now it works!

3

Same here on Windows 10, IntelliJ IDEA Community 2020.1. I did what Pasharik suggested and it worked. File was located here: %userprofile%/AppData/Roaming/JetBrains/IdeaIC2020.1/options

0

Please sign in to leave a comment.