FLTK logo

Re: [fltk.coredev] Towards a Wayland platform for the FLTK library ?

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: Towards a Wayland platform for the FLTK library ? Albrecht Schlosser Jun 09, 2021  
 
On 6/9/21 3:42 PM Manolo wrote:
Le mercredi 9 juin 2021 à 12:44:10 UTC+2, Albrecht Schlosser a écrit :
The 'mandelbrot' demo displays a trace of rectangles when you select a
part of the image by dragging the mouse, see screenshot. It's redrawn
correctly after releasing the mouse button.
Yes, I know and have that in my TODO list.

OK, great!

After git pull, use with Weston should now be much improved.

Indeed it is. Thank you very much for the quick fix.

Does Mint lack the wayland-enabled gnome desktop?

Honestly, I don't know for sure. Maybe you can install and configure it, I never tried. Mint comes with one of three (Cinnamon, MATE, Xfce) desktop systems preinstalled. I'm using the Cinnamon desktop because I wanted a "fast and light" ;-) desktop system when my previous Ubuntu system (at that time still in a VM under Windows) became slower and slower from version to version.

When I first tried to test Wayland (before you came up with the FLTK port) I installed Weston which did what I wanted to test. Later I also needed Wayland on Ubuntu for a copy-and-paste issue in FLTK and that's why I installed Ubuntu in another VM which enabled me to test on the normal Ubuntu (X11) and/or the Ubuntu-Wayland desktop (by logging into the respective desktop as you certainly know).

Do you know how to configure the keyboard layout with Weston?

No, unfortunately not, but I didn't need it yet. On my notebook Weston *seems* to take the key definitions from my "host" system and this appears to work well in 'terminal' and other apps. However

- test/keyboard seems to work fine WRT Fl::event_text()
- test/keyboard shows some "unknown" glyphs for non-ASCII characters (e.g. German Umlauts äöü) in Fl::event_key()

I'm not sure about the latter in X11 apps, I thought it displayed for instance 'ä' (with quotes) but now it doesn't. Maybe another FLTK config?


BTW: since you disabled the usage of the FLTK_SCALING_FACTOR environment variable in commit 2e715259ef30c (IIRC) FLTK apps crash when you type ctrl/+ (which is actually worse than before):

$ test/keyboard
makeWindow:0x7d0000 wl_compositor_create_surface=0x7f6b90 scale=1
makeWindow:0x968d60 wl_compositor_create_surface=0x978320 scale=1
makeWindow: xdg_wm_base_get_xdg_surface=0x978380
xdg_surface@34: error 3: xdg_surface has never been configured
---- app using 100% CPU, needs to be stopped with ctrl/c or killed ----
^C
$

--
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/e914a181-8997-be82-ad24-6e5ecea2c4d3%40online.de.
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'.