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

WebView Context-Menu incorrectly positioned in embedded Applet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 8u20
    • javafx
    • Java-Plug-in 11.20.2.26
      JRE-Version verwenden 1.8.0_20-b26 Java HotSpot(TM) Client VM

    • web

      I have a WebView inside an Applet embedded in a web-page.

      When i use a right-click to open the context menu it is originally positioned correctly.

      But if i move, scroll or zoom the browser window it seems the new position & zoom is completely ignored and the original position is still used internally to position the context-menu.

      Steps to reproduce:
      - Put a WebView into an Applet and open the Applet in a webpage.
      - Right click on the WebView to get a context-menu. Notice the correct positioning.

      - Move the outer browser window to a different position.
      - Right click on the WebView to get a context-menu. Notice the wrong positioning.

      - Scroll the outer website up or down a bit.
      - Right click on the WebView to get a context-menu. Notice the wrong positioning.

      - Zoom the outer browser window's content.
      - Right click on the WebView to get a context-menu. Notice the wrong positioning.


      I tried this only in a sandboxed applet, but i suspect that this happens with AllPermissions, too.

            Unassigned Unassigned
            fleitenbejfx Frederic Leitenberger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: