Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lacking HiDPI Support #1289

Closed
AnthonyWharton opened this issue Dec 13, 2017 · 5 comments
Closed

Lacking HiDPI Support #1289

AnthonyWharton opened this issue Dec 13, 2017 · 5 comments
Labels
help wanted 🆘 Pull request/issue requires extra help from the community. Check these out if you're new!

Comments

@AnthonyWharton
Copy link

image_2017-12-13_00-42-10

Boostnote does not seem to detect or observe System DPI settings as shown above. Although I am not familiar with how Electron works, I do know this should be possible as Atom works perfectly with HiDPI support.

@kazup01 kazup01 added the help wanted 🆘 Pull request/issue requires extra help from the community. Check these out if you're new! label Dec 13, 2017
@wadjoh
Copy link
Contributor

wadjoh commented Dec 13, 2017

I think this was discussed in this Electron issue before? electron/electron#615 (comment)

Not sure if that's what Atom does or not, though.

@justgerd
Copy link

This only appears to be an issue on Linux though, as both macOS and Windows scale (tested on my macBook). An easy to hotfix this is to allow the user to zoom the browser window, afterwards maybe look at the dpi or window size to automatically zoom.

@HymanZHAN
Copy link

Having the same issue here on PopOS 18.04. Hope an in-app solution could be provided. I do not need the app to check and follow my system DPI everytime I open it. It would be sufficient if only the zoom level stays the same after I restart the app.

@HymanZHAN
Copy link

HymanZHAN commented Oct 16, 2018

Ok, so one not so clumsy and effective workaround I found (based on my experience with Chrome browser on Linux quite a while ago) is to add the --force-device-scale-factor=2.5 to the Exec line of /usr/share/applications/boostnote.desktop.

So basically the desktop file now becomes:

[Desktop Entry]
Name=Boostnote
Comment=Boostnote
GenericName=Boostnote
Exec=boostnote --force-device-scale-factor=2.5 %U
Icon=boostnote
Type=Application
StartupNotify=true
Categories=Development;Utility;
MimeType=text/plain;

And it works nicely on my 15.6-inch 4k display. Just change the 2.5 to the scale factor that suits your display and you should be good to go.

@Flexo013
Copy link
Contributor

I can't easily reproduce this, so closing it for now.

If this is still an issue with the latest version of Boostnote, then please leave a comment here and I'll reopen this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted 🆘 Pull request/issue requires extra help from the community. Check these out if you're new!
Projects
None yet
Development

No branches or pull requests

6 participants