Bug 394947 - Provide keyboard shortcuts/navigation for moving and resizing the selection rectangle
Summary: Provide keyboard shortcuts/navigation for moving and resizing the selection r...
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 17.12.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-02 11:36 UTC by Unknown
Modified: 2018-07-30 10:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2018-06-02 11:36:50 UTC
want window 568x,567y.
coordinate is samples.

so, mouse drug rectangle.
move rectangle.
screenshot.
1. result: decrination +1px.
again,
2. result: this time -2px.

please change.
can do it?
spectable [can move rectangle from keyboard arrow.]
or move rectangle [only] from mouse drag. is bug?
Comment 1 null 2018-06-04 19:40:35 UTC
Thanks for your message, but please don't report multiple issues in a single bug in the future.

> result: this time -2px.
Sorry, I cannot reproduce that with Spectacle 18.04.

> move rectangle from keyboard arrow
I think that's a valid wish, let's make the bug about that. I'll adapt the title a bit.
Comment 2 Unknown 2018-06-05 13:30:30 UTC
> Thanks for your message, but please don't report multiple issues in a single
> bug in the future.

well, sorry.
we purge next send report.
 
> > result: this time -2px.
> Sorry, I cannot reproduce that with Spectacle 18.04.

ok, we now using kde-neon and spectacle-18.04.0.
none bug it. thunks.
 
> > move rectangle from keyboard arrow
> I think that's a valid wish, let's make the bug about that. I'll adapt the
> title a bit.

thunks!
Comment 3 Scott Harvey 2018-07-19 10:38:16 UTC
Git commit 48eacd1ba1495a9167dd9f9cd8097e86ae6ff6dd by Scott Harvey.
Committed on 19/07/2018 at 10:38.
Pushed by sharvey into branch 'Applications/18.08'.

Add arrow keys to move and resize selection rectangle

Summary:
Add arrow keys to move and resize selection rectangle.
{key Arrows} alone moves in large increment
{key Shift} + {key Arrows} moves in small (single pixel) increments
{key ALT} + {key Arrows} resize rectangle in large increment
{key ALT} + {key Shift} + {key Arrows} resize rectangle in small increment

Test Plan:
- Apply patch
 - Launch Spectacle; begin Rectangular Selection
 - Select a rectangle with the mouse
 - Use {key Arrows} to move rectangle (large increment)
 - Use {key Shift} + {key Arrows} to move in small increment
 - Use {key ALT} + {key Arrows} to resize rectangle (large increment
 - Use {key ALT} + {key Shift} + {key Arrows} to resize rectangle in small increment
 - Complete capture with mouse or {key Enter} key
 - Ensure right selection is captured after moving and resizing rectangle

Reviewers: rkflx, ngraham, #spectacle, yurchor

Reviewed By: rkflx, ngraham, #spectacle, yurchor

Subscribers: ltoscano, kde-doc-english, abalaji, #spectacle

Tags: #documentation

Differential Revision: https://phabricator.kde.org/D13450

M  +5    -2    doc/index.docbook
M  +202  -3    src/QuickEditor/EditorRoot.qml

https://commits.kde.org/spectacle/48eacd1ba1495a9167dd9f9cd8097e86ae6ff6dd
Comment 4 Unknown 2018-07-24 08:27:07 UTC
Thank you, we saw the log.
We think that it is very amazing that the proposal actually became a function.
People who shaped it are very wonderful.
we do not know how to apply the batch but we think we will investigate.
Comment 5 null 2018-07-24 17:54:40 UTC
You're welcome! Thanks to Scott for implementing the feature.

BTW, the change will be included in the next release, which will be Spectacle version 18.08 on August 16.
Comment 6 Unknown 2018-07-30 10:24:15 UTC
(In reply to Henrik Fehlauer from comment #5)
It is amazing!
If that update gets delivered it will be more convenient, thanks.