Wrong colors when making a window screenshot

Bug #1720616 reported by Hadrien
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-screenshot (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This is on Ubuntu 17.10 (development branch) and gnome-screenshot 3.25.0

Open a Gnome terminal
Make a screenshot by calling gnome-screenshot -w
Open the created png

Expected result: the png shows the Gnome terminal window with colors matching the ones displayed
Actual result: the orange close button looks blue instead of orange. Maybe the red and blue channels are inverted.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-screenshot 3.25.0-0ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 1 11:47:27 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-01-03 (270 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-screenshot
UpgradeStatus: Upgraded to artful on 2017-09-30 (1 days ago)

Revision history for this message
Hadrien (psydk) wrote :
Revision history for this message
Hadrien (psydk) wrote :

Maybe the same bug than #1672716 but I did not experiment it with 17.04. Only with 17.10.

Revision history for this message
Hadrien (psydk) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gnome-screenshot (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Donato (ack) wrote :

I have the same issue in current Bionic (prerelease) with gnome-screenshot 3.25.0-0ubuntu2.

This only seems to happen when I screenshot a window (ctrl-alt-print), a full screenshot is correct.
Attached wrong and correct samples.

tags: added: bionic
Revision history for this message
Alberto Donato (ack) wrote :
Revision history for this message
Alberto Donato (ack) wrote :
Revision history for this message
Hadrien (psydk) wrote :

Ubuntu 18.04: taking a screenshot of a window now gives the expected color.

We may close this bug unless someone still have the issue on his side.

Revision history for this message
Hadrien (psydk) wrote :

No problem with Ubuntu 20.04. I will close this ticket.

Changed in gnome-screenshot (Ubuntu):
status: Confirmed → Fix Released
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.