Re: [PATCH] Add support for HiDpi screens

2021-02-25 Thread Jean-Marc Lasgouttes
Le 25/02/2021 à 20:19, Enrico Forestieri a écrit : These HiDPI issues are so much elusive. There are now so many different factors that can make it a chaotic behavior. This was the reason why I did not make up my mind until now. But I see it was a mistake and that the best is to commit *someth

Re: [PATCH] Add support for HiDpi screens

2021-02-25 Thread Enrico Forestieri
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). > > >

Re: [PATCH] Add support for HiDpi screens

2021-02-25 Thread Jean-Marc Lasgouttes
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 :) What I would

Re: [PATCH] Add support for HiDpi screens

2021-02-25 Thread Jean-Marc Lasgouttes
Le 25/02/2021 à 15:07, Enrico Forestieri a écrit : On Sun, Jul 19, 2020 at 08:45:19AM +0200, Stephan Witt wrote: Am 18.07.2020 um 00:06 schrieb Jean-Marc Lasgouttes : Now that I have a HiDpi screen, I really feel the need to do something. This trivial patch works pretty well with Linux/X11 :

Re: [PATCH] Add support for HiDpi screens

2021-02-25 Thread Enrico Forestieri
On Sun, Jul 19, 2020 at 08:45:19AM +0200, Stephan Witt wrote: > Am 18.07.2020 um 00:06 schrieb Jean-Marc Lasgouttes : > > > > Now that I have a HiDpi screen, I really feel the need to do something. > > > > This trivial patch works pretty well with Linux/X11 :) > > > > Could someone try it it wi

Re: [PATCH] Add support for HiDpi screens

2020-07-28 Thread Daniel
On 27/7/20 18:08, Jean-Marc Lasgouttes wrote: Le 27 juillet 2020 15:35:54 GMT+02:00, Daniel a écrit : On 27/7/20 15:33, Jean-Marc Lasgouttes wrote: Le 27 juillet 2020 15:28:07 GMT+02:00, Daniel a écrit : In any case, several UI elements don't scale properly without Qt HiDPI support, e.g

Re: [PATCH] Add support for HiDpi screens

2020-07-28 Thread Jean-Marc Lasgouttes
Le 27 juillet 2020 15:35:54 GMT+02:00, Daniel a écrit : > > >On 27/7/20 15:33, Jean-Marc Lasgouttes wrote: >> Le 27 juillet 2020 15:28:07 GMT+02:00, Daniel a >écrit : >>> In any case, several UI elements don't scale properly without Qt >HiDPI >>> support, e.g. the layout dropdown list in the tool

Re: [PATCH] Add support for HiDpi screens

2020-07-27 Thread Daniel
On 27/7/20 16:00, Daniel wrote: On 27/7/20 15:35, Daniel wrote: On 27/7/20 15:33, Jean-Marc Lasgouttes wrote: Le 27 juillet 2020 15:28:07 GMT+02:00, Daniel a écrit : On 22/7/20 10:42, Daniel wrote: Actually, I was wrong. Icon sizes in the outliner do change but only after a restart of LyX.

Re: [PATCH] Add support for HiDpi screens

2020-07-27 Thread Daniel
On 27/7/20 15:35, Daniel wrote: On 27/7/20 15:33, Jean-Marc Lasgouttes wrote: Le 27 juillet 2020 15:28:07 GMT+02:00, Daniel a écrit : On 22/7/20 10:42, Daniel wrote: Actually, I was wrong. Icon sizes in the outliner do change but only after a restart of LyX. Maybe a bug? Daniel In any ca

Re: [PATCH] Add support for HiDpi screens

2020-07-27 Thread Daniel
On 27/7/20 15:33, Jean-Marc Lasgouttes wrote: Le 27 juillet 2020 15:28:07 GMT+02:00, Daniel a écrit : On 22/7/20 10:42, Daniel wrote: Actually, I was wrong. Icon sizes in the outliner do change but only after a restart of LyX. Maybe a bug? Daniel In any case, several UI elements don't sca

Re: [PATCH] Add support for HiDpi screens

2020-07-27 Thread Jean-Marc Lasgouttes
Le 27 juillet 2020 15:28:07 GMT+02:00, Daniel a écrit : >On 22/7/20 10:42, Daniel wrote: >> Actually, I was wrong. Icon sizes in the outliner do change but only >> after a restart of LyX. Maybe a bug? >> >> Daniel > >In any case, several UI elements don't scale properly without Qt HiDPI >suppor

Re: [PATCH] Add support for HiDpi screens

2020-07-27 Thread Daniel
On 22/7/20 10:42, Daniel wrote: Actually, I was wrong. Icon sizes in the outliner do change but only after a restart of LyX. Maybe a bug? Daniel In any case, several UI elements don't scale properly without Qt HiDPI support, e.g. the layout dropdown list in the toolbar. So, native support w

Re: [PATCH] Add support for HiDpi screens

2020-07-22 Thread Daniel
On 19/7/20 5:23, Daniel wrote: On 18/7/20 23:07, Enrico Forestieri wrote: On Sat, Jul 18, 2020 at 10:13:09PM +0200, Jean-Marc Lasgouttes wrote: Le 18/07/2020 à 19:05, Enrico Forestieri a écrit : On Sat, Jul 18, 2020 at 12:06:26AM +0200, Jean-Marc Lasgouttes wrote: Now that I have a HiDpi scree

Re: [PATCH] Add support for HiDpi screens

2020-07-19 Thread Enrico Forestieri
On Sun, Jul 19, 2020 at 12:16:02AM +0200, Jean-Marc Lasgouttes wrote: > Le 18/07/2020 à 23:07, Enrico Forestieri a écrit : > > You mean the normal sized icons? That's surprising. With a similar > > configuration, on Windows changes nothing. The normal size icons are > > still too small, but chosing

Re: [PATCH] Add support for HiDpi screens

2020-07-18 Thread Stephan Witt
Am 18.07.2020 um 00:06 schrieb Jean-Marc Lasgouttes : > > Now that I have a HiDpi screen, I really feel the need to do something. > > This trivial patch works pretty well with Linux/X11 :) > > Could someone try it it with Windows/Wayland/macOS (with normal dpi or HiDpi). I’m able to run it on

Re: [PATCH] Add support for HiDpi screens

2020-07-18 Thread Daniel
On 18/7/20 23:07, Enrico Forestieri wrote: On Sat, Jul 18, 2020 at 10:13:09PM +0200, Jean-Marc Lasgouttes wrote: Le 18/07/2020 à 19:05, Enrico Forestieri a écrit : On Sat, Jul 18, 2020 at 12:06:26AM +0200, Jean-Marc Lasgouttes wrote: Now that I have a HiDpi screen, I really feel the need to do

Re: [PATCH] Add support for HiDpi screens

2020-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2020 à 23:07, Enrico Forestieri a écrit : You mean the normal sized icons? That's surprising. With a similar configuration, on Windows changes nothing. The normal size icons are still too small, but chosing the large ones is simply a right click on a toolbar. At least it is not wrong.

Re: [PATCH] Add support for HiDpi screens

2020-07-18 Thread Enrico Forestieri
On Sat, Jul 18, 2020 at 10:13:09PM +0200, Jean-Marc Lasgouttes wrote: > Le 18/07/2020 à 19:05, Enrico Forestieri a écrit : > > On Sat, Jul 18, 2020 at 12:06:26AM +0200, Jean-Marc Lasgouttes wrote: > > > Now that I have a HiDpi screen, I really feel the need to do something. > > > > > > This trivia

Re: [PATCH] Add support for HiDpi screens

2020-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2020 à 19:05, Enrico Forestieri a écrit : On Sat, Jul 18, 2020 at 12:06:26AM +0200, Jean-Marc Lasgouttes wrote: Now that I have a HiDpi screen, I really feel the need to do something. This trivial patch works pretty well with Linux/X11 :) Could someone try it it with Windows/Wayland/

Re: [PATCH] Add support for HiDpi screens

2020-07-18 Thread Enrico Forestieri
On Sat, Jul 18, 2020 at 12:06:26AM +0200, Jean-Marc Lasgouttes wrote: > Now that I have a HiDpi screen, I really feel the need to do something. > > This trivial patch works pretty well with Linux/X11 :) > > Could someone try it it with Windows/Wayland/macOS (with normal dpi or > HiDpi). > > I w

[PATCH] Add support for HiDpi screens

2020-07-17 Thread Jean-Marc Lasgouttes
rom 3f3e9771c1a115a7caf114db9d7ed8613975e26b Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 17 Jul 2020 23:47:01 +0200 Subject: [PATCH] Add support for HiDpi screens This should change noting for macOS, but it proves very useul on Linux/X11. --- src/frontends/qt/GuiApplication.cpp | 5 + 1 f