FLTK logo

Re: [fltk.coredev] GL differences - X11 vs Wayland (WSL2, in case that matters!)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: GL differences - X11 vs Wayland (WSL2, in case that matters!) Bill Spitzak Nov 30, 2022  
 
How come the desktops are not providing working libdecor plugins? Or is FLTK not finding and loading them?


On Wed, Nov 30, 2022 at 11:51 AM Manolo <manolo.gouy@gmail.com> wrote:


Le mercredi 30 novembre 2022 à 19:01:38 UTC+1, imacarthur a écrit :
On Wednesday, 30 November 2022 at 17:22:19 UTC Albrecht Schlosser wrote:
On 11/30/22 17:31 imacarthur wrote:
>
> The window decorations look a bit odd; I assume that's our built-in
> libdecor? Not sure how to tell - in any case I think the title bar
> font is too large!

This looks like the "Cairo" libdecor plugin (or built-in version). In my
builds this has a black background and the label fonts are too large.

Yes, I poked at this a bit, it is the "cairo" libdecor titlebar I'm getting. It's ugly!
 
You can get the "GTK" plugin if you install gtk3 development files. I
don't know if you can do this under WSL, but then you should get
"better" title bars with a more appropriate font.

Looks like I can get the libgtk-3-blah stuff, including libgtk-3-dev under WSL (at least, that is to say that "apt search blah" lists them as available) but they don't seem to be installed by default, and (pretending to) install them flags quite a lot of dependencies to also pull in... I might just leave that alone for now!

Without having actually looked at this at all, I wonder if we can draw our own titlebar? Like, with fltk, I mean? 
It could hardly be uglier than what I'm getting, at any rate!
 
The GTK-styled titlebar obtained with libgtk-3-dev is a much better solution because
FLTK apps will integrate much better the desktop and follow its future evolution.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/52f8b649-90e4-4661-af1f-84869f0d75a1n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/CAL-8oAg-fYETjc0%3DSvuRc2v6DCq5eeyxHxY0V809QEKb5Y%2Bg1w%40mail.gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.