notes-extension-gnome icon indicating copy to clipboard operation
notes-extension-gnome copied to clipboard

Default note size too small with HiDPI display

Open jgcodes2020 opened this issue 3 years ago • 4 comments

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

jgcodes2020 avatar Oct 08 '21 20:10 jgcodes2020

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 avatar Oct 10 '21 05:10 maoschanz

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

treellama avatar Nov 21 '21 00:11 treellama

or open the overview

maoschanz avatar Nov 21 '21 09:11 maoschanz

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 ?

mrm-david avatar Nov 16 '22 09:11 mrm-david