[Gambas-bugtracker] Bug #1762: Gambas3 does not support Wayland

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Mar 23 18:00:03 CET 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.1762&from=L21haW4-

Tom CALLAWAY reported a new bug.

Summary
-------

Gambas3 does not support Wayland

Type             : Bug
Priority         : Medium
Gambas version   : 3.14
Product          : Unknown


Description
-----------

Fedora has had Wayland as its default display server technology for a few releases now (instead of xorg/X11). Since Gambas3's Linux support is coded exclusively to X11, this means that Gambas3 (and any gambas3 native app) crashes almost immediately. Example:

$ xt7-player-mpv.gambas 
QSocketNotifier: Can only be used with threads started with QThread
Segmentation fault (core dumped)

The backtrace looks like this:
Thread no. 1 (6 frames)
 #0 _XInternAtom at IntAtom.c:76
 #1 XInternAtom at IntAtom.c:175
 #2 init_atoms at x11.c:129
 #3 X11_init at x11.c:352
 #4 QT_Init at main.cpp:1134
 #5 hook_main at main.cpp:987

There is a tracker bug in Fedora's bugzilla here: https://bugzilla.redhat.com/show_bug.cgi?id=1774215


System information
------------------

This bug affects all Fedora Linux installs using Wayland. While Xorg remains an option, users have to reconfigure their system to use it, and many users assume that something is wrong with Gambas3.




More information about the Bugtracker mailing list