<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>469371</bug_id>
          
          <creation_ts>2023-05-05 01:03:54 +0000</creation_ts>
          <short_desc>Easy &quot;rectangular highlight&quot; annotation</short_desc>
          <delta_ts>2025-01-20 09:59:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>Spectacle</product>
          <component>General</component>
          <version>23.04.0</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jay Tuckey">jay</reporter>
          <assigned_to name="Noah Davis">noahadvs</assigned_to>
          <cc>edio</cc>
    
    <cc>kde</cc>
    
    <cc>kdebugs</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2228050</commentid>
    <comment_count>0</comment_count>
    <who name="Jay Tuckey">jay</who>
    <bug_when>2023-05-05 01:03:54 +0000</bug_when>
    <thetext>When taking screenshots I like to use the highlighter in rectangle mode to make markings - this used to be a feature in the previous version of spectacle but now is missing.

Overall the latest update is pretty nice, but seems to have lost a couple features. I&apos;ve also run into this issue:
https://bugs.kde.org/show_bug.cgi?id=468077

STEPS TO REPRODUCE
1. Take a screenshot
2. Click &quot;Show Annotation Tools&quot;
3. Select &quot;Highlighter&quot;. This tool used to be called &quot;Marker Pen&quot; and had three modes - &quot;Marker Pen&quot;, &quot;Marker Rectangle&quot;, and &quot;Marker Ellipse&quot;. 
4. These tools still exist in Gwenview if you use the &quot;Annotate&quot; button, but not in Spectacle.

OBSERVED RESULT
&quot;Marker Rectangle&quot;/&quot;Highlighter Rectangle&quot; is missing

EXPECTED RESULT
These tools should be there.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 5.19.0-41-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 20S6S01X00
System Version: ThinkPad T15 Gen 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2230986</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-05-16 20:29:15 +0000</bug_when>
    <thetext>You can draw a rectangle with a transparent color as a workaround. Not as easy, but it can be done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2230997</commentid>
    <comment_count>2</comment_count>
    <who name="Noah Davis">noahadvs</who>
    <bug_when>2023-05-16 21:04:39 +0000</bug_when>
    <thetext>It&apos;s worth noting that the highlight effect&apos;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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2234045</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-05-31 18:50:18 +0000</bug_when>
    <thetext>*** Bug 470317 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2390365</commentid>
    <comment_count>4</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-01-16 22:49:53 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/433</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2390366</commentid>
    <comment_count>5</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-01-16 22:49:54 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/433</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2390596</commentid>
    <comment_count>6</comment_count>
    <who name="Noah Davis">noahadvs</who>
    <bug_when>2025-01-17 16:23:48 +0000</bug_when>
    <thetext>Git commit f5434a1c25975aafcacffd7d6b58ef25ce8743a6 by Noah Davis.
Committed on 16/01/2025 at 22:48.
Pushed by ndavis into branch &apos;master&apos;.

Allow snapping Freehand and Highlighter tools to straight lines with Shift
Related: bug 498327

Doesn&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2390597</commentid>
    <comment_count>7</comment_count>
    <who name="Noah Davis">noahadvs</who>
    <bug_when>2025-01-17 16:23:50 +0000</bug_when>
    <thetext>Git commit d397e2abae710ec4cd00d8543e4779f982d524b1 by Noah Davis.
Committed on 16/01/2025 at 22:52.
Pushed by ndavis into branch &apos;master&apos;.

Use flat caps when snapping a 2 point highlighter line

We don&apos;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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>