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

Default note size too small with HiDPI display #72

Open
jgcodes2020 opened this issue Oct 8, 2021 · 4 comments
Open

Default note size too small with HiDPI display #72

jgcodes2020 opened this issue Oct 8, 2021 · 4 comments
Labels

Comments

@jgcodes2020
Copy link

jgcodes2020 commented Oct 8, 2021

image
The note is very small, and I cannot even resize it.

Display settings:

  • integrated laptop display at 2256x1504 scaled to 175%
  • monitor at 1920x1080 scaled to 100%

GNOME version: 3.38.5 on X11

This likely has to do with display scaling, and I'm not sure there's any issues relating to this.
The 4th circle also seems to be offscreen

@maoschanz
Copy link
Owner

your analysis is correct that's a scaling issue, but i'm not really able to develop a reliable fix right now, since i don't own such a fancy display

the 4th button is the one to resize, so you're kinda stuck

the simplest short-term fix for you would be to edit~/.local/share/gnome-shell/extensions/[email protected]/noteBox.js there is a method named _createDefaultState somewhere, with "250" and "180" hardcoded in it as the default size. I guess 440 and 320 should be good enough replacements for your case

after having edited the file you need to restart your session to test if it works

@maoschanz maoschanz changed the title Default note size is so small I cannot resize it Default note size too small with HiDPI display Oct 10, 2021
@treellama
Copy link

Workaround: you can drag another note underneath the resize icon, which gives you the ability to widen the too-small note enough to make it independently manipulatable

@maoschanz
Copy link
Owner

or open the overview

@mrm-david
Copy link

the simplest short-term fix for you would be to edit~/.local/share/gnome-shell/extensions/[email protected]/noteBox.js there is a method named _createDefaultState somewhere, with "250" and "180" hardcoded in it as the default size. I guess 440 and 320 should be good enough replacements for your case

after having edited the file you need to restart your session to test if it works

Perhaps those dimentions could be in the settings ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants