[Gambas-bugtracker] Bug #2047: QT in Gnome looks for Wayland

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Jan 19 23:28:32 CET 2021


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

Gianluigi GRADASCHI reported a new bug.

Summary
-------

QT in Gnome looks for Wayland

Type             : Bug
Priority         : Medium
Gambas version   : Master
Product          : QT5 component


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

If I open Gambas from the terminal with the command "gambas3", Gambas opens immediately (GTK3)
If I open it with the command "export GB_GUI = gb.qt5 && gambas3", a black screen opens and only after 10 seconds the Gambas window appears and in the terminal I get this warning:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

Same behavior acting from the icon.


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

[System]
Gambas=3.15.90 8327e7f (master)
OperatingSystem=Linux
Kernel=5.8.0-38-generic
Architecture=x86_64
Distribution=Ubuntu 20.04.1 LTS
Desktop=UBUNTU:GNOME
Theme=yaru
Language=it_IT.UTF-8
Memory=32088M

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.6.0
DBus=libdbus-1.so.3.19.11
GDK2=libgdk-x11-2.0.so.0.2400.32
GDK3=libgdk-3.so.0.2404.16
GStreamer=libgstreamer-1.0.so.0.1602.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2404.16
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.97.0.0
QT5=libQt5Core.so.5.12.8
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=ubuntu-wayland
DISPLAY=:0
GB_GUI=gb.gtk3
GDMSESSION=ubuntu-wayland
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=8040
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SETUP_DISPLAY=:1
GNOME_SHELL_SESSION_MODE=ubuntu
GTK_MODULES=gail:atk-bridge
HOME=/home/<hostname>
IM_CONFIG_PHASE=1
INVOCATION_ID=f412099049244f48b9b9ea39e837b5a2
JOURNAL_STREAM=8:47823
LANG=it_IT.UTF-8
LC_ALL=it_IT.UTF-8
LOGNAME=<hostname>
MANAGERPID=1646
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/<hostname>
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1792,unix/<hostname>:/tmp/.ICE-unix/1792
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_LAUNCHER=gnome-keyring
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<hostname>
USERNAME=<hostname>
WAYLAND_DISPLAY=wayland-0
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.DC8FX0
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-wayland:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu-wayland:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=ubuntu-wayland
XDG_SESSION_TYPE=wayland
XMODIFIERS=@im=ibus
_=/usr/bin/gnome-session




More information about the Bugtracker mailing list