LyX on Gnome wayland - a new decoration alternative
Lorenzo Bertini
lorenzobertini97 at gmail.com
Sat Nov 25 11:18:18 UTC 2023
Il giorno sab 25 nov 2023 alle ore 11:13 Isaac Oscar Gariano <
isaacoscar at live.com.au> ha scritto:
> Hmm,
> Are you using LyX 2.3, which uses Qt5?
> I use the LyX 2.4 development version on Qt6 usually on Windows, but I
> occassionaly use it on Wayland (through WSLg, which doesn't use a desktop
> environment).
>
> (On a side note, I recall liking "Plastic" (but I think it had a funny
> spelling) for Qt5, but I can't seem to find it for Qt6...)
>
> Do you by any chance know where to find more Qt6 themes? (I only have
> variants of "HighContranst", "Adwaita", "kvantum", "Fusion", and "Windows"
> (which looks like a 25 year old version of Windows, not a recent one)).
>
> — Isaac Oscar Gariano
> ------------------------------
> *From:* lyx-users <lyx-users-bounces at lists.lyx.org> on behalf of Lorenzo
> Bertini <lorenzobertini97 at gmail.com>
> *Sent:* Saturday, 25 November 2023 7:53 AM
> *To:* lyx-users List <lyx-users at lists.lyx.org>
> *Subject:* LyX on Gnome wayland - a new decoration alternative
>
> Dear list,
>
> if use LyX on Gnome wayland using "wayland" as a platform (and not "xcb")
> you probably don't have any shadow and only very basic window decoration.
> This is because Qt still hasn't implemented proper wayland decorations.
>
> You then have to rely on external Qt plugins to have nicer decorations and
> shadows. The projects QGnomePlatform and adwaita-qt are being discontinued
> and replaced by QAdwaitaDecorations (
> https://github.com/FedoraQt/QAdwaitaDecorations).
>
> I forked the latter in https://github.com/bertini97/qadwaitadecorations
> trying to address some problems of the original repo, like hardcoded colors
> and shadow artifacts.
>
> Sorry if this is too off-topic. I posted in the hope of helping people who
> use Gnome and don't want to have a bad experience with LyX on wayland.
>
> Lorenzo
>
Hi,
no I'm using the qt6 version. It looks like you are using the default
window decoration on wayland, which is without shadows.
Qt6 dropped "plastique", "motif" and some other styles. Only "fusion" and
"windows" are available (and of course "kvantum" and "adwaita" if you
installed them). These are called "styles", and are .cpp Qt plugins rather
than themes; you can set them to use a custom .qss if you want to theme
them. Kvantum instead is a theme engine, and you can install themes with
it. Very linear and uncomplicated, isn't it? :)
Lorenzo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20231125/95f8700d/attachment.html>
More information about the lyx-users
mailing list