Comment 19 for bug 1873942

Revision history for this message
Guillaume Michaud (gfmichaud) wrote : Re: [Bug 1873942] Re: gnome-screenshot takes a screenshot of the wrong screen

Yes, I can confirm the bug happens only on Wayland.
Everything works fine under the standard "Ubuntu" session, or the "Gnome on
Xorg" session.
(I also noticed something strange under the "Ubuntu on Wayland" session,
wich might be related: I can screenshot the left dock and sometimes parts
the dock and an unfocused window, but never the focused/current/selected
window.)

Le mar. 21 avr. 2020 à 11:26, Sebastien Bacher <email address hidden> a écrit :

> Thank you for your bug report. Is the issue specific to wayland? does it
> work if you try under X?
>
> ** Changed in: gnome-shell (Ubuntu)
> Status: Confirmed => Triaged
>
> ** Changed in: gnome-screenshot (Ubuntu)
> Status: Confirmed => Invalid
>
> ** Changed in: gnome-shell (Ubuntu)
> Importance: Undecided => Low
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1873942
>
> Title:
> gnome-screenshot takes a screenshot of the wrong screen
>
> Status in GNOME Shell:
> Unknown
> Status in gnome-screenshot package in Ubuntu:
> Invalid
> Status in gnome-shell package in Ubuntu:
> Triaged
>
> Bug description:
> I have a dual monitor setup, with the external monitor defined as the
> "primary" one (and the laptop one secondary).
> When using the Shift + PrtScr shortcut and choosing an area on the
> external monitor, the screenshot saved in ~/Pictures shows this area but on
> the _laptop_ screen.
> (Choosing an area on the laptop screen works OK.)
>
> I use the vanilla Gnome session (with Wayland), installed with apt.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: gnome-screenshot 3.36.0-1ubuntu1
> ProcVersionSignature: Ubuntu 5.4.0-25.29-generic 5.4.30
> Uname: Linux 5.4.0-25-generic x86_64
> ApportVersion: 2.20.11-0ubuntu27
> Architecture: amd64
> CasperMD5CheckResult: skip
> CurrentDesktop: GNOME
> Date: Mon Apr 20 20:58:46 2020
> InstallationDate: Installed on 2020-04-11 (9 days ago)
> InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200409)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=fr_FR.UTF-8
> SHELL=/bin/bash
> SourcePackage: gnome-screenshot
> UpgradeStatus: No upgrade log present (probably fresh install)
> ---
> ProblemType: Bug
> ApportVersion: 2.20.11-0ubuntu27
> Architecture: amd64
> BootLog: Error: [Errno 13] Permission non accordée: '/var/log/boot.log'
> CasperMD5CheckResult: skip
> CompositorRunning: None
> CurrentDesktop: GNOME
> DistUpgraded: Fresh install
> DistroCodename: focal
> DistroRelease: Ubuntu 20.04
> DistroVariant: ubuntu
> DkmsStatus:
> acpi-call, 1.1.0, 5.4.0-21-generic, x86_64: installed
> acpi-call, 1.1.0, 5.4.0-24-generic, x86_64: installed
> acpi-call, 1.1.0, 5.4.0-25-generic, x86_64: installed
> GraphicsCard:
> Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA
> controller])
> Subsystem: ASUSTeK Computer Inc. HD Graphics 620 [1043:16e0]
> InstallationDate: Installed on 2020-04-11 (9 days ago)
> InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200409)
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 004: ID 8087:0a2b Intel Corp.
> Bus 001 Device 003: ID 0bda:58d2 Realtek Semiconductor Corp. USB2.0 HD
> UVC WebCam
> Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: ASUSTeK COMPUTER INC. UX410UAK
> Package: wayland (not installed)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=fr_FR.UTF-8
> SHELL=/bin/bash
> ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-25-generic
> root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
> ProcVersionSignature: Ubuntu 5.4.0-25.29-generic 5.4.30
> Tags: focal wayland-session ubuntu
> Uname: Linux 5.4.0-25-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
> _MarkForUpload: True
> dmi.bios.date: 04/17/2019
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: UX410UAK.312
> dmi.board.asset.tag: ATN12345678901234567
> dmi.board.name: UX410UAK
> dmi.board.vendor: ASUSTeK COMPUTER INC.
> dmi.board.version: 1.0
> dmi.chassis.asset.tag: No Asset Tag
> dmi.chassis.type: 10
> dmi.chassis.vendor: ASUSTeK COMPUTER INC.
> dmi.chassis.version: 1.0
> dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvrUX410UAK.312:bd04/17/2019:svnASUSTeKCOMPUTERINC.:pnUX410UAK:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX410UAK:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
> dmi.product.family: ZenBook
> dmi.product.name: UX410UAK
> dmi.product.version: 1.0
> dmi.sys.vendor: ASUSTeK COMPUTER INC.
> version.compiz: compiz N/A
> version.libdrm2: libdrm2 2.4.101-2
> version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.4-2ubuntu1
> version.libgl1-mesa-glx: libgl1-mesa-glx N/A
> version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2
> version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
> version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
> version.xserver-xorg-video-intel: xserver-xorg-video-intel
> 2:2.99.917+git20200226-1
> version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gnome-shell/+bug/1873942/+subscriptions
>