Bug 467590

Summary: Cannot crop screenshots from annotation view in main window anymore
Product: [Applications] Spectacle Reporter: Patrick Silva <bugseforuns>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: wishlist CC: andrej.programiranje, asloxx, ctron, dpbasti, eugene.savitsky, hexclover, ict, ihated2, jackhill3103, jay, jtamate, kde, kdebugs, kde_bugs, l.arvanitis, maelstrom256+bugs.kde.com, mail, natalie_clarius, nate, promike1987, putr4.s, rogelio.dominguez, sausagefactory0, trufanovan, u0sd2qpny
Priority: NOR Keywords: regression
Version: 23.03.80   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=430465
Latest Commit: Version Fixed In: 24.05

Description Patrick Silva 2023-03-20 00:17:58 UTC
STEPS TO REPRODUCE
1. open Spectacle 23.04 beta by pressing printscreen key
2. click on "Show annotation tools" button on top
3. 

OBSERVED RESULT
crop feature is no longer available

EXPECTED RESULT
we can crop the screenshot

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Graphics Platform: Wayland
Comment 1 Antonio Rojas 2023-05-15 09:16:45 UTC
*** Bug 469792 has been marked as a duplicate of this bug. ***
Comment 2 DarkThoughts 2023-05-28 22:08:19 UTC
Are you guys for real? Is it actually gone, or am I blind? Why would you remove one of the most crucial tools from it?!
Comment 3 Störm Poorun 2023-08-02 15:50:39 UTC
Just to make the clear case: ability to easily crop is a fundamental for most screenshot users, so this is a fairly significant regression.
Comment 4 Daniel 2023-08-03 00:00:47 UTC
Confirmed on Manjaro as well, was on version 23.04.3. I reverted back to 22.12.3 and the crop function is back. I then added it to IgnorePkg and won't update it until this is back, as it is a pretty crucial feature.
Comment 5 maelstrom256+bugs.kde.com 2023-08-10 08:46:38 UTC
Agreed, it was topmost used feature. Video recording is less usefull than it.
Repeating call for spectacle with area scrinshotin is not the same, it closes context menus and other, popups and blindly waste of time.
Comment 6 Patrick Silva 2023-10-14 13:54:53 UTC
*** Bug 475596 has been marked as a duplicate of this bug. ***
Comment 7 Alexander Trufanov 2023-10-31 15:08:13 UTC
Kubuntu 23.10. No crop feature anymore.
Workaround is downgrade:

cd /tmp
wget http://archive.ubuntu.com/ubuntu/pool/universe/k/kde-spectacle/kde-spectacle_22.12.3-0ubuntu1_amd64.deb
sudo dpkg -i kde-spectacle_22.12.3-0ubuntu1_amd64.deb
sudo apt-mark hold kde-spectacle
Comment 8 sausagefactory0 2023-11-12 21:48:34 UTC
On Fedora, crop is also missing. And it's a key feature for a screenshot tool.
Comment 9 Alex Sh 2023-12-07 10:02:33 UTC
We still need it!
Comment 10 Noah Davis 2023-12-12 14:00:36 UTC
*** Bug 478434 has been marked as a duplicate of this bug. ***
Comment 11 Sebastian Turzański 2024-03-18 09:52:04 UTC
it is still valid for plasma 6.0.2
Comment 12 Noah Davis 2024-04-05 20:20:26 UTC
Git commit a7920b810033f6f7657b333f8d87894cf3cc72be by Noah Davis.
Committed on 05/04/2024 at 20:01.
Pushed by ndavis into branch 'master'.

Add crop tool

You can now crop from the image viewer's annotations UI by clicking on the Crop tool button. The UI is like the rectangle capture UI.

M  +1    -0    src/CMakeLists.txt
A  +283  -0    src/Gui/Annotations/CropTool.qml     [License: LGPL(v2.0+)]
M  +24   -3    src/Gui/AnnotationsToolBarContents.qml
M  +22   -0    src/Gui/Handle.qml
M  +10   -1    src/Gui/ImageView.qml
M  +35   -0    src/Gui/ScreenshotView.qml

https://invent.kde.org/graphics/spectacle/-/commit/a7920b810033f6f7657b333f8d87894cf3cc72be