<?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>498327</bug_id>
          
          <creation_ts>2025-01-06 17:01:51 +0000</creation_ts>
          <short_desc>Highlighter : Add &quot;constrain to straight line&quot; hotkey</short_desc>
          <delta_ts>2025-01-17 20:25:38 +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>24.08.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>usability</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rory">rory.ashton</reporter>
          <assigned_to name="Noah Davis">noahadvs</assigned_to>
          <cc>kde</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/spectacle/-/commit/f5434a1c25975aafcacffd7d6b58ef25ce8743a6</cf_commitlink>
          <cf_versionfixedin>6.4.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2387225</commentid>
    <comment_count>0</comment_count>
    <who name="Rory">rory.ashton</who>
    <bug_when>2025-01-06 17:01:51 +0000</bug_when>
    <thetext>***
In Spectacle the Line and Arrow tool have a &apos;snap to straight line&apos; feature if you hold SHIFT while using them.  But this does not work for the Highlighter tool.  So it&apos;s hard to highlight a long string of text well.
***

SUMMARY
Making clean straight highlighter marks in Spectacle is not easy.  Adding CTRL straight line modifier can help.

STEPS TO REPRODUCE
1.  Take a screen shot
2.  Pick highlighter
3.  Holding SHIFT does not make the tool &apos;snap to&apos; a straight line

OBSERVED RESULT
Highlight mark is not straight

EXPECTED RESULT
Highlight tool &apos;snaps to&apos; straight line

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2387497</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-01-07 17:13:16 +0000</bug_when>
    <thetext>Agreed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2390364</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-01-16 22:49:52 +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>2390598</commentid>
    <comment_count>3</comment_count>
    <who name="Noah Davis">noahadvs</who>
    <bug_when>2025-01-17 16:23:56 +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 469371

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>
      
      

    </bug>

</bugzilla>