4 additional handles to VUI: Top, Bottom, Left, and Right

This patch will add 4 more handles to the VUI for filters such as

  • Size, Position and Rotate
  • Text: Simple
  • Text: Rich
  • Crop: Rectangle
  • Spot Remover
  • Gradient

in version 21.06.29 and later. It should work in 20.10.31 and later too, but certainly not in any previous versions.

OBS has those, Krita has those, and probably a lot more software do too, so the use should be intuitive.
It allows you to change one of the four lines without changing the properties of most of other lines.

Note that these 4 handles are invisible under Fill mode in Size, Position and Rotate filter.

For immediate tests and uses

  1. Go to your Shotcut installation location and find RectangleControl.qml
    It is located
    For Windows users:
    Program Files\Shotcut\share\shotcut\qml\modules\Shotcut\Controls
    I don’t know MacOS or Linux, but from what I can tell
    For MacOS users:
    Applications>Shotcut.app>Contents>Resources>shotcut>qml>modules>Shotcut>Controls
    For Linux users:
    Shotcut.app > share > shotcut > qml > modules > Shotcut >Controls

  2. Rename RectangleControl.qml to something like RectangleControl.qmlOriginal, so that there is a backup.

  3. Download the following file and paste it to the location above.
    RectangleControl.qml (27.7 KB)

  4. Launch Shotcut.

I have already opened a pull request on GitHub here.

I hope to see it merged to the next release 21.08.

I have been using this for a long time on my local installation, so there shouldn’t be an appearent bug with it.
It is basically copying Rectangle id:topLeftHandle four times, restricting x and y movements, and sticking them between topLeftHandle and topRightHandle.
The only downside I can think of this patch is that it becomes slightly difficult to grab the center handle. I think the upside outweighs the downside.

3 Likes

Installé sur version V20.09.27 (OSX)
Semble fonctionner à premiùre vue, à confirmer à l’usage.
Je suis déjà convaincu de son utilité.
Merci pour le partage

Installed on version V20.09.27 (OSX)
It seems to work at first sight, to be confirmed with use.
I am already convinced of its usefulness.
Thanks for sharing :+1: :clap:

1 Like

This is amazing! If this starts working for masking and chroma-keying, it would be a game changer!

1 Like

On version 21.05.18, it’s seems to work except for Size, Position and Rotate

This is normal, in fill mode, the ratio is kept.
It works for me in distord mode

Capture d’écran 2021-08-10 à 19.45.29

1 Like