Skip to content

Drag/drop in data browser or display editor results in dead mouse on Linux #3132

Open
@kasemir

Description

There is a strange side effect of drag & drop on Linux.

  1. Create a new display or open existing display in editor.

  2. Drag & drop something by either dragging a new “label” from the widget palette into the editor pane, or by moving existing widgets around in the tree view. As a result, the editor will be “dirty”.

  3. Try to close the dirty editor. As expected, a dialog appears: “..has been modified. Save before closing?”.
    But the No/Yes/Cancel buttons in the dialog do not react to mouse clicks, at least not on RHEL 9.4.
    When running RHEL 8.7 via a Thinlinc remove desktop, nothing in the desktop reacts to the mouse.
    It is possible to use cursor keys, escape/spare/enter to interact with the dialog, but the mouse is mostly dead.

There is no problem when using drag&drop, then saving via File/Save or Ctrl-S.
There’s also no problem when dragging a PV into the data browser. The “Add PV” dialog triggered by the PV drop functions fine.

The problem appears only when using drag&drop in the display editor, then trying to close the dirty editor right away, on Linux.
Tried JFX 20.0.2+3, 21.0.3+2, 22.0.2 and 24-ea+5, same problem.
With 20.0.2, both -Djdk.gtk.version=2 and 3 exhibit the same problem.

No problem on Mac OS, don't know about Windows.

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