mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
210 stars 122 forks source link

Instrument view: Bounding box for an arbitrary shape drawn with a single point always begins in top left #30893

Open thomashampson opened 3 years ago

thomashampson commented 3 years ago

Expected behavior

When drawing an arbitrary shape in the "draw" or "pick" tab of the instrument view, the bounding box should be the minimum size required to enclose the entire shape.

Actual behavior

If only a single point is clicked when drawing a free shape, the bounding box extends to the top left of the instrument display. The bounding box will only fix itself if you click and drag, or click again to draw more points.

image

Steps to reproduce the behavior

Load a workspace and open the instrument view. Open the "pick" or "draw" tab and selected the "Draw an arbitrary shape" tool. Click in one location on the instrument display.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had activity in 6 months. It will be closed in 7 days if no further activity occurs. Allowing issues to close as stale helps us filter out issues which can wait for future development time. All issues closed by stale bot act like normal issues; they can be searched for, commented on or reopened at any point. If you'd like a closed stale issue to be considered, feel free to either re-open the issue directly or contact a developer. To extend the lifetime of an issue please comment below, it helps us see that this is still affecting you and you want it fixed in the near-future. Extending the lifetime of an issue may cause the development team to prioritise it over other issues, which may be closed as stale instead.

stale[bot] commented 3 years ago

This issue has been closed automatically. If this still affects you please re-open this issue with a comment or contact us so we can look into resolving it.

jclarkeSTFC commented 2 months ago

Still a problem in 6.10