| Summary: | Easy "rectangular highlight" annotation | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | Jay Tuckey <jay> |
| Component: | General | Assignee: | Noah Davis <noahadvs> |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | edio, kde, kdebugs, nate |
| Priority: | NOR | ||
| Version First Reported In: | 23.04.0 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jay Tuckey
2023-05-05 01:03:54 UTC
You can draw a rectangle with a transparent color as a workaround. Not as easy, but it can be done. It's worth noting that the highlight effect's rendering is different from painting a semi-transparent object over something else. It uses QPainter::CompositionMode_Darken (the darker of the source and destination colors is selected). *** Bug 470317 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/433 A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/433 Git commit f5434a1c25975aafcacffd7d6b58ef25ce8743a6 by Noah Davis. Committed on 16/01/2025 at 22:48. Pushed by ndavis into branch 'master'. Allow snapping Freehand and Highlighter tools to straight lines with Shift Related: bug 498327 Doesn't fix the lack of a true rectangle highlighter, but should make it easier to highlight rectangular areas when combined with increasing the stroke size. M +14 -5 src/Gui/Annotations/AnnotationDocument.cpp M +1 -1 src/Gui/Annotations/AnnotationDocument.h M +1 -1 src/Gui/Annotations/AnnotationViewport.cpp https://invent.kde.org/graphics/spectacle/-/commit/f5434a1c25975aafcacffd7d6b58ef25ce8743a6 Git commit d397e2abae710ec4cd00d8543e4779f982d524b1 by Noah Davis. Committed on 16/01/2025 at 22:52. Pushed by ndavis into branch 'master'. Use flat caps when snapping a 2 point highlighter line We don't flatten/sharpen the caps and joins of highlighter lines with multiple points because they would look terrible. M +7 -1 src/Gui/Annotations/AnnotationDocument.cpp https://invent.kde.org/graphics/spectacle/-/commit/d397e2abae710ec4cd00d8543e4779f982d524b1 |