Bug 372946 - Taking a screenshot doesn't always work and prevents me from using the desktop
Summary: Taking a screenshot doesn't always work and prevents me from using the desktop
Status: RESOLVED DUPLICATE of bug 374009
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-26 11:09 UTC by tamius.han
Modified: 2018-01-31 05:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tamius.han 2016-11-26 11:09:42 UTC
spectacle 16.08.3 on archlinux packages. Using X server and proprietary nvidia drivers.

In keyboard settings, I've set the print screen button to launch `spectacle --region`.

In general, I can take one or two screenshots (per boot) this way before spectacle stops taking screenshots and kinda freezes my system. After pressing print screen (or launching `spectacle --region`, which does the same thing), I can't click anything on the screen. Screen doesn't get dimmed as usual, I don't get prompted to select a region as I should, cursor is regular mouse cursor (regardless of whether I hover over anything that normally changes the cursor) and all the programs on the desktop stop reacting to clicks.

Going to TTY and back to graphical sessions unfreezes the desktop.

Launching `spectacle --region` from the terminal gives me this trace:

--------------------------------------------------------------------------

spectacle --region
qrc:/JobDialog.qml:67: TypeError: Cannot read property 'Layout' of null
qrc:/JobDialog.qml:66: TypeError: Cannot read property 'Layout' of null
QOpenGLFramebufferObject: Unsupported framebuffer format.
QOpenGLFramebufferObject: Unsupported framebuffer format.
QOpenGLFramebufferObject: Unsupported framebuffer format.
QOpenGLFramebufferObject: Unsupported framebuffer format.
QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
QOpenGLFramebufferObject: Unsupported framebuffer format.
QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
Segmentation fault (core dumped)

--------------------------------------------------------------------------

This issue does NOT happen if I open up spectacle, select 'rectangular region' in the spectacle window and click the 'Take a new screenshot' button — it only happens when spectacle is launched with `spectacle --region`.

This problem didn't happen on the previous version.
Comment 1 Nate Graham 2018-01-31 05:09:04 UTC

*** This bug has been marked as a duplicate of bug 374009 ***