This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to remove empty space when window capture with Spectacle

Tags: kde5.22, fedora, spectacle kde5.22, fedora, spectacle kde5.22, fedora, spectacle
(comma "," separated)
ulkra
Registered Member
Posts
2
Karma
0
I search for this everywhere and looks like no one has answer this yet:

Almost every day I need to use the capture active window feature from Spectacle, but right after that i have to edit it because it lefts an empty space around it (if it is not big as a full screen). I case you have not found this issue:

Image

Yes, that blank space is making a lot of trouble. Any way to disable it?

The distribution is which this was reproduce is Fedora 34 with Spectacle 21.04.1

Last edited by ulkra on Fri Oct 08, 2021 12:53 am, edited 1 time in total.
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
What distro, and which version of Spectacle do you use?
Which image editor/viewer is this?

I can't reproduce this myself, and haven't found any bug reports on this so far.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
ulkra
Registered Member
Posts
2
Karma
0
My distro is Fedora 34, Spectacle version is default in it (which is 21.04.1)

That is the MATE image viewer, but it doesn't matter, if i open the screnshot (of my Konsole in this case) with Pinta i can see the same space. It makes trouble when i have to take a lot of screenshots and i have to post them in a Libreoffice Writer document, the look smaller in it so i have to edit them.

Let me post this information in the post, but if it is a bug i guess there is nothing to do.

claydoh wrote:What distro, and which version of Spectacle do you use?
Which image editor/viewer is this?

I can't reproduce this myself, and haven't found any bug reports on this so far.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Can't reproduce this either, but then, I only make screenshots selecting the exact location with a Rectangular Region


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
jlittle
Registered Member
Posts
4
Karma
0
OS
I have Spectacle 20.12.3.

If I use capture mode "Window Under Cursor", I get the border. Note that gwenview doesn't show it unless you start a crop operation; firefox and chromium always show it. (These may be influenced by my dark theme, using qtcurve, as the border shows with a light border.) Disabling compositing for the screenshot had no effect on the result.

I put an example on imgur:
https://imgur.com/a/DKy1rgq
On the imgur web site the border doesn't show, but if I download it from there it's got the border.

If I use the "Active Window" mode, I don't get it, so this is a workaround for me.
hiteshshah
Registered Member
Posts
18
Karma
0
OS
ulkra wrote:...
Yes, that blank space is making a lot of trouble. Any way to disable it?
...

Assuming you're on X11, turn off compositing (Alt+Shift+F12), take the screenshot of "window under cursor", and then turn compositing back on again with the same keyboard shortcut.

Note that this extra space is a feature active only for "window under cursor" and not for whole screen capture or capture of a rectangular area.
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]