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

            Bug ID: 516449
           Summary: OCR doesn't copy extracted text to clipboard when
                    image to clipboard is enabled
    Classification: Applications
           Product: Spectacle
      Version First 6.6.0
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 189911
  --> https://bugs.kde.org/attachment.cgi?id=189911&action=edit
Selecting the text

SUMMARY
The new OCR function in Spectacle has a UX problem when combined with the
setting to save image into clipboard after taking a screenshot. Both functions
attempt to save something and the image seems to win the race condition, not
only proceeding the text but straight up replacing it, leaving the clipboard
with ONLY the image of the text that was supposed to be extracted. I've also
enabled the "Close after extraction" setting that is supposed completely
override the saving process of the image itself, including the clipboard, which
clearly doesn't happen. I've provided some relevant screenshots to showcase the
problem.

STEPS TO REPRODUCE
1.  Enable saving image to clipboard after taking screenshot and close after
extraction settings. 
(Screenshot with relevant settings highlighted is provided as attachment.)
2.  Select a rectangle region and attempt to use the "Extract Text" function.

OBSERVED RESULT
Image gets copied to clipboard instead of the text.

EXPECTED RESULT
Image shouldn't get copied, instead the text should.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: Arch Linux 
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.19.3-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor 1: Intel® UHD Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU

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

Reply via email to