Am 05.07.2023 um 09:43 schrieb Yu Jin <technikma...@gmail.com>:
> 
> Am Di., 4. Juli 2023 um 15:42 Uhr schrieb Pavel Sanda:
> On Tue, Jul 04, 2023 at 10:55:14AM +0200, Yu Jin wrote:
> > Am Di., 4. Juli 2023 um 10:40 Uhr schrieb Jürgen Spitzmüller:
> > 
> > > Am Dienstag, dem 04.07.2023 um 10:33 +0200 schrieb Yu Jin:
> > > > How do you switch on Linux/MacOS? Or does it just follow the system
> > > > setting?
> > >
> > > It follows the system settings unless you use a dark style via cl
> > > switch.
> 
> On linux systems where desktop manager does not do it automatically, you
> can use (in case of QT 5) qt5ct tool to set it up. E.g. you select fusion
> style and "darker" (or any other you might like) color scheme.
> 
> Then before running lyx you set the environment variable
> QT_QPA_PLATFORMTHEME=qt5ct
> and that should work (tested on oldstable debian).
> 
> > What if we make "fusion" style default on windows then? That would make
> > LyX's behavior the same as on Linux and MacOS.
> 
> Given that you are now the principal maintainer of the windows port
> I think that's up to you to decide.
> 
> Advantage of fusion is that it will look the same across platform
> disadvantage might be that it looks less native to windows than
> other apps on your desktop?
> 
> Actually Qt blog says that "their" preferred style on Windows is fusion 
> ¯\_(ツ)_/¯.
> 
> So would that be something we want to set on all platforms? or only Windows?
> I attached 2 patches accordingly, the style can be overwritten by the user 
> through command line arguments as before.
> 
> Which one should I push?

IMO the Windows platform only patch.

On macOS the command line is not an option for the „ordinary“ user. 
The change in style of e.g scrollbars gives LyX a strange feeling.

BR, Stephan
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to