Operating system: Linux-5.4.0-81-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: GeForce 9800 GT/PCIe/SSE2 NVIDIA Corporation 3.3.0 NVIDIA 340.108
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-08-18 20:22, hash: rBa217e043be2d
Short description of error (EDIT: issue clarifications from discussion below added for clarity)
If a strip has a handle selected, it means its body cannot be in a selected state (an impossible state, given any handle select will functionally deselect the body, even if not shown visually on the strip). Therefore the body of a strip with a handle selected should not be flagged as selected (i.e. grabbable).
We can see it's obvious that handle select != body select, and cannot be (body movement would override handle movement).
Given all this, really a mouse press on a strip just needs to check if the region under the cursor is already truly selected, before activating a grab - and not mistake a selected handle for a selected strip.
Exact steps for others to reproduce the error
See following GIF:
- Select one or both edges of a strip
- Press/hold on the middle of the same strip
- Selection of edge(s) will not clear, it will act as if the edge/edges were grabbed instead of the middle