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

WebView Context-Menu incorrectly positioned in embedded Applet

    Details

    • Type: Bug
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 8u20
    • Fix Version/s: tbd
    • Component/s: javafx
    • Environment:

      Java-Plug-in 11.20.2.26
      JRE-Version verwenden 1.8.0_20-b26 Java HotSpot(TM) Client VM

    • Subcomponent:
      web

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fleitenbejfx Frederic Leitenberger (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: