[Bug 1899638] Re: ubuntu-bug won't show GUI window in pure wayland-sessions

Benjamin Drung 1899638 at bugs.launchpad.net
Thu Jul 28 11:25:09 UTC 2022


I cannot reproduce your problem and neither find a problem in the code.

Running "env -u DISPLAY ubuntu-bug -w apport" on a fresh Ubuntu 22.04
installation (with GNOME and wayland) opens apport-gtk correctly.
Neither killing Xwayland nor only setting WAYLAND_DISPLAY by running
"env -i WAYLAND_DISPLAY=wayland-0 ubuntu-bug -w apport" did change
anything (note: apport-gtk crashed in the latter case, but it was
called).

Supporting WAYLAND_DISPLAY as alternative was implemented in bug
#1418766 long time ago.

Can you reproduce your problem? What environment are you in?

** Changed in: apport (Ubuntu)
       Status: New => Incomplete

-- 
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/1899638

Title:
  ubuntu-bug won't show GUI window in pure wayland-sessions

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  In case only `WAYLAND_DISPLAY` env variable is set (but no `DISPLAY`
  as XWayland is disabled), ubuntu-bug won't show its window, even
  though GTK will use the Wayland backend.

  Test case, in an Ubuntu wayland session:
   - Run:
        env -u DISPLAY ubuntu-bug -w apport

  
  You will get:

  *** Collecting problem information

  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  ...........

  *** Send problem report to the developers?

  After the problem report has been sent, please fill out the form in the
  automatically opened web browser.

  What would you like to do? Your options are:
    S: Send report (5.9 KB)
    V: View report
    K: Keep report file for sending later or copying to somewhere else
    I: Cancel and ignore future crashes of this program version
    C: Cancel
  Please choose (S/V/K/I/C): S

  *** Uploading problem information

  The collected information is being sent to the bug tracking system.
  This might take a few minutes.
  92%

  *** To continue, you must visit the following URL:

    https://bugs.launchpad.net/ubuntu/+source/apport/+filebug/...... ?

  You can launch a browser now, or copy this URL into a browser on
  another computer.

  
  Choices:
    1: Launch a browser now
    C: Cancel
  Please choose (1/C): 1
  marco at marco-virtual-machine:~$ Error: no DISPLAY environment variable specified
  ^C

  ---

  So, ubuntu-bug should both consider `DISPLAY` and `WAYLAND_DISPLAY` to
  be enough to use a graphical session.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  Package: apport 2.20.11-0ubuntu49
  ProcVersionSignature: Ubuntu 5.8.0-22.23-generic 5.8.14
  Uname: Linux 5.8.0-22-generic x86_64
  ApportVersion: 2.20.11-0ubuntu49
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashReports: 640:1000:125:21823957:2020-10-13 15:15:42.354004383 +0200:2020-10-13 15:15:43.354004383 +0200:/var/crash/_usr_bin_gnome-shell.1000.crash
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Oct 13 15:22:34 2020
  InstallationDate: Installed on 2020-10-13 (0 days ago)
  InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Beta amd64 (20201013.1)
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1899638/+subscriptions




More information about the foundations-bugs mailing list