Bug 352274

Summary: Cannot take screenshots after compiling KSG
Product: [Unmaintained] ksnapshot Reporter: Elvis Angelaccio <elvis.angelaccio>
Component: kscreengenieAssignee: Boudhayan Gupta <me>
Status: RESOLVED DOWNSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Elvis Angelaccio 2015-09-04 15:04:00 UTC
I just compiled and installed KScreenGenie from sources, but KSG cannot take screenshots at all. Running KSG from terminal prints in output "QPixmap::scaled: Pixmap is a null pixmap" (twice). The same line is printed whenever I try to take another screenshot.

Probably I'm missing some required library, but why CMake did not stop me? My CMake output here: https://paste.kde.org/pwlnu4cqf

Reproducible: Always
Comment 1 Boudhayan Gupta 2015-09-04 22:33:18 UTC
Is this from git or the 2.0.0 release? We've had guards for the build to fail if XCB is not found for a long time.

XCB is an optional dep, because later we should be able to build Wayland-only versions of KSG
Comment 2 Elvis Angelaccio 2015-09-05 10:02:38 UTC
(In reply to Boudhayan Gupta from comment #1)
> Is this from git or the 2.0.0 release? We've had guards for the build to
> fail if XCB is not found for a long time.
> 
> XCB is an optional dep, because later we should be able to build
> Wayland-only versions of KSG
I compiled from git, but the same happens with the released tarball.

In the root CMakeLists.txt I do see a FATAL_ERROR message if XCB is not found, but I don't see it in my actual cmake output. Yet, I cannot take screenshots, so I guess something must be wrong in the cmake bits.
Comment 3 Elvis Angelaccio 2016-10-26 07:45:35 UTC
I think we can now close this.