Summary: | Highlighter tool draws solid color instead of highlighting | ||
---|---|---|---|
Product: | [Applications] Spectacle | Reporter: | cwo <cwo.kde> |
Component: | General | Assignee: | Noah Davis <noahadvs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, nate |
Priority: | NOR | ||
Version: | 24.04.80 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/spectacle/-/commit/0c215c788e38b39b1126af14ab0c6b3187f15711 | Version Fixed In: | 24.05.1 |
Sentry Crash Report: |
Description
cwo
2024-06-04 16:27:13 UTC
Oof, looks like a major optimization that was made months before the release of 24.05 caused this. A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/374 Git commit dd2231b5b33cc8d124b68eeeacee19f20cc009b1 by Noah Davis. Committed on 05/06/2024 at 17:23. Pushed by ndavis into branch 'master'. AnnotationDocument: Fix highlighter tool not blending with base image Previously, the graphics were split into a base image and an annotations image. The change helped to improve CPU performance by not repainting the base image so much, but it messed up the highlighter effect. The highlighter needs to be blended with the base image in order to work correctly. Now the base image is blended into the annotations image in places where the highlighter is used. This will probably hurt performance somewhat, but it doesn't seem too bad so far. M +30 -1 src/Gui/Annotations/AnnotationDocument.cpp https://invent.kde.org/graphics/spectacle/-/commit/dd2231b5b33cc8d124b68eeeacee19f20cc009b1 Git commit 0c215c788e38b39b1126af14ab0c6b3187f15711 by Noah Davis. Committed on 05/06/2024 at 18:39. Pushed by ndavis into branch 'release/24.05'. AnnotationDocument: Fix highlighter tool not blending with base image Previously, the graphics were split into a base image and an annotations image. The change helped to improve CPU performance by not repainting the base image so much, but it messed up the highlighter effect. The highlighter needs to be blended with the base image in order to work correctly. Now the base image is blended into the annotations image in places where the highlighter is used. This will probably hurt performance somewhat, but it doesn't seem too bad so far. (cherry picked from commit dd2231b5b33cc8d124b68eeeacee19f20cc009b1) Co-authored-by: Noah Davis <noahadvs@gmail.com> M +30 -1 src/Gui/Annotations/AnnotationDocument.cpp https://invent.kde.org/graphics/spectacle/-/commit/0c215c788e38b39b1126af14ab0c6b3187f15711 |