RFR: 8329821: [Linux] When using i3 WM, menus are incorrectly sized

Christopher Schnick duke at openjdk.org
Tue May 7 05:14:58 UTC 2024


On Sat, 6 Apr 2024 17:34:06 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

> Simple fix to only request `_NET_FRAME_EXTENTS` if window has decoration.
> 
> It seems i3 replies with decorated sizes, even if window is not decorated.
> 
> Won't hurt other WMs.

I can confirm on my system that this PR fixes the issues that I am seeing and some users reported. Here is a before and after comparison for context menus and tooltips:

![image](https://github.com/openjdk/jfx/assets/72509152/11f8a791-3777-4e52-b318-f994fe465d69)
![image](https://github.com/openjdk/jfx/assets/72509152/1553b2aa-e4da-45b2-a99b-6664270dbd54)

![image](https://github.com/openjdk/jfx/assets/72509152/066b685e-f591-4d21-bdff-ebe1ffdd2937)
![image](https://github.com/openjdk/jfx/assets/72509152/15151785-5e53-442d-a685-a99bea6a51e5)

The tests also pass for me (didn't build webkit though)

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

PR Comment: https://git.openjdk.org/jfx/pull/1437#issuecomment-2097459748


More information about the openjfx-dev mailing list