Bug 2160571 - XFCE4-screenshooter 1.10.0 is Broken (Captures outdated desktop images)
Summary: XFCE4-screenshooter 1.10.0 is Broken (Captures outdated desktop images)
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce4-screenshooter
Version: 37
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Mukundan Ragavan
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2023-01-12 21:11 UTC by Richard Myers
Modified: 2023-01-22 01:41 UTC (History)
3 users (show)

Fixed In Version: xfce4-screenshooter-1.10.3-1.fc38 xfce4-screenshooter-1.10.3-1.fc37
Doc Type: ---
Doc Text:
Clone Of:
Last Closed: 2023-01-13 00:55:26 UTC
Type: Bug

Attachments (Terms of Use)
Shows what I get with XFCE4-screenshooter 1.10.0 (F37) (194.49 KB, image/png)
2023-01-12 21:33 UTC, Richard Myers
no flags Details

Description Richard Myers 2023-01-12 21:11:36 UTC
Description of problem:
See https://gitlab.xfce.org/apps/xfce4-screenshooter/-/issues/101
After upgrading from Fedora 35 to Fedora 37 (xfce4-screenshooter-1.10.0-1.fc37.x86_64, xfce4-screenshooter-plugin-1.10.0-1.fc37.x86_64), screenshooter grabs wildly unpredictable images (by me) from my screen.  For instance, grabbing a region on a blank desktop screen shows a region of an old desktop screen, which is apparently stuck in a buffer somewhere.

Developer says the problem is likely fixed in version 1.10.2.  This report is to nudge Fedora to update to 1.10.2 as soon as possible.

Version-Release number of selected component (if applicable):

How reproducible:
Seems to work OK once after a reboot (or possibly right after logging into X), but after that, it's impossible to get a current screen capture.

Steps to Reproduce:
1. Use xfce4-screenshooter to capture a region.
2. Move to a different desktop, and use xfce4-screenshooter to capture another region.
3. The newly captured region does not reflect the area of the desired region, but rather, a piece of some other screen.  

Actual results:
xfce4-screenshooter grabs a region, active window, or desktop image from an old desktop stored somewhere in the system, not the current region, active windo, or desktop.

Expected results:
xfce4-screenshooter grabs and stores an image from the current region, active window, or desktop.

Additional info:
Doesn't matter if the compositor is on or off.  I am running X, not Wayland.

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
DeviceName:  Onboard IGD
Subsystem: Dell XPS 15 9550
Kernel driver in use: i915
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
Subsystem: Dell XPS 15 9550
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
nvidia_drm             73728  2
nvidia_modeset       1208320  2 nvidia_drm
nvidia_uvm           2904064  0
nvidia              56176640  82 nvidia_uvm,nvidia_modeset

Capturing an active screen or the entire screen gives similarly baffling results (grabs a window, or entire screen which is not anywhere on any of my desktops, but what was present sometime in the past).

Screenshooter seems to give the correct shot only once after rebooting.  I'm not sure the behaviour after logging out of X and back in, (whether it works correctly the first time or not).

Comment 1 Richard Myers 2023-01-12 21:33:57 UTC
Created attachment 1937662 [details]
Shows what I get with XFCE4-screenshooter 1.10.0 (F37)

Comment 2 Richard Myers 2023-01-12 23:22:18 UTC
The developer has released 1.10.3, which now builds on F37, making it easier to release in Fedora-Updates.  Kudos to Andre Miranda!!  I tested it on F37, and it works like a charm!!!

Comment 3 Fedora Update System 2023-01-13 00:51:18 UTC
FEDORA-2023-1f6a754a0b has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1f6a754a0b

Comment 4 Fedora Update System 2023-01-13 00:55:26 UTC
FEDORA-2023-1f6a754a0b has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2023-01-13 01:08:07 UTC
FEDORA-2023-afc749fb5e has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-afc749fb5e

Comment 6 Fedora Update System 2023-01-14 02:07:45 UTC
FEDORA-2023-afc749fb5e has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-afc749fb5e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-afc749fb5e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-01-22 01:41:35 UTC
FEDORA-2023-afc749fb5e has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.