Bug 352274 - Cannot take screenshots after compiling KSG
Summary: Cannot take screenshots after compiling KSG
Status: RESOLVED DOWNSTREAM
Alias: None
Product: ksnapshot
Classification: Unmaintained
Component: kscreengenie (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-04 15:04 UTC by Elvis Angelaccio
Modified: 2016-10-26 07:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.