Bug 443060 - Feature request: sequential screenshots (configurable)
Summary: Feature request: sequential screenshots (configurable)
Status: REPORTED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 21.08.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-28 08:54 UTC by Edmund Laugasson
Modified: 2023-08-18 23:21 UTC (History)
5 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 Edmund Laugasson 2021-09-28 08:54:10 UTC
SUMMARY

E.g. I try to get screenshot from certain dialog or part of it, that will appear quickly into unpredictable place on screen. 

Then I would like to take even several screenshots but Spectacle keeps only one screenshot :( Also in case, where certain process is going on quite quickly that cannot be paused (e.g. installation) and I would like to take series of screenshots but I can't, as Spectacle keeps only one screenshot.

This should be configurable as some users may prefer current behavior, where only last screenshot is kept. But those, who would keep also previous screenshots, would have that opportunity.

STEPS TO REPRODUCE
1. Open Spectacle
2. Try to take several screenshots sequentially
3. Previous screenshots are not kept

OBSERVED RESULT
Previous screenshots are not kept.

EXPECTED RESULT
Previous screenshots are kept.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS (rolling release)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Example app: Shutter (https://shutter-project.org/)
In that FLOSS app importing image from clipboard is already implemented, could be copied as it is also free software.
Comment 1 Edmund Laugasson 2021-09-28 08:58:50 UTC
Sorry for quick copying but as editing is not possible to fix typos, then I need write new post.

ADDITIONAL INFORMATION
Example app: Shutter (https://shutter-project.org/)

This app has implemented the previous screenshots keeping feature.

As Shutter is also free and open-source software, then you can use their source code and don't need to write from scratch. In that way you can get features implemented quicker with less effort and use already reviewed code, that contains already less (if at all) bugs. This in turn can save time and efforts of hunting bugs, when to use already reviewed code. This is the power of free and open-source software.
Comment 2 Bug Janitor Service 2021-10-28 21:18:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/89
Comment 3 Antonio Prcela 2021-10-29 16:30:06 UTC
Do you want that all those screenshots are temporary save inside spectacle but not on disk?
Comment 4 Edmund Laugasson 2021-10-31 00:57:32 UTC
> Do you want that all those screenshots are temporary save inside spectacle but not on disk?

This should be configurable, as some users may prefer either one or another behaviour. Also famous screenshot program Shutter offers it as configurable option. Also file format choice (with appropriate options like compacting level in case of PNG or quality in case of JPG, etc), used filenaming scheme, save mouse cursor or not, choice: browse folder every time | do not save automatically | save automatically, also default save folder, would be good to have available.
Comment 5 Antonio Prcela 2021-10-31 09:33:30 UTC
Okay. Well, is doable. Question tho, if we want to add that much options to Spectacle.
@ngraham @davidre
Comment 6 Nate Graham 2021-11-03 16:05:14 UTC
Having Spectacle internally store multiple screenshots in tabs or some other UI was previously rejected for being too complex to add to the already quite cluttered UI.

Can't you already pretty much get the behavior you want by pressing Meta+Shift+PrintScreen? You'll get a screenshot taken and autosaved to the default location, all without showing the main UI. You can do it many times in a row, too.
Comment 7 Edmund Laugasson 2021-11-03 20:16:57 UTC
> Can't you already pretty much get the behavior you want by pressing Meta+Shift+PrintScreen?

Assuming, that Meta is Super-key, this even worked. But it asks every time to draw me a rectangle on screen, what to save. I meant repeat last screenshot with previous settings in case on certain area quickly appearing, what I need to capture onto image and then I could continuously press certain shortcut key in order to catch that moment.

Also current behaviour is useful for certain situations, where I want to define the area in first place and then capture it.

This screenshot storing has not to be as tab immediately. These screenshots could be under certain button, that in turn could open additional pop-up to browse those screenshots if there are many of them already.

But as current UI has been chosen so, that it is like pop-up window and not regular application window, then yes - it is a bit challenging to achieve same UI with pop-up as with normal app window. I compared it with Shutter app window, where there is normal app window and not pop-up one. There is easy to have tabs but also in case of many screenshots it could be a bit challenging to scroll all these screenshots as each screenshot means one tab.

Luckily there will be not so many screenshots, that it would be too overwhelming to scroll these tabs. Also in case on Spectacle the current behavior is satisfactory to have screenshots in Pictures folder, or whatever else the echo $(xdg-user-dir PICTURES) output is (more information at man xdg-user-dir).

So, current choices are either use that pretty cool shortcut key META+SHIFT+PrintScreen (usually META is actually Super-key) or install Shutter (GTK app) and use it, where are tabs and rest of bells and whistles.
Comment 8 Antonio Prcela 2021-11-03 20:21:31 UTC
(In reply to Edmund Laugasson from comment #7)
> > Can't you already pretty much get the behavior you want by pressing Meta+Shift+PrintScreen?
> 
> Assuming, that Meta is Super-key, this even worked. But it asks every time
> to draw me a rectangle on screen, what to save. I meant repeat last
> screenshot with previous settings in case on certain area quickly appearing,
> what I need to capture onto image and then I could continuously press
> certain shortcut key in order to catch that moment.
> 

General settings - Remember selected are: Always
Then use META+Shift+Print
Comment 9 Bug Janitor Service 2021-11-18 04:38:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Edmund Laugasson 2021-11-18 22:53:29 UTC
I actually provided that additional information. Meta+SHIFT+PrintScreen is actually making screenshot of rectangular area and does not work automatically, but needs manual area selection beforehand.

I guess just plain PrintScreen, that invokes Spectacle, allows to also the same. When choosing settings and pressing PrintScreen again, while Spectacle is open, it takes already screenshot according chosen settings. Now we need just add ability to automatically save, while pressing PrintScreen. Actually that setting already exist in Spectacle, there is already possible to set, that screenshot will be saved automatically but not always.

Although I cannot see screenshots in Spectacle's UI, these can be seen in stored folder.

The only wish could be, that in case of selected rectangular area, this could be also automatically saved. Currently could not determine such setting. I noticed rectangular area settings in Spectacle, but such option was missing, like save automatically in case of rectangular area.  Hereby I propose to create such setting.

Other choices, than rectangular area already allow to capture screenshot without user intervention.
Comment 11 Antonio Prcela 2022-01-07 08:04:26 UTC
If you set:
While launching Spectacle: Use last-used capture mode
After taking a screenshot: (enable) Save file to default folder
Remember selected area: Always

you "only" have to press Print Key then Enter.

One thing we might add is:
Remember selected area: Always & save screenshot without confirmation
or something like that?
Comment 12 John B 2022-02-11 01:30:42 UTC
I'd like to request this feature as well; there are workarounds (of varying effectiveness), but it seems like something that could really benefit from just officially being supported.

For example, the comment before this suggests an interesting workaround that _almost_ does the trick, but not quite.  I want to capture a particular window with multiple sequential screenshots, but when I use this workaround the following happens:

1. I set the capture mode to "Active Window", activate the window, and hit PrtScr.  Spectacle successfully captures the window.
2. I press Return (after manually navigating the active button around to the "Save" button, which is a bit non-intuitive but perhaps not a deal-breaker) and Spectacle successfully saves the screenshot.  So far, so good.
3. PLOT TWIST: When I saved the screenshot, Spectacle itself became the active window; when I hit PrtScr again, I get a picture of the Spectacle window.

My best thought for a UI to enable this while creating the smallest amount of new UI possible (I know we're in Apple mode here 'cause the window doesn't even have a proper Close/Quit button :P) is to add a checkbox below the current ones (below "Quit after manual Save or Copy" in my version) that says something like "Immediately save to default location on capture".

Although, I suppose at that point you've still got to deal with having Spectacle become the active window when you click in it or press PrtScr.

As an aside, I've created a feature request to capture a specific window by its properties; I definitely feel like this is a different issue that should also be addressed, but adding that functionality should solve for my particular use case.  Here's the link, in case anybody else is interested: https://bugs.kde.org/show_bug.cgi?id=449986
Comment 13 John B 2022-02-11 01:35:48 UTC
Just as I submitted the above comment I realized I needed to edit it.  Doh!

1. I've been going back and forth between this bug and the other one and forgot to take out the bit about automatic saving.  Having a checkbox right there in the main window might be a little more intuitive, but I did find that setting in the configuration dialogs.  So, thanks for that, talk about fast turnaround time!  :)

2. It occurs to me that "I definitely feel like this is a different issue that should also be addressed" is kinda ambiguously-worded.  What I meant was, I definitely feel like _this_ issue, bug #443060, stands on its own and should be addressed as such...while acknowledging that I _personally_ may not need this bug if the feature request from #449986 gets implemented.