Ladislav Slez��k changed bug 987450
What Removed Added
CC   lslezak@suse.com
Flags   needinfo?(hei.s.e.wurgl@gmail.com)

Comment # 7 on bug 987450 from
(In reply to Wolfgang Formann from comment #5)
> Since it is Qt ��� what about remembering the size with QSettings?

Um, I'd rather avoid that. YaST provides many modules, some of them are better
displayed in a big window (package management), some are better in a small
window. We would probably need a per module setting.

Moreover the libyui-qt is used also outside YaST. It's a generic, YaST
independent, library. Making some YaST specific features could break the other
applications.

Anyway, I'd be interested in what QGuiApplication::devicePixelRatio() reports
with your monitor.

I have prepared a simple app:
https://gist.github.com/lslezak/74966eedd88c700d5524c8c82e667236

(You might need to install the qt5-devel libraries to compile it.)

On my system with a common 24" FHD monitor it prints "1". According to the Qt
doc (http://doc.qt.io/qt-5/qwindow.html#devicePixelRatio) it should print "2"
on retina displays.

It would be interesting to see what it reports in your case. Theoretically it
could be something between 1.0 to 2.0, but maybe it reports just these two
values (retina, non-retina)...

If you need help to compile or run the app just ask here.


You are receiving this mail because: