[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#954781: libqt5core5a: QT will not use Wayland on Gnome



On Thu, Nov 03, 2022 at 06:02:03PM +0300, Dmitry Shachnev wrote:
> > 3. The only problem is that qtwayland5 wayland platform plugin is not
> > installed by default in a clean install of debian so applications fail
> > to run wayland natively (fallback to xcb).
> >
> > I think we would need the qtwayland5 installed by default when gnome is
> > installed (since wayland is the default there). Do you know which
> > package should Depends or Recommends qtwayland5 (maybe gnome-core or
> > some other package)?
> 
> libqt5gui5 currently suggests it. Do you think it needs to be a
> recommendation?

I think it should be at least a recommendation when wayland is installed
since we're defaulting to run natively. Can we make this behaviour
promoting qtwayland5 to Recommends in libqt5gui5? Because I think people
running X11 will also get the qtwayland5, right? If so, is there other
package that we could use to recommend or depend so it's only installed
when wayland is installed?

I forgot to mention in the first email, but there is a bug filled
against qtwayland5 regarding this matter too [1].

> > The terminal output below shows 3 executions of kristall. The first was
> > using the version from unstable. The second was using the experimental
> > version - fallback to xcb because the wayland platform plugin wasn't
> > installed. The third is using experimental's version after qtwayland5
> > was installed.
> >
> > charles@debianSid-vm:~$ kristall 
> > Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
> > defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
> > Loaded 79 bytes of type "text" / "gemini"
> > charles@debianSid-vm:~$ kristall 
> > qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
> > defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
> > Loaded 79 bytes of type "text" / "gemini"
> > charles@debianSid-vm:~$ kristall 
> > QSocketNotifier: Can only be used with threads started with QThread
> > defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
> > Loaded 79 bytes of type "text" / "gemini"
> > ignoring 1 out of 1
> > 2 0 "text/gemini"
> > Loaded 1265 bytes of type "text" / "gemini"
> > cache: pushing url  QUrl("gemini://gemini.circumlunar.space/")
> > ignoring 1 out of 1
> > 2 0 "text/gemini"
> > Loaded 350 bytes of type "text" / "gemini"
> > cache: pushing url  QUrl("gemini://gemini.circumlunar.space/news/")
> > qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> > qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> > Loaded 79 bytes of type "text" / "gemini"
> 
> This is probably just debug output, does not indicate actual errors.

I think so too. I just left for completeness :-)

Thanks,
Charles

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998698

Attachment: signature.asc
Description: PGP signature


Reply to: