Re: pgAdmin 4 v1.0: Problems with high dpi scaling on Win10
От | Viktor Trojanovic |
---|---|
Тема | Re: pgAdmin 4 v1.0: Problems with high dpi scaling on Win10 |
Дата | |
Msg-id | CAL=ybPDtkHHczhBqk6WBwyj9Mg4QfpTcZYqD2er-AQxs6mOZcQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pgAdmin 4 v1.0: Problems with high dpi scaling on Win10 (Dave Page <dpage@pgadmin.org>) |
Ответы |
Re: pgAdmin 4 v1.0: Problems with high dpi scaling
on Win10
|
Список | pgadmin-support |
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 3, 2016 at 11:01 AM, Dave Page <span dir="ltr"><<ahref="mailto:dpage@pgadmin.org" target="_blank">dpage@pgadmin.org</a>></span> wrote:<br /><blockquoteclass="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br/><span class="gmail-"><br /> On Sun, Oct 2, 2016 at 11:43 PM, <<a href="mailto:viktor@troja.ch">viktor@troja.ch</a>>wrote:<br /> > Hi list, hi Dave,<br /> ><br /> > On Windows10 using a high res screen with high dpi scaling turned on and<br /> > set to 200%, the text in the pgAdmin 4 (standalone)interface becomes almost<br /> > illegible.<br /> ><br /> > The issue seems to be that pgAdmin claimsto Windows that is high dpi aware<br /> > when it actually isn’t. See <a href="http://doc.qt.io/qt-5/highdpi.html"rel="noreferrer" target="_blank">http://doc.qt.io/qt-5/highdpi.<wbr />html</a> formore info<br /> > about how QT deals with high dpi issues.<br /><br /></span>I think it's more subtle than that. Mostof the dev team run Macs, and<br /> high dpi support seems to work fine for us. We have had some issues<br /> reported- but on my retina MBP for example, pgAdmin displays nicely<br /> at all scaling levels.<br /><span class="gmail-"><br/> > The short term solution would be to make the app dpi unaware, thus letting<br /> > Windows takecare of the scaling.<br /><br /></span>Have you tried setting QT_AUTO_SCREEN_SCALE_FACTOR? Does it make a<br /> differenceon Windows?<br /><div class="gmail-HOEnZb"><div class="gmail-h5"><br /></div></div></blockquote></div><br /></div><divclass="gmail_extra">I can confirm that setting the environment variable QT_AUTO_SCREEN_SCALE_FACTOR=1, or 0 forthat matter, makes no difference. <br /><br /></div><div class="gmail_extra">I even tried setting the following parametersin your qt.conf: <br /><br />[Platforms]<br />WindowsArguments = dpiawareness=0 (and 1, and 2)<br /><br /></div><divclass="gmail_extra">without any effect. <br /><br /><br /></div><div class="gmail_extra"><br /><br /></div></div>
В списке pgadmin-support по дате отправления: