Client side decorations?
lorenzobertini97 at gmail.com
lorenzobertini97 at gmail.com
Thu May 11 14:38:52 UTC 2023
Dear LyX devs,
I've been facing this problem for a while: LyX, and in general Qt
programs, don't draw a shadow or have a proper titlebar under wayland
in the GNOME desktop environment, or really any desktop that uses
mutter. See attached screenshot to see how this can sometimes be an
inconvenience.
This is because mutter doesn't draw neither shadows nor a titlebar for
windows, and relegates everything to the program when under wayland.
This is heatedly discussed in many bug reports, but the GNOME devs are
adamant: mutter won't add anything to windows.
I understand that this is a GNOME problem, but it got me thinking.
Could Lyx benefit in some way from being able to draw its own
decorations? Because with Qt 5.15 it's now possible to implement it for
platforms that want it:
https://www.qt.io/blog/custom-window-decorations.
Many programs are starting to use CSD (also for Windows and Mac),
especialy to put buttons and settings in the titlebar. However a
notable exception are document editors, for which the menubar is still
preferred. So the answer is probably a no, which is fine.
Let me know what you think.
All the best,
--
Lorenzo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lyx-no-shadow.png
Type: image/png
Size: 169989 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230511/27f29550/attachment-0001.png>
More information about the lyx-devel
mailing list