[Linux with Wayland] Application crashes on NativeWindow::maximize()
without connected screen
#3505
Labels
NativeWindow::maximize()
without connected screen
#3505
Problem Description
NativeWindow::maximize()
call without connected screen cause application crash for Linux with Wayland window manager.If AIR application for any reason will be launched without connected display (autoupdate in inactivity state or launch as a service/watchdog for example) - you will get this issue.
Tested with multiple AIR 51 versions, even with latest AIR 51.1.1.5 with multiple different Linux x86_64 devices, different OS versions and different applications.
Tested with multiple Ubuntu x86_64 22.04.4 LTS and Ubuntu x86_64 24.04.1 LTS devices with Wayland window manager.
Same issue in all cases.
There is no such issue with X11 window manager (but there is another issue #3498).
There is no such issue with other platforms.
There is no such issue with non-AIR applications.
Related issues:
#3498
#3481
#3328
#3239
#3066
#2534
#2497
#2241
#1669
#1425
#1123
#365
airsdk/Adobe-Scout#6
Steps to Reproduce
Notice: you must use Linux x86_64 physical device with Wayland window manager (not X11!) with connected display (monitor). Better to use Ubuntu 24.04 with Wayland window manager.
sleep
delay via Terminal.You should start command execution and immediately go to the next step:
sleep 10 && ./linux_wayland_nativewindow_maximize_wo_display_crash
Application sample with sources and crash log attached.
linux_wayland_nativewindow_maximize_wo_display_crash.zip
Actual Result:
Application crash.
Sometimes (not always) you can see Scout session started but it will be "empty" cause it will be stopped immidiately.
Expected Result:
Application works without crashes.
Known Workarounds
none
*do not call
NativeWindow::maximize()
without connected displayThe text was updated successfully, but these errors were encountered: