qgis-midvatten-plugin icon indicating copy to clipboard operation
qgis-midvatten-plugin copied to clipboard

hidpi support

Open jkall opened this issue 7 years ago • 7 comments

Some parts of gui are nor suitable for hidpi displays. See screenshot: image

Enable better support by:

  • avoid hardcoded pixel values
  • force resize of dialogs
  • only svg icons

further reading: https://www.itopen.it/qgis-and-qt-getting-ready-for-hidpi-screens/

jkall avatar Nov 06 '17 13:11 jkall

I can not reproduce this issue when using the qgis3 branch on virtual win10 and ubuntu 18.04. Hopefully most of the hidpi problems are fixed by using qt5 and matplotlib >=2?

jkall avatar Dec 13 '18 20:12 jkall

No, unfortunately. This is a major issue. Several parts of ui are completely unusable. image

image

jkall avatar Feb 28 '19 20:02 jkall

The section plot ui is redone (waiting eagerly for the verdict) in branch simon-merge. This issue should be fixed for section plot.

HenrikSpa avatar Mar 07 '19 11:03 HenrikSpa

Super! Just tested quickly and most parts of gui looks good. Although the font size within matplotlib plot gets small. I guess font size can be edited in the plot settings string (I have not tested).

screenshot from 2019-03-07 15-13-04 screenshot from 2019-03-07 15-13-23

jkall avatar Mar 07 '19 14:03 jkall

Yes the fontsize is set in the templates. I've worked from home and adjusted the sizes to work with a very small screen and low resolution. Maybe it could be solved by having two "default" templates with different settings so the user can choose the best for the moment.

HenrikSpa avatar Mar 08 '19 08:03 HenrikSpa

Maybe a set of templates where font size, markers (and legend symbology size) are adjusted to be useful on various dpi? Or should it be on various pixel density? A quick search gave that pixel density may be, at least, ranging from 96 to 384 ppi.
(https://www.eizo.be/knowledge/monitor-expertise/understanding-pixel-density/)

Suggeted templates: (96 ppi) 144 ppi 192 ppi 288 ppi (384 ppi)

jkall avatar Mar 08 '19 12:03 jkall

Seems to be less of a problem nowadays. Probably thanks to general hidpi enhancements in Qt and desktops in general.

jkall avatar Sep 03 '21 07:09 jkall