Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8094402

Content panel sometimes ignores drag gesture on Mac

    XMLWordPrintable

Details

    Description

      1) Start SB
      2) Drop an AnchorPane
      3) Drop a Button in the AnchorPane and *keep the mouse immobile after the release*
      4) Press and maintain the mouse button (over the Button component just dropped)
          => cursor changes from default to "closed hand" : BUG (should stay as default)
          => focus is transferred to Library panel : BUG (should stay in content panel)
      5) Drag the button
          => the button does not move : BUG (it should move)

      I put a break point in mousePressed handler of Content panel.
      During step #4, this handler is not invoked : mouse pressed event
      seems to be caught by someone else (the library panel ?).

      I did the same test with Scene Builder Probe : it works fine.
      So the root cause seems to be in the App.

      This issue does not break anything.
      However it's pretty annoying and smelly.

      Attachments

        Issue Links

          Activity

            People

              eleponn Eric Le Ponner
              eleponn Eric Le Ponner
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: