<?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>463417</bug_id>
          
          <creation_ts>2022-12-24 06:04:45 +0000</creation_ts>
          <short_desc>Capture Rectangular Region works differently now</short_desc>
          <delta_ts>2023-01-12 20:50:37 +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>22.12.0</version>
          <rep_platform>Manjaro</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></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aaron Miller">kdeaaron</reporter>
          <assigned_to name="Boudhayan Gupta">me</assigned_to>
          <cc>bharadwaj.raju777</cc>
    
    <cc>kde</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/spectacle/commit/e52fd311a7e074dd14a795e99478630ae1bd10bb</cf_commitlink>
          <cf_versionfixedin>22.12.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2188871</commentid>
    <comment_count>0</comment_count>
    <who name="Aaron Miller">kdeaaron</who>
    <bug_when>2022-12-24 06:04:45 +0000</bug_when>
    <thetext>SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Bind a keyboard binding to Spectacle&apos;s &quot;Capture Rectangular Region&quot; action (I used Meta-$).
2. Invoke the keyboard binding.

OBSERVED RESULT

Spectacle shows a rectangle at a seemingly arbitrary size and location on the screen. You have to drag and resize it then press Enter to take a screeenshot of that region of the screen.

EXPECTED RESULT

You left click and drag to start one corner of the rectangle, and the opposite corner is determined by where you release the drag. This was the old behavior. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux
(available in About System)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
The old behavior is very similar to what happens on macOS, which is why I prefer it to work the same way, because I need to switch between macOS and Linux on a regular basis.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2193820</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-01-06 19:51:49 +0000</bug_when>
    <thetext>In the 22.12 release, we changed the default settings to remember the last-used rectangular region by default. What&apos;s the the existing bug white rectangle is.

If you preferred the old change, you can go back to it by showing Spectacle&apos;s settings window changing the value of &quot;Remember selected area&quot; to either &quot;Never&quot; or &quot;Until Spectacle is closed&quot;.

I didn&apos;t agree with this change, but a bunch of other people did, so I didn&apos;t try to veto it. For now I&apos;m closing this bug report since it was an intentional change. But if we get a lot more complaints, we can consider re-opening it and returning to the old behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2193824</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron Miller">kdeaaron</who>
    <bug_when>2023-01-06 20:00:00 +0000</bug_when>
    <thetext>Thank you, Nate! I was unaware there was a setting for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195933</commentid>
    <comment_count>3</comment_count>
    <who name="Bharadwaj Raju">bharadwaj.raju777</who>
    <bug_when>2023-01-11 17:12:47 +0000</bug_when>
    <thetext>&gt; You have to drag and resize it then press Enter to take a screeenshot of that region of the screen.

Note that you don&apos;t have to do this — you can, just like before, left click and drag anywhere to create a new region.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195934</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-01-11 17:14:47 +0000</bug_when>
    <thetext>You can&apos;t left-click and drag within the region selector box, since it&apos;s drags the region selector box. So this is only practical if the previous selection box was small or didn&apos;t overlay with the new region you want to select.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195972</commentid>
    <comment_count>5</comment_count>
    <who name="Bharadwaj Raju">bharadwaj.raju777</who>
    <bug_when>2023-01-11 18:40:53 +0000</bug_when>
    <thetext>Multiple complaints about this now. Maybe it is worth reverting the change until we come up with something better?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195975</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-01-11 18:45:50 +0000</bug_when>
    <thetext>I&apos;m in favor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195976</commentid>
    <comment_count>7</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-01-11 18:47:21 +0000</bug_when>
    <thetext>As mentioned in https://invent.kde.org/graphics/spectacle/-/merge_requests/156#note_534846, I still think &quot;remember until Spectacle is closed&quot; is the best default setting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195977</commentid>
    <comment_count>8</comment_count>
    <who name="Bharadwaj Raju">bharadwaj.raju777</who>
    <bug_when>2023-01-11 18:56:04 +0000</bug_when>
    <thetext>https://invent.kde.org/graphics/spectacle/-/merge_requests/177</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196480</commentid>
    <comment_count>9</comment_count>
    <who name="Bharadwaj Raju">bharadwaj.raju777</who>
    <bug_when>2023-01-12 12:01:43 +0000</bug_when>
    <thetext>Git commit c9ca631b5d2f2237f538c00b19e9cee672a534a8 by Bharadwaj Raju.
Committed on 12/01/2023 at 12:01.
Pushed by bharadwaj-raju into branch &apos;master&apos;.

Make &quot;Until Spectacle is closed&quot; the default setting for remembering area

We got some complaints about the &quot;Always&quot; default. That made me reconsider the
whole thing, and now I realize taking repeated rectangular screenshots of the
same area is a rather more niche usecase than I first imagined.

This should be a better balance, and hopefully less confusing for users.

cc @ngraham 

M  +1    -1    src/Gui/SettingsDialog/spectacle.kcfg

https://invent.kde.org/graphics/spectacle/commit/c9ca631b5d2f2237f538c00b19e9cee672a534a8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2196481</commentid>
    <comment_count>10</comment_count>
    <who name="Bharadwaj Raju">bharadwaj.raju777</who>
    <bug_when>2023-01-12 12:02:13 +0000</bug_when>
    <thetext>Git commit e52fd311a7e074dd14a795e99478630ae1bd10bb by Bharadwaj Raju.
Committed on 12/01/2023 at 12:02.
Pushed by bharadwaj-raju into branch &apos;release/22.12&apos;.

Make &quot;Until Spectacle is closed&quot; the default setting for remembering area

We got some complaints about the &quot;Always&quot; default. That made me reconsider the
whole thing, and now I realize taking repeated rectangular screenshots of the
same area is a rather more niche usecase than I first imagined.

This should be a better balance, and hopefully less confusing for users.

cc @ngraham 


(cherry picked from commit c9ca631b5d2f2237f538c00b19e9cee672a534a8)

M  +1    -1    src/Gui/SettingsDialog/spectacle.kcfg

https://invent.kde.org/graphics/spectacle/commit/e52fd311a7e074dd14a795e99478630ae1bd10bb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>