[Bug 1952947] Re: ubuntu-bug -w (using xprop) doesn't work under wayland
Robie Basak
1952947 at bugs.launchpad.net
Thu Mar 31 14:34:18 UTC 2022
Hello Henning, or anyone else affected,
Accepted apport into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.20.11-0ubuntu27.23 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Tags removed: verification-failed verification-failed-focal
** Tags added: verification-needed verification-needed-focal
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1952947
Title:
ubuntu-bug -w (using xprop) doesn't work under wayland
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Focal:
Fix Committed
Status in apport source package in Impish:
Fix Released
Status in apport source package in Jammy:
Fix Released
Bug description:
[Impact]
This bug makes it more difficult for Wayland users to report bugs with
apport. When a Wayland user tries to use the -w,--window option,
apport fails silently. We do not want users to face a high barrier to
submitting bug reports.
The patch for this bug adds a message explaining that the -w,--window
option cannot be used on Wayland, and suggests a method for finding
the window's PID instead.
[Test Plan]
* Log on to Ubuntu on Wayland. You can check that $XDG_SESSION_TYPE=="wayland" in your current session.
* Open a terminal, and run `ubuntu-bug -w`.
* Click on any other window, and observe that the apport UI will not respond.
[Where problems could occur]
The patch uses os.getenv to check that $XDG_SESSION_TYPE is set to
'wayland'. If either of these strings in the patch were wrong, or the
environment variable was not used in the target release, the condition
would likely never be true.
[Original Description]
I want to report a Bug about the application Studio Controls.
As I did it already quite a few times, I run "ubuntu-bug -w", get a
message that I can select the window of the app I want to report a bug
about after closing this message.
I close the message with a click on the appropriate button.
I click on the window of the application "Studio Controls" that I want
to report a bug about.
Nothing happens.
I wait for a few minutes. Still nothing happens.
In the console where I started ubuntu-bug -w I see the following
message:
(apport-gtk:11537): Gdk-CRITICAL **: 20:06:41.384:
gdk_wayland_window_set_dbus_properties_libgtk_only: assertion
'GDK_IS_WAYLAND_WINDOW (window)' failed
What I expect:
Usaully when I use this procedure, after a relatively short while a
new message window pops up asking me if the bug should be reported and
showing me the data that is sent to Launchpad.
I tried other applications, too, same effect.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: apport 2.20.11-0ubuntu71
ProcVersionSignature: Ubuntu 5.13.0-21.21-lowlatency 5.13.18
Uname: Linux 5.13.0-21-lowlatency x86_64
ApportLog:
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Dec 1 20:01:23 2021
InstallationDate: Installed on 2020-04-12 (597 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: Upgraded to impish on 2021-11-14 (16 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1952947/+subscriptions
More information about the foundations-bugs
mailing list