Editor font size won't change? (Ubuntu)
Oni Version: 0.3.4 Neovim Version (Linux only): 0.3.4 Operating System: ubuntu 16.04 LTS
Describe your issue
Hello all! I want to increase the editor font size.
Expected behaviour
When I configured other options (ui.fontSize for instance), as soon as I saved the altered value the changes took effect. So when I repeated the process for editor.fontSize, I expected the same behaviour.
Actual behaviour
What actually happened was... nothing :(. I followed the advice on issue #2033 (regenerating the config.js and config.tsx) but the changes still never seemed to take effect. Please help :'(

Steps to reproduce
Try changing the editor.fontSize in config.tsx
Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.
P.S. I have Oni installed on both Mac and Windows as well. Neither seemed to suffer from this issue. Perhaps this is something specific to the linux distribution?
Hmm... using the '%' key, it appears that this bracket is paired with the one on line 5. I tried taking it out just to see but got a 'Unexpected token export' from ~/.config/oni/config.js
On Fri, May 25, 2018, 5:03 PM Amadeus Folego [email protected] wrote:
@pinkyblinky https://github.com/pinkyblinky Seems like a parse error on line 19
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/onivim/oni/issues/2248#issuecomment-392186604, or mute the thread https://github.com/notifications/unsubscribe-auth/AULwMAOxHk_MiHkBC7ftw_iF8waCbKjgks5t2HGPgaJpZM4UOjhu .
Thanks for investigating @pinkyblinky !
Perhaps this is something specific to the linux distribution?
That does sound like the case, given that it doesn't reproduce on Windows / Mac.
We could try looking at the logs:
Control+Shift+P->Debug: Open Developer Tools- In the console, run:
Oni.log.enableDebugLogging():
- Make a configuration change and save. You should see these two lines in the developer tools:
Would be curious if one or both aren't showing up.
If you're up for debugging, this would be a good place to toss a breakpoint: https://github.com/onivim/oni/blob/master/browser/src/Services/Configuration/ConfigurationEditor.ts#L76
This file is responsible for listening for configuration changes / transpiling / picking up the new config, so would be a good place to look.
Thank you for the prompt response :)
I opened the debug area as you suggested and then modified and saved the config.tsx file. Both of the entries you highlighted appear to be there:

I will look into debugging...
Interesting side note, I did a fresh install of ubuntu 16.04 LTS on a virtual box on windows and then installed Neovim and Oni. Then I tried to update the configuration there, and it actually behaved as expected, no bugs. Perhaps it is some odd setting I've tripped over in my current system...
I will look into building Oni from source and throwing in that breakpoint...
Ok, so I built Oni from source on my Ubuntu machine. And after starting it with 'yarn run launch' I altered the font size in the config.tsx file and it actually altered its appearance accordingly. Not sure exactly why the installed .deb version of Oni exhibited this bug specifically on my machine (but on others it did not), yet the built-from-source version worked perfectly fine on the very same machine. Anyway, I do now have a version of Oni that seems to be working. So I guess we can close this issue now?
Thank you everyone for your feedback and support on this issue :) I appreciate it!