I just compile spectacle vs kubuntu willy, all the interface is working as expected but I can't capture anything. Reproducible: Always Steps to Reproduce: 1. Open spectacle 2. Take new screenshot Actual Results: 1. Nothing is captured 2. When I go to "Save & Exit" there's a message reading "Cannot save an empty screenshot image" Expected Results: Screenshot captured I am using the current master (last commit on Nov 19) with kubuntu willy plasma version 5.4.2
This is the result of one of two things - you're either running Wayland, or you've compiled Spectacle without installing the XCB headers. Spectacle has an explicit dependency on XCB.
You were right, just compile again fullfilling all the deps and it's working perfectly now, a message telling me that no backend was installed would have been helpful, if it interests you, this is the summary of packages I had I had all this related packages: libx11-xcb-dev:amd64 libxcb-dri2-0-dev:amd64 libxcb-dri3-dev:amd64 libxcb-glx0-dev:amd64 libxcb-present-dev:amd64 libxcb-randr0-dev:amd64 libxcb-render0-dev:amd64 libxcb-shape0-dev:amd64 libxcb-sync-dev:amd64 libxcb-xfixes0-dev:amd64 libxcb1-dev:amd64 And hat to install: libxcb-cursor-dev:amd64 libxcb-image0-dev:amd64 libxcb-render-util0-dev:amd64 libxcb-shm0-dev:amd64 libxcb-util-dev:amd64 Now that it's working, it's really a neat software, already replaced ksnapshot on my system
The CMake build files are supposed to fail with a fatal error if XCB headers aren't found. If it isn't doing that properly, you're most welcome to take a look and see if you can fix it. I'm saying this because I've tried my darndest best to make sure the build fails if no backends can be built, and in most systems this works well. But in some cases they don't. Unfortunately on my system the build fails perfectly if the XCB dev headers aren't installed, so I can't exactly test every possible failure mode. Maybe fixing this could be a GCI task? ;-)