Documentation
¶
Overview ¶
Command hiddentray runs the reproduction of the issue "An app in the tray" (step 65.1, internal/issues HiddenTrayName) in a real app: it asks for its window to be minimized and reads IsMinimized, hides the window, changes the state that the tooltip of its SystemTray shows from a goroutine, waits for the tree to be built with it, prints the report's line and issues.DoneLine, and exits. The Linux display test (examples, TestDisplayAnAppInTheTrayBuildsWhileItsWindowIsHidden), the Wine test (TestWineAnAppInTheTrayBuildsWhileItsWindowIsHidden) and the emulator test (internal/androidtest, TestAndroidAnAppInTheTrayBuildsWhileItsWindowIsHidden) run it and read the line from its output and its log. It is a development example: it uses internal/issues.
Run it with: go run ./examples/dev/hiddentray
The report names the platform (the target platform, and on Linux the backend of GLUTTER_BACKEND) and whether it hides windows: yes on Linux, Windows and macOS, no on Android and iOS.