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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: "bdju" <bdju@HIDDEN>; dated Mon, 20 Dec 2021 20:45:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 52686 <at> debbugs.gnu.org:


Received: (at 52686) by debbugs.gnu.org; 22 Dec 2021 14:43:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 22 09:43:13 2021
Received: from localhost ([127.0.0.1]:57212 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n02pl-0004Th-8L
	for submit <at> debbugs.gnu.org; Wed, 22 Dec 2021 09:43:13 -0500
Received: from tilde.team ([198.50.210.248]:46186 ident=postfix)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bdju@HIDDEN>) id 1n02pj-0004TZ-Mh
 for 52686 <at> debbugs.gnu.org; Wed, 22 Dec 2021 09:43:12 -0500
Received: from localhost (unknown [63.228.59.248])
 by tilde.team (Postfix) with ESMTPSA id 42AEA4C9E4C;
 Wed, 22 Dec 2021 14:43:10 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail;
 t=1640184190; bh=sNastD2kHDco6YrZbC0k+bJxw8uqu/Jq9LU7Z1wBthg=;
 h=Subject:From:To:Date:In-Reply-To:From;
 b=iV7G/IaKFxkVQuV+3Hy0HpEDYWNaKPJX886+OwsjEFEM1icgoPUaBbL5XolqGEv5y
 gTrHjpP81BEDayzSaGefr+QadgrOqCgkMiPWgyN4VQIKMGqGqiEQWRAX24ufGwYoyg
 Mdq1Y0ZyMeat2JbIOeOIUcK6l/9j4Gu2Zwn+FUkY=
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
Subject: Re: bug#52686: menus in qt programs not visible or appearing far
 away on wayland
From: "bdju" <bdju@HIDDEN>
To: "Josselin Poiret" <dev@HIDDEN>, <52686 <at> debbugs.gnu.org>
Date: Wed, 22 Dec 2021 08:34:31 -0600
Message-Id: <CGLWL4HU8A3B.2AKU63WSDEW7W@masaki>
In-Reply-To: <87pmpox4ve.fsf@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 52686
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

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=3Dwayland
> 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.




Information forwarded to bug-guix@HIDDEN:
bug#52686; Package guix. Full text available.

Message received at 52686 <at> debbugs.gnu.org:


Received: (at 52686) by debbugs.gnu.org; 22 Dec 2021 11:20:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 22 06:20:58 2021
Received: from localhost ([127.0.0.1]:56927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mzzg2-0000kS-A0
	for submit <at> debbugs.gnu.org; Wed, 22 Dec 2021 06:20:58 -0500
Received: from jpoiret.xyz ([206.189.101.64]:55284)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1mzzg0-0000kI-Np
 for 52686 <at> debbugs.gnu.org; Wed, 22 Dec 2021 06:20:57 -0500
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id 62AF3184F5B;
 Wed, 22 Dec 2021 11:20:54 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1640172054;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=68eIUzzJ9wuLxb63KZMi9aE2auDFT7B1DzOBAsJgWU0=;
 b=thQN4YX0cG8HZrBNPNucy6MYT/iJokwZfm7TK85QocrDnPlbo9YMvxphbJkQCqy5HszkBp
 WpyFqoEcP7FHtZ4S+SLVmnzuMroWw0QlCnHs+BNZ4EgCmzex/Aa6Uc2TpuWIp2LuCutFob
 DyldaKpU8mravPeUA2gjs9RgvArlYHTMqrqlPo53MyIiGnoCwptDfRVd4dyQEA+Na/OHqi
 S9pp/m8twZj6uEZA/tUMtk4IH2SX/INwYOwTEFJ+ewzcf0FnKu+FG4LL+nPhfgR7grGeI1
 AJ3oK/jTHNSxT3oafYStqsJouHS+bvAnMUD8whuzUooi/irBmZ8OsgBP88vrrw==
From: Josselin Poiret <dev@HIDDEN>
To: bdju <bdju@HIDDEN>, 52686 <at> debbugs.gnu.org
Subject: Re: bug#52686: menus in qt programs not visible or appearing far
 away on wayland
In-Reply-To: <CGKF3EZQOW54.U79G4VK5AUZ7@masaki>
References: <CGKF3EZQOW54.U79G4VK5AUZ7@masaki>
Date: Wed, 22 Dec 2021 12:20:53 +0100
Message-ID: <87pmpox4ve.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spamd-Bar: /
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hello, "bdju" via Bug reports for GNU Guix <bug-guix@HIDDEN>
 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 [...] 
 Content analysis details:   (2.5 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: jpoiret.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: 52686
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hello, "bdju" via Bug reports for GNU Guix <bug-guix@HIDDEN>
    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 [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: jpoiret.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Hello,

"bdju" via Bug reports for GNU Guix <bug-guix@HIDDEN> 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@HIDDEN:
bug#52686; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Dec 2021 20:44:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 20 15:44:10 2021
Received: from localhost ([127.0.0.1]:51568 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mzPVy-0003oi-3v
	for submit <at> debbugs.gnu.org; Mon, 20 Dec 2021 15:44:10 -0500
Received: from lists.gnu.org ([209.51.188.17]:47196)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bdju@HIDDEN>) id 1mzPVw-0003oZ-2y
 for submit <at> debbugs.gnu.org; Mon, 20 Dec 2021 15:44:08 -0500
Received: from eggs.gnu.org ([209.51.188.92]:48190)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bdju@HIDDEN>) id 1mzPVv-0002id-ST
 for bug-guix@HIDDEN; Mon, 20 Dec 2021 15:44:07 -0500
Received: from tilde.team ([198.50.210.248]:55874)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bdju@HIDDEN>) id 1mzPVu-00029M-4e
 for bug-guix@HIDDEN; Mon, 20 Dec 2021 15:44:07 -0500
Received: from localhost (unknown [63.228.59.248])
 by tilde.team (Postfix) with ESMTPSA id 7E9044C298F
 for <bug-guix@HIDDEN>; Mon, 20 Dec 2021 20:44:04 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail;
 t=1640033044; bh=Ic+6D4iVjHOiXoDkboMaX2/XdclmC7B17VCWpHAlIfc=;
 h=From:To:Subject:Date:From;
 b=jNO36WAib9W78iIwpmZHgRIIzbSPAQgSf2Wmbg4v3rXfkyJG6OxLVOP8FUCcd9LpB
 lyjbjo48AXqQBjDqEZKqKjCKp7fLZ7zNjw4DV//mjXMocEWvWlR0LrUKUy4QEtjFkd
 CiK6JzorGOL2Ki5IalmY0j5INLGag/ldWXuAxw5A=
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
From: "bdju" <bdju@HIDDEN>
To: <bug-guix@HIDDEN>
Subject: menus in qt programs not visible or appearing far away on wayland
Date: Mon, 20 Dec 2021 14:39:24 -0600
Message-Id: <CGKF3EZQOW54.U79G4VK5AUZ7@masaki>
Received-SPF: pass client-ip=198.50.210.248; envelope-from=bdju@HIDDEN;
 helo=tilde.team
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

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.




Acknowledgement sent to "bdju" <bdju@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#52686; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 22 Dec 2021 14:45:01 UTC

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