diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-24 09:44:50 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-24 09:44:50 +0200 |
| commit | 7e14b275e5a9759f0877ef13b9ad338127bec728 (patch) | |
| tree | 89cb40b3558834c4d86175b77236db52067b698c | |
| parent | db144ea05a98051662b4d77a2a0dfd950d670295 (diff) | |
| download | quickshell-7e14b275e5a9759f0877ef13b9ad338127bec728.tar.gz quickshell-7e14b275e5a9759f0877ef13b9ad338127bec728.zip | |
docs: rewrap the tray menu notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| -rw-r--r-- | AGENTS.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -143,12 +143,12 @@ changing that component. The ones that generalise: dominfo <vm>` grepped for `Managed save: yes`, polled per VM the way the agent rows are. It measured 6ms. - **Tray menus need `//@ pragma UseQApplication`** at the top of the root QML - file. Without it `SystemTrayItem.display()` and `QsMenuAnchor.open()` only log a qCritical ("not - started in QApplication mode") and nothing opens. Pragmas are read at launch, + file. Without it `SystemTrayItem.display()` and `QsMenuAnchor.open()` only + log a qCritical ("not started in QApplication mode") and nothing opens. Pragmas are read at launch, before the first import, so adding or changing one needs a restart, not a hot reload. `desktop/shell.qml` carries it. - **A tray menu is a separate popup, and hovering it un-hovers the island.** - The pills lose the pointer, so the hide timer would close the island under + The pills lose the pointer and the hide timer would close the island under the open menu, so the island holds itself shown while one is open. `display()` reports no close, and holding until the pointer returned left the island stuck open after a menu's Quit, with the pointer on the menu. |
