Bug 509545 - "Smart Eraser" functionality (set fill color of rectangle based on color of first pixel clicked to drag it the rectangle, with no shadow/outline/etc)
Summary: "Smart Eraser" functionality (set fill color of rectangle based on color of f...
Status: CONFIRMED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-16 02:02 UTC by eps
Modified: 2025-09-17 16:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eps 2025-09-16 02:02:34 UTC
"Smart Eraser"  functionality in Spectacle

Hello, I would like to request the addition of a "Smart Eraser" to Spectacle. 

Directly inspired by the Smart Eraser in Windows exclusive tool ShareX, which is functionality I have sorely been missing. 

Functionality wise, it would function identically to the existing "Rectangle" tool, however this rectangle would have no Stroke, no Shadow, and the Fill color would be sampled at the cursor position when the user starts drawing the rectangle.
Comment 1 Nate Graham 2025-09-16 22:04:44 UTC
Not being familiar with ShareX, can you go into a bit mor
Comment 2 Nate Graham 2025-09-16 22:05:15 UTC
…a bit more detail about what this would do? I'm having trouble understanding the existing description you wrote, sorry.
Comment 3 eps 2025-09-16 22:11:31 UTC
(In reply to Nate Graham from comment #2)
> …a bit more detail about what this would do? I'm having trouble
> understanding the existing description you wrote, sorry.

Hello, of course I'd be happy to elaborate. The utility of a smart eraser is to more subtly obfuscate or remove things from a screenshot, effectively identical to just covering it up with a rectangle. The main difference being that instead of the user having to go through the process of manually picking out the color to fit the image, the RGBA values would be sampled at the moment the user begins holding the left mouse button, after which the user is free to shape the rectangle however they see fit.

Please do not hesitate to inquire further if you require me to elaborate further.
Thank you!
Comment 4 Nate Graham 2025-09-17 14:39:37 UTC
Very interesting, thanks.
Comment 5 eps 2025-09-17 15:04:52 UTC
(In reply to Nate Graham from comment #4)
> Very interesting, thanks.

Hi again Nate. You are welcome. However seeing you, or perhaps someone else, have modified the title, I feel obligated to point out that the rectangle in question should have no border/outline/stroke. Thank you!