RFR: 8319340: [Linux] Disabled windows should not allow window operations (minimize, resize, maximize, close)

Thiago Milczarek Sayao tsayao at openjdk.org
Thu Nov 2 19:20:24 UTC 2023


JavaFX on Linux is allowing disabled windows to be minimized.

Currently close does nothing as it should, maximize disappears (on MS Windows it's greyed out - it's a platform behavior difference) and minimize is being allowed.

Thins PR removes WM functions when window is disabled and restores it back when it's re-enabled.

-------------

Commit messages:
 - 8319340 - [Linux] Disabled windows should not allow window operations (minimize, resize, maximize, close)

Changes: https://git.openjdk.org/jfx/pull/1278/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1278&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319340
  Stats: 9 lines in 1 file changed: 9 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jfx/pull/1278.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1278/head:pull/1278

PR: https://git.openjdk.org/jfx/pull/1278


More information about the openjfx-dev mailing list