Bug report #20940
Layout: Horizontal and vertical arrows cannot be selected using single click
|Affected QGIS version:||3.2||Regression?:||No|
|Operating System:||Windows 7||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||28759|
When the "Select/Move item" tool is active, unlocked layout items can be selected by clicking once within an item's bounding box. Arrows that run exactly horizontally (vertically) have a bounding box of zero height (width) and cannot be selected using a single click.
Interestingly, double-clicking such an arrow does select the arrow, but this requires very precise aim.
Instead of using the bounding box as the selection target, it would be more intuitive to use the visible pixels of the arrow, possibly using a small buffer (this seems to be what Inkscape does).
[layouts] Use polyline shape instead of bounding box for selection, makes polylines selectable via single click