GNU bug report logs - #52686
menus in qt programs not visible or appearing far away on wayland

Previous Next

Package: guix;

Reported by: "bdju" <bdju <at> tilde.team>

Date: Mon, 20 Dec 2021 20:45:01 UTC

Severity: normal

To reply to this bug, email your comments to 52686 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#52686; Package guix. (Mon, 20 Dec 2021 20:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "bdju" <bdju <at> tilde.team>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 20 Dec 2021 20:45:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "bdju" <bdju <at> tilde.team>
To: <bug-guix <at> gnu.org>
Subject: menus in qt programs not visible or appearing far away on wayland
Date: Mon, 20 Dec 2021 14:39:24 -0600
guix system
guix (GNU Guix) b3a0db7a0e5fa7186c090647cfd5666e2b9287ff
sway

In keepassxc the menus don't show anything when clicked.
(actually, I restarted it and now they work, but leaving that in to show
it was multiple programs)
In pcmanfm-qt the menus at the top as well as the right click menu don't
show anything.
In nheko the right click menu appears very far from the cursor, the same
spot regardless of where in the window I've clicked.




Information forwarded to bug-guix <at> gnu.org:
bug#52686; Package guix. (Wed, 22 Dec 2021 11:21:02 GMT) Full text and rfc822 format available.

Message #8 received at 52686 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: bdju <bdju <at> tilde.team>, 52686 <at> debbugs.gnu.org
Subject: Re: bug#52686: menus in qt programs not visible or appearing far
 away on wayland
Date: Wed, 22 Dec 2021 12:20:53 +0100
Hello,

"bdju" via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> guix system
> guix (GNU Guix) b3a0db7a0e5fa7186c090647cfd5666e2b9287ff
> sway
>
> In keepassxc the menus don't show anything when clicked.
> (actually, I restarted it and now they work, but leaving that in to show
> it was multiple programs)
> In pcmanfm-qt the menus at the top as well as the right click menu don't
> show anything.
> In nheko the right click menu appears very far from the cursor, the same
> spot regardless of where in the window I've clicked.

This seems like those programs are running with the XCB backend, using
XWayland, rather than directly using Wayland.

Could you give us some more information about your system and Wayland
compositor?

Can you try launching those in a shell using `QT_QPA_PLATFORM=wayland
pcmanfm-qt` for example after installing qtwayland in your profile?

I cannot replicate on Sway 1.6.1 with either the xcb or wayland backends
of Qt.

-- 
Josselin Poiret




Information forwarded to bug-guix <at> gnu.org:
bug#52686; Package guix. (Wed, 22 Dec 2021 14:44:01 GMT) Full text and rfc822 format available.

Message #11 received at 52686 <at> debbugs.gnu.org (full text, mbox):

From: "bdju" <bdju <at> tilde.team>
To: "Josselin Poiret" <dev <at> jpoiret.xyz>, <52686 <at> debbugs.gnu.org>
Subject: Re: bug#52686: menus in qt programs not visible or appearing far
 away on wayland
Date: Wed, 22 Dec 2021 08:34:31 -0600
On Wed Dec 22, 2021 at 5:20 AM CST, Josselin Poiret wrote:
> This seems like those programs are running with the XCB backend, using
> XWayland, rather than directly using Wayland.

`swaymsg -t get_tree` output shows they have an app_id instead of a
class, this is how I'm determining they're using Wayland. They in fact
used to use a class. I am not using the env var to force wayland as it
had issues in the past, but after upgrading packages recently, it seems
they went back to using app_id.

> Could you give us some more information about your system and Wayland
> compositor?

Like I said at the top, I am using Sway as my compositor, on the Guix
System distro. What else would be helpful to know?

> Can you try launching those in a shell using `QT_QPA_PLATFORM=wayland
> pcmanfm-qt` for example after installing qtwayland in your profile?

Looks like I have qtwayland in my profile already.
I experience the same issues after launching pcmanfm-qt with that env
var at the start. The terminal shows this:
8:41:13.012|default|W|QSocketNotifier: Can only be used with threads
started with QThread

> I cannot replicate on Sway 1.6.1 with either the xcb or wayland backends
> of Qt.

Thank you for testing.




This bug report was last modified 3 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.