I encountered an issue with the setFrameless function when trying to toggle the window frame on and off. Specifically, when a window is opened in frameless mode and I attempt to add the frame back using setFrameless(false), the frame does not appear on the first call. I need to disable and then re-enable the frame for it to be applied correctly.
To Reproduce
Open a window in frameless mode by calling setFrameless(true).
Attempt to add the frame back by calling setFrameless(false).
Observe that the window frame does not appear.
Expected behaviour
The window frame should be applied on the first call to setFrameless(false).
Description
I encountered an issue with the setFrameless function when trying to toggle the window frame on and off. Specifically, when a window is opened in frameless mode and I attempt to add the frame back using
setFrameless(false)
, the frame does not appear on the first call. I need to disable and then re-enable the frame for it to be applied correctly.To Reproduce
setFrameless(true)
.setFrameless(false)
.Expected behaviour
The window frame should be applied on the first call to
setFrameless(false)
.Screenshots
Attempted Fixes
No response
System Details
Additional context
No response