CQ-editor icon indicating copy to clipboard operation
CQ-editor copied to clipboard

Selection invalidation on mouse drag PATCH

Open neri-engineering opened this issue 1 year ago • 3 comments

I have a very simple proposed change for cq-editor.

Here is the hypothetical scenario.

I open up cq-editor with some object that takes up the center of the viewing area, hit F5 to make it visible. Next, I left-click the mouse from the bottom left corner of the viewing area, which is a space filled with void. I then drag the mouse up and to the right, and the object rotates as expected. Lastly I let go of the left mouse button ('release') when the mouse cursor is DIRECTLY OVER my part. This causes the part to be selected.

I find this selecting behavior to be annoying. I implemented a fix which only selects the object if the mouse didn't move a whole lot during the mouse drag operation.

Patch file link: https://sourceforge.net/p/nl10/code/HEAD/tree/patches/cq-editor/select-invalidation-on-drag.patch

Please note, this bug tracker WILL NOT allow me to upload a PATCH file, even though its claim is that such an attachment IS SUPPORTED.

neri-engineering avatar Oct 02 '24 11:10 neri-engineering