maoschanz / notes-extension-gnome

A GNOME Shell extension providing customizable sticky notes
GNU General Public License v3.0
80 stars 40 forks source link

Default note size too small with HiDPI display #72

Open jgcodes2020 opened 2 years ago

jgcodes2020 commented 2 years ago

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

Display settings:

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 commented 2 years ago

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/notes@maestroschan.fr/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

treellama commented 2 years ago

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 commented 2 years ago

or open the overview

mrm-david commented 1 year ago

the simplest short-term fix for you would be to edit~/.local/share/gnome-shell/extensions/notes@maestroschan.fr/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 ?