Skip to content

Selection invalidation on mouse drag PATCH #453

Closed

Description

@neri-engineering

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.

Activity

  1. adam-urbanczyk commented on Oct 3, 2024

    @adam-urbanczyk
    Member

    You are right! I did not notice before, but now it is quite annoying.

  2. neri-engineering commented on Oct 3, 2024

    @neri-engineering
    Author

    Thanks for the confirmation. I'm motivated to start my "winter projects".

  3. adam-urbanczyk commented on Oct 10, 2024

    @adam-urbanczyk
    Member

    I added a fix to #452 , so stay tuned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions