remapy icon indicating copy to clipboard operation
remapy copied to clipboard

Hidpi support

Open PegasisForever opened this issue 5 years ago • 4 comments

  • Added a new setting to set scaling of the application.
  • Automatically scale font size.

PegasisForever avatar Nov 26 '20 12:11 PegasisForever

Thanks for this great improvement! I will test your solution to hidpi soon and merge the PR afterward.

peerdavid avatar Nov 27 '20 11:11 peerdavid

I tested this PR but I have some problems: I changed the resolution to 100% and then nothing is shown in the File Explorer and also not in the Settings. So I can not change it back. Also, the text looks relatively small in the default of 75% on my machine when I start RemaPy the first time. I use a display with a resolution of 1920 x 1080.

peerdavid avatar Dec 05 '20 13:12 peerdavid

I changed the resolution to 100% and then nothing is shown in the File Explorer and also not in the Settings.

Strange, it works fine on my machine, can you check what value of scaling got saved to the ~/.remapy/config file?

Also, the text looks relatively small in the default of 75% on my machine

The default scaling came from window.tk.call('tk', 'scaling'), which to my understanding, doesn't respect dpi settings of the system and returns screen physical dpi / 72. I changed it so it defaults to 100% now.

PegasisForever avatar Dec 14 '20 05:12 PegasisForever

~~I'm using RemaPy on a Hidpi display, and just changed the parameters in rema.py manually to increase the row and icon size. This worked well for a few weeks, then suddenly today the file explorer failed to render as described by peerdavid. The settings worked as normal, as I had not made any changes there.~~

~~Not sure if this is of any help at all, but at least I encountered the same issues independently of this pull request.~~

Edit: This was an unrelated problem. I currently just set row_height = 70 in rema.py, and that works well enough for a hidpi display until another solution is in place.

sabrekke avatar May 19 '21 10:05 sabrekke