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

            Bug ID: 467231
           Summary: After taking a screenshot from the command line with
                    `spectactle -bcr`, Spectactle does not exit
    Classification: Applications
           Product: Spectacle
           Version: git-master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: o...@geek.co.il
                CC: k...@david-redondo.de
  Target Milestone: ---

SUMMARY
Spectactle does not exit after taking a "background" region screenshot to the
clipboard from the command line.

STEPS TO REPRODUCE
1. In a terminal run `spectactle -bcr`
2. In the UI that opens select a region and press ENTER (or double click)

OBSERVED RESULT
The `spectacle` command in the terminal does not exit and remains running until
either the users enter s a break (CTRL+C) in the terminal, or the Spectactle
app is launched normally and then quit manually.

EXPECTED RESULT
The `spectacle` command in the terminal should end automatically sometime after
completing the copy operation - we can debate on when the operation is
"complete", but when using Plasma clipboard manager, the command can quit
immediately and the screenshot will still be available in the clipboard (I
tested by taking a screenshot, then immediately CTRL+C the command, then going
to another application and pasting the image).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: current neon unstable
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.10.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
The exit behavior caused by different combination of flags with `-b` is a bit
weird (and interesting):
- `-bcr` : does not automatically exit at any point.
- `-br` : exits immediately after completing the screenshot.
- `-bc` / `-b`: exists after the notification is dismissed (manually or by
timeout).

May be related to bug 463344.

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

Reply via email to