hiddentray

command
v1.17.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2026 License: BSD-3-Clause Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL