-
Bug
-
Resolution: Unresolved
-
P3
-
jfx19
-
x86_64
-
linux
ADDITIONAL SYSTEM INFORMATION :
Linux
A DESCRIPTION OF THE PROBLEM :
Regression observed when updating from JavaFX8 on linux in glass_window.cpp, for undecorated windows
This is seen when processing events through the process_configure function
Previous (expected) behaviour:
- Window manager sends an event to update the window dimensions
- Both scene AND window reflect the new dimensions
Current behaviour:
- Window manager sends an event to update the window dimensions
- Only the scene reflects the new dimensions
This results in any query of the window width/height being possibly incorrect
The regression seems to be introduced here:
https://github.com/openjdk/jfx/commit/9d7eaef97403cdd3b306259e7dbeda2327f16add
line 985 and 986
As the geometry.current_width and geometry.current_height are the ones sent to the jWindowNotifyResize below, these are no longer being set when the window is undecorated
REGRESSION : Last worked in version 8u351
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Have an event sent to the glass window that updates the window dimensions
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Window and scene dimensions reflect the new information
ACTUAL -
Only the scene dimensions are updated
CUSTOMER SUBMITTED WORKAROUND :
In our code, we must only rely on the scene width and height for calculations
Linux
A DESCRIPTION OF THE PROBLEM :
Regression observed when updating from JavaFX8 on linux in glass_window.cpp, for undecorated windows
This is seen when processing events through the process_configure function
Previous (expected) behaviour:
- Window manager sends an event to update the window dimensions
- Both scene AND window reflect the new dimensions
Current behaviour:
- Window manager sends an event to update the window dimensions
- Only the scene reflects the new dimensions
This results in any query of the window width/height being possibly incorrect
The regression seems to be introduced here:
https://github.com/openjdk/jfx/commit/9d7eaef97403cdd3b306259e7dbeda2327f16add
line 985 and 986
As the geometry.current_width and geometry.current_height are the ones sent to the jWindowNotifyResize below, these are no longer being set when the window is undecorated
REGRESSION : Last worked in version 8u351
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Have an event sent to the glass window that updates the window dimensions
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Window and scene dimensions reflect the new information
ACTUAL -
Only the scene dimensions are updated
CUSTOMER SUBMITTED WORKAROUND :
In our code, we must only rely on the scene width and height for calculations