https://bugs.kde.org/show_bug.cgi?id=449986

            Bug ID: 449986
           Summary: New capture mode: Window by properties
           Product: Spectacle
           Version: 19.12.3
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: john+kde_...@daaave.org
                CC: k...@david-redondo.de
  Target Milestone: ---

Created attachment 146566
  --> https://bugs.kde.org/attachment.cgi?id=146566&action=edit
Hall of mirrors effect when spamming the PrtScr button

It would be nice to be able to screenshot a specific window by its properties,
so that you can target a particular window even if it's not active or under the
cursor.

One particular use case that would benefit from this is taking rapid,
sequential screenshots as described in
https://bugs.kde.org/show_bug.cgi?id=443060

I'm not sure what the best UI/workflow for this would be, but I'm envisioning
something like:

1. Select "Window (by properties)" from the "Area" drop-down.
2. When you select that option, a picker like the one you get in the "Window
Rules" part of System Settings when you click "Detect Window Properties" shows
up and you click the window you want.
3. A dialog (again, similar to what you get when setting up window rules in
System Settings) comes up that lets you pick which properties you want to apply
to the filter.
4. When you click "Take a New Screenshot", Spectacle will screenshot the first
window it finds that matches the properties.
5. The window properties will be saved for subsequent screenshots, using the
same logic Spectacle currently uses to save the rectangular region information.

There seems to be some reference to this at the end of the comment history for
https://bugs.kde.org/show_bug.cgi?id=411290 but I'm not sure enough to call
this a duplicate (plus, that bug's main focus is something else anyway).

In other news, I just discovered the "Autosave the image to the default
location" setting, but even with that enabled I can't just set "Active Window"
and spam the PrtScr button 'cause as soon as I press it, Spectacle raises
itself and then starts taking screenshots of itself instead.

On a side note, I've included a screenshot (taken by Spectacle) that shows what
happens when you do this with a delay configured, for the amusement of the
peanut gallery.  Although, you can also see the effect of having a little bit
more transparent border added on each pass.  I did rename the file because the
fractal filenames were getting a little out of control (you'll see what I mean
along the bottom).  I'm honestly not sure if this is a bug or just Spectacle's
doing what it's told and my not expecting the result I got from the
instructions I gave.  :)

SOFTWARE/OS VERSIONS

OS Version: Kubuntu 20.04 (all packages are the stock versions that come with
this Kubuntu release)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to