[mythtv-commits] Ticket #13483: Wayland in Fedora 31 does not allow focus grabbing from the compositer
MythTV
noreply at mythtv.org
Sat Jul 25 21:19:16 UTC 2020
#13483: Wayland in Fedora 31 does not allow focus grabbing from the compositer
----------------------------------+------------------------------
Reporter: hobbes1069 | Owner: Mark Kendall
Type: Bug Report - General | Status: new
Priority: major | Milestone: 31.1
Component: MythTV - General | Version: v30-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+------------------------------
Comment (by Klaas de Waal):
A workaround, found in https://doc.qt.io/qt-5/wayland-and-qt.html, is to
start the application with the **-platform xcb** option, as in:
{{{
mythtv-setup -platform xcb
mythfrontend -platform xcb
}}}
This does actually work, both for the GUI and for video playback.
However, as I understand it, this should not be necessary, because the
documentation says:
{{{
Qt clients can run on any Wayland compositor, including Weston, the
reference compositor developed as part of the Wayland project.
}}}
The default desktop in Fedora 32 is Gnome and that uses another
compositor.
When starting the Weston compositor in a separate session, after creating
a configuration file that specifies X11 support:
{{{
[klaas at MyZen mythtv-master]$ cat ~/.config/weston.ini
[core]
modules=xwayland.so
}}}
then mythtv-setup starts OK.
If a Qt5 application should be able to run on Wayland directly without the
X11 layer then we should figure out which Qt widgets, or which use of the
Qt widgets, does cause the problems.
If the statement "Qt clients can run on any Wayland compositor" does
implicate "with the X11 layer" then the "-platform xcb" option can maybe
built into mythtv as default.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13483#comment:13>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list