unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "bdju" via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "Josselin Poiret" <dev@jpoiret.xyz>, <52686@debbugs.gnu.org>
Subject: bug#52686: menus in qt programs not visible or appearing far away on wayland
Date: Wed, 22 Dec 2021 08:34:31 -0600	[thread overview]
Message-ID: <CGLWL4HU8A3B.2AKU63WSDEW7W@masaki> (raw)
In-Reply-To: <87pmpox4ve.fsf@jpoiret.xyz>

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.




      reply	other threads:[~2021-12-22 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-20 20:39 bug#52686: menus in qt programs not visible or appearing far away on wayland bdju via Bug reports for GNU Guix
2021-12-22 11:20 ` Josselin Poiret via Bug reports for GNU Guix
2021-12-22 14:34   ` bdju via Bug reports for GNU Guix [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CGLWL4HU8A3B.2AKU63WSDEW7W@masaki \
    --to=bug-guix@gnu.org \
    --cc=52686@debbugs.gnu.org \
    --cc=bdju@tilde.team \
    --cc=dev@jpoiret.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).