Inverted colors on screenshots

Bug #1672716 reported by Anton Sudak
158
This bug affects 33 people
Affects Status Importance Assigned to Milestone
Gnome Screenshot
Invalid
Medium
gnome-screenshot (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

screenshots made with gnome-screenshot have inverted colors - blue becomes yellow, red becomes blue, etc. Please, see attached file.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: gnome-screenshot 3.22.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-11.13-generic 4.10.1
Uname: Linux 4.10.0-11-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Mar 14 15:03:41 2017
SourcePackage: gnome-screenshot
UpgradeStatus: Upgraded to zesty on 2017-02-28 (13 days ago)

Revision history for this message
Anton Sudak (anton-sudak) 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
Mathieu Leplatre (mathieu.leplatre) wrote :

I face the same problem!

But note that it's not totally inverted since black remains black :)

Revision history for this message
Mark Buckman (badmark) wrote :

This issue exhibits itself on both Nvidia GPU and Intel GPU desktops running Ubuntu Gnome 17.04

Revision history for this message
Alexander Chemeris (alexander-chemeris) wrote :

Also an issue for me. Ubuntu Gnome 17.04, "Haswell-ULT Integrated Graphics Controller" (Lenovo X1 Carbon 2nd / 20A7004CRT). Hope it'll be resolved soon - it's a really essential functionality for me.

Revision history for this message
The Bright Side (me-knowingme) wrote :

Exact same issue here. Desktop PC with GeForce GTX 970 graphics card, NVidia 381.09 drivers. Ubuntu Gnome 17.04, 64-bit.

Revision history for this message
Sergey Menshikov (sergem) wrote :

Same issue here
Intel HD 3000 ([8086:0126] rev 9) , Ubuntu Gnome 17.04, 64-bit

Revision history for this message
Sergey Menshikov (sergem) wrote :

Swapping red and blue fixes the file:

 convert a.png -separate -swap 0,2 -combine b.png

or for all files in dir, placing results in subdir

 for i in *.png; do convert “$i” -separate -swap 0,2 -combine “subdir/$i”; done

Revision history for this message
John Ladasky (john-ladasky) wrote :

I also experience this problem. Desktop PC, Intel i7-4790K CPU, GeForce GTX 760 GPU, Ubuntu Gnome 17.04, 64-bit, Nvidia driver 375.66.

But I have noticed something potentially important. Colors (but not black and white) are inverted when choosing "grab the current window," but NOT when choosing "select area to grab."

Revision history for this message
Chris Golpashin (chrisromic) wrote :

I'm having the same problem as stated in the previous comment. My computer has a Intel i7 4790K, GeForce GTX 1070, Ubuntu Gnome 17.04 64-bit, and using Nvidia driver 381.22.

The issue of the weird colors only happen when taking a screenshot of a selected windows, but not when I take a screenshot of my entire screenspace.

Revision history for this message
Matthew Bender (quartarian) wrote :

+1 Ubuntu 17.04, Gnome shell, GTX 960 (nvidia-375.66). Appears to only affect screen shots of windows. Full desktop and area screenshot not affected.

Revision history for this message
Chalk (chalkpe) wrote :

+1 colours are inverted when selected "grab the current window"
I'm using Ubuntu Gnome 17.04, 64-bit, GeForce GTX 960M, and nvidia-375.66.

Revision history for this message
Chalk (chalkpe) wrote :
Revision history for this message
Dennis Fehr (cy-raid) wrote :

This also affects me, and can verify it doesn't happen when doing a 'full' screenshot. I have NVidia binary, with dual monitor, if that helps.

Revision history for this message
Justin Stressman (jstressman) wrote :

I have this problem on a Radeon HD 7970.

Affects me only when using ALT-PRNTSCRN to grab the currently active window. Hitting just PRNTSCRN to crab the entire workspace (all 3 monitors) works fine and the colors are correct.

Ubuntu Gnome 17.04 64-bit.

Revision history for this message
Stefan Maric (stefanmaric) wrote :

I'm having the same issue.

Ubuntu Gnome 17.04 64-bits
Intel HD Graphics 530 (Intel Core i7-6700HQ) i965-va-driver
GeForce GTX 960M - NVIDIA binary driver - version 381.22

And I can confirm that this happens only when taking a screenshot of a specific window. Either via the gnome-screenshot GUI or the keyboard shortcuts.

Entire window or rectangular selection work just fine.

Also, this didn't happen with Ubuntu Gnome 16.10. I recently did a do-release-upgrade and then started to notice the issue.

Revision history for this message
cazacugmihai (cazacugmihai) wrote :

Hi,

I'm also having this issue using every type of screenshot (entire window or rectangular selection).

Environment:
- Ubuntu 16.04.3 LTS (x86_64; Unity)
- Intel® HD Graphics 530 (Skylake GT2)

Revision history for this message
Tao Wang (twang2218) wrote :

I'm having the same issue on Ubuntu 17.10 running wayland on Virtualbox.

Here is the screenshot, I'm running the terminator, the red one is the correct on, and the blue one is the screenshot by Alt + PrtScn.

Revision history for this message
Ales Kvapil (aleskva) wrote :

Note: This is not only an Ubuntu bug as this is broken also on other distros with Gnome

Changed in gnome-screenshot:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in gnome-screenshot:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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