RFR: 8332222: Linux Debian: Maximized stage shrinks when opening another stage [v5]

Jose Pereda jpereda at openjdk.org
Mon Jul 29 16:29:37 UTC 2024


On Mon, 29 Jul 2024 14:29:17 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

>> Specific to KDE, in the case of the example provided, when an MODAL window pops, it calls `set_enabled` `false` on the child (or all other windows if APPLICATION_MODAL) which causes it to update the window constraints. When maximized, the constraints where applied anyways, causing the window to still be maximized but not show as maximized. The change is to not apply constraints when not floating (meaning floating on the screen - not maximized, fullscreen or iconified).
>> 
>> It's not specific to DEBIAN, it depends on the window manager (kwin is affected).
>
> Thiago Milczarek Sayao has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Revert idea file
>  - Fix only the original bug

I tested the patch on Debian 12 KDE plasma, and it fixes the issue (fails as described in JDK-8332222 before applying the patch, works after applying it).
I've also tested it on Ubuntu 24.04, where there is no issue, and the test works the same before and after this patch.

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

Marked as reviewed by jpereda (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1460#pullrequestreview-2205441542


More information about the openjfx-dev mailing list