Giter Club home page Giter Club logo

Comments (3)

russellbanks avatar russellbanks commented on June 4, 2024

This issue still seems to be present on native, decorated windows:

NVIDIA_Share_eQ1a7FC7Xy

Edit: a second window does not need to have been opened for this issue to be present, unlike the original post.

from aurora.

kirill-grouchnikov avatar kirill-grouchnikov commented on June 4, 2024

I think I know why this is happening - in non-undecorated mode the window is using OS-provided title bar. So when you move the window by grabbing that title bar, right now Aurora doesn't get notified in its window-level AWT listener, and the popups like menus, combos etc don't get dismissed.

from aurora.

kirill-grouchnikov avatar kirill-grouchnikov commented on June 4, 2024

Ugh, this is not going to be easy to fix.

Over here this is how Swing's popup menu registers itself to get notified on window ungrabbing. Note that it's using internal, undocumented and inaccessible event mask. Then over here it gets notified that the window has been ungrabbed so that it can hide itself. Again, internal and inaccessible event class. And there's also these APIs to grab / ungrab windows to have the whole process rolling.

None of which can be used, especially now that the JDK is heavily restricting access to such internal APIs.

from aurora.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.