Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

[Linux] Out of fullscreen cause GLib-CRITICAL errors in console

Open itlancer opened this issue 1 year ago • 0 comments

Problem Description

Out of fullscreen cause GLib-CRITICAL errors in console for Linux. Seems the same issue when you switch between windows in OS while AIR app running. Similar to https://stackoverflow.com/questions/23199699/glib-critical-source-id-xxx-was-not-found-when-attempting-to-remove-it

Maybe this error log doesn't affect anything. But our clients ask about this errors and it could trigger monitoring/healthcheck services in corporate clients.

Tested with multiple AIR versions, even with latest AIR 51.0.1.3 with multiple different Linux x86_64 devices with different applications. With VM and real devices. Same issue in all cases.

Related issues: https://github.com/airsdk/Adobe-Runtime-Support/issues/3239 https://github.com/airsdk/Adobe-Runtime-Support/issues/3203 https://github.com/airsdk/Adobe-Runtime-Support/issues/2549 https://github.com/airsdk/Adobe-Runtime-Support/issues/2548 https://github.com/airsdk/Adobe-Runtime-Support/issues/1840 https://github.com/airsdk/Adobe-Runtime-Support/issues/461

Steps to Reproduce

Launch application with code below from Terminal (console) and press Escape key to out of fullscreen.

Application example with sources attached. linux_out_of_fullscreen_error.zip

package {
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.display.StageDisplayState;
	
	public class LinuxOutOfFullscreenError extends Sprite {
		
		public function LinuxOutOfFullscreenError() {
			addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event):void {
			removeEventListener(Event.ADDED_TO_STAGE, init);
			
			stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
		}
		
	}
}

Actual Result: In console you will see errors like:

GLib-CRITICAL **: 17:44:11.034: Source ID 369 was not found when attempting to remove it

Expected Result: In errors in console.

Known Workarounds

none

itlancer avatar Jun 27 '24 11:06 itlancer