Bug 381528 - Unable to capture rectangular screenshot
Summary: Unable to capture rectangular screenshot
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-22 12:32 UTC by Ľudovít Lučenič
Modified: 2018-10-20 05:02 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ľudovít Lučenič 2017-06-22 12:32:56 UTC
My Spectacle is unable to capture rectangular screenshots when used with GUI. The cross cursor just blinks for a fraction of a second and then it returns to normal mouse pointer. Using CLI I get the following output:

➜ spectacle -r
WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Desktop"
qrc:/JobDialog.qml:67: TypeError: Cannot read property 'Layout' of null
qrc:/JobDialog.qml:66: TypeError: Cannot read property 'Layout' of null
[1]    611 bus error  spectacle -r

Issue #378204 says the application crashes after selecting a rectangular region, I have no opportunity to even select anything in my case.

System: Neon 5.10.2
Spectacular: 17.04.2 - A Dearth of Dank Memes
Comment 1 Francisco Fernandes 2017-06-23 11:49:55 UTC
Hello Ľudovít,

Could you give more info about your system (Plasma and spectacle version, graphics card and so on) and the steps for replication?

(In reply to Ľudovít Lučenič from comment #0)
> My Spectacle is unable to capture rectangular screenshots when used with
> GUI. The cross cursor just blinks for a fraction of a second and then it
> returns to normal mouse pointer. Using CLI I get the following output:
> 
> ➜ spectacle -r
> WARNING: Cannot find style "org.kde.desktop" - fallback:
> "/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Desktop"
> qrc:/JobDialog.qml:67: TypeError: Cannot read property 'Layout' of null
> qrc:/JobDialog.qml:66: TypeError: Cannot read property 'Layout' of null
> [1]    611 bus error  spectacle -r
> 
> Issue #378204 says the application crashes after selecting a rectangular
> region, I have no opportunity to even select anything in my case.
> 
> System: Neon 5.10.2
> Spectacular: 17.04.2 - A Dearth of Dank Memes
Comment 2 Ľudovít Lučenič 2017-07-04 20:56:41 UTC
Hi Francisco, the versions of Plasma and Spectacle are those of Neon 5.10.2 (listed at the end of my post).

Actually I have switched to Debian 9 (stretch) recently and found out that Spectacle does not work for me (the rectancular screenshot take) here either. However in this cause I get at least the bubble with instructions, but I cannot select anything with my mouse (clicking is ignored). The only way out is that I switch to other application e.g. via Alt-Tab. Here it is Plasma 5.8.6 and Spectacle 16.08.3.

It may be problematic my desktop resolution as I have three monitors setup (laptop's display (1920x1080), one 4K pivot (2160x3840) external monitor and one Ultra-wide (3440x1440); put in left to right order) totally making a virtual resolution of 7520 by 3840 pixels, of not rectangular area shape.

May this "extraordinary" setup be the cause of Spectacle not being able to capture the rectancular area ?
Comment 3 null 2018-01-28 23:08:26 UTC
For ruling out this is related to your multi-monitor setup, could you just test with your laptop's internal display and report back?

Next (maybe this is obvious, but better safe than sorry...), could you confirm that with "clicking is ignored" you specifically mean "press mouse button down, move the mouse both horizontally and vertically, release mouse button"? If not, we should improve the help text.

Also, could you please provide some info about your hardware (type of GPU and driver in use, mostly)?

Sorry for all those questions, but for me it's working fine ;)
Comment 4 Christoph Feck 2018-02-14 20:44:19 UTC
If you can provide the information requested in comment #3, please add it.
Comment 5 Christoph Feck 2018-03-01 01:02:25 UTC
To further investigate this issue, KDE developers need the information requested in comment #3. If you can provide it, or need help with finding that information, please add a comment.
Comment 6 Christoph Feck 2018-03-29 14:05:37 UTC
No response; changing status. If you have more information, please add a comment.
Comment 7 Ľudovít Lučenič 2018-10-20 05:02:25 UTC
Sorry for not responding quick enough.
I just checked that Spectacle works if used only with my primary display (laptop).
Yes, the mouse activities as described.

GPU
 1-nVidia GK104M [GeForce GTX 870M]
 2-Intel 4th Gen Core Processor Integrated Graphics Controller (driver i915)
nvidia-driver 384.130-1
spectacle 16.08.3 - Sorry For Any Inconvenience