'ubuntu-bug -w' doesn't work under wayland

Bug #1838372 reported by Michael Kuster
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

'ubuntu-bug -w' doesn't work for most applications such nautilus, gedit, settings, etc. under wayland.

Michael Kuster (user240)
affects: gvfs (Ubuntu) → ubuntu
Paul White (paulw2u)
affects: ubuntu → apport (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apport (Ubuntu):
status: New → Confirmed
Revision history for this message
corrado venturini (corradoventu) wrote :

Try to report on Settings i write 'ubuntu-bug' in terminal and after the message ...close
i try to select the settings window but the cros for select does not appear.
closing with cntrl+c i have:
corrado@corrado-n3-jj-0103:~$ ubuntu-bug -w
^CTraceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 597, in <module>
    app.run_argv()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 734, in run_argv
    (out, err) = xprop.communicate()
  File "/usr/lib/python3.9/subprocess.py", line 1134, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/usr/lib/python3.9/subprocess.py", line 1979, in _communicate
    ready = selector.select(timeout)
  File "/usr/lib/python3.9/selectors.py", line 416, in select
    fd_event_list = self._selector.poll(timeout)
KeyboardInterrupt

corrado@corrado-n3-jj-0103:~$

Revision history for this message
Benjamin Drung (bdrung) wrote :

The latest 'ubuntu-bug -w' shows an error message:

```
$ LANGUAGE=C apport-cli -w

*** Error: Cannot create report

The window option cannot be used on Wayland.

Please find the window's process ID and then run 'ubuntu-bug <process ID>'.

The process ID can be found by running the System Monitor application. In the Processes tab, scroll until you find the correct application. The process ID is the number listed in the ID column.
```

But since Wayland is the default, we should implement Wayland support.

Changed in apport (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Wishlist
tags: added: rls-nn-incoming
Revision history for this message
Julian Andres Klode (juliank) wrote :

Needs some investigation whether this is possible, Wayland has a security focused design where I'd expect it not to be.

tags: removed: rls-nn-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.