[PATCH] Add support for HiDpi screens

Enrico Forestieri forenr at lyx.org
Thu Feb 25 19:19:36 UTC 2021


On Thu, Feb 25, 2021 at 07:33:01PM +0100, Jean-Marc Lasgouttes wrote:
> Le 25/02/2021 à 17:32, Jean-Marc Lasgouttes a écrit :
> > Le 25/02/2021 à 15:07, Enrico Forestieri a écrit :
> > > JMarc, did you forget to apply this? There are reports that it actually
> > > solves issues (see #11875).
> > 
> > It was indeed never applied. Worse, I am not sure what was in this patch :)

It was a simplified version of what you have now applied:
http://lists.lyx.org/pipermail/lyx-devel/2020-July/002190.html

> > What I would like to do is to add a version of the following code:
> > https://www.lyx.org/trac/ticket/12060#comment:28
> > 
> > This is code from QBitTorrent, that would obviously need to be adapted
> > to our needs:
> 
> I have committed a version of this code at d7a4f47e7d. I hope it can help
> the case of #11875.
> 
> Stephan mentioned that the old patch did nothing n macOS. I think it is
> normal as HiDpi support is handled in Info.plist in this case (and this
> change has been done long ago).

This was to be expected. I found the following Qt documentation
explaining it:
https://doc.qt.io/qt-5/highdpi.html

These HiDPI issues are so much elusive. There are now so many different
factors that can make it a chaotic behavior.

-- 
Enrico


More information about the lyx-devel mailing list