Skip to content

Not possible to remove an object while context menu is opened in the node graph #3559

@rvliq

Description

@rvliq

Description:
If open the context menu in the node graph view and then close the node graph view, then it is not possible to remove objects in the graphics area.
Curiously enough, if open node graph view again, the context menu is still opened. Is it intended behavior? Or will it be better to close the context menu when user closes the node graph view?

Environment:
The bug is happening in the desktop version of Graphite app (commit 9f25c50) on MS Windows 11 Home (v10.0.26200).

Steps to reproduce:

  1. Start the desktop of Graphite.
  2. Create new document.
  3. In the document, draw a rectangle.
  4. Open the node graph view.
  5. Right click in the node graph to open the context menu.
  6. Close the node graph view without closing the context menu.
  7. Select the rectangle in the graphics area and try to remove it by pressing the Del key.

Expected: the rectangle is removed
Actual: the rectangle is not removed

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