Tray hover expand
Open the hidden tray icons flyout on hover instead of clicking the chevron; optionally collapse it when the cursor leaves
Author: wygodad

Opens the hidden tray icons flyout (the "Show Hidden Icons" chevron) when you
hover the cursor over it, instead of having to click. Optionally collapses it
again once the cursor leaves the opened icons.
It works through UI Automation, so it does not hook internal shell functions —
it is relatively safe and resilient across Windows builds. It runs as a tool
mod in a dedicated process and does not inject into the shell.
How it differs from similar mods
- Taskbar tray icons hide on hover auto-hides the whole tray area and reveals
it on hover.
- Show all taskbar notification icons forces all hidden icons to always show.
- This mod keeps the standard Windows overflow flyout and simply opens it on
hover (and optionally closes it when you move away).
How the chevron is detected
Only tray elements are ever considered, so no taskbar application button can be
selected. Among those, detection goes:
- By class name, which is language-independent: the chevron's class name is
SystemTray.NormalButton and its AutomationId is SystemTrayIcon. Other
system buttons, such as the emoji panel, the touch keyboard and the input
indicator, can have the same pair when they are shown. So the pair is only
accepted when exactly one tray element has it and its name agrees with the
chevron's tooltip (step 2) or a keyword (step 3), or, when the mod could
not read or recognise that tooltip text, on its own. A single match with any
other name is one of those buttons while the chevron itself is not shown,
for example when no icon is hidden. Otherwise the mod moves on to the next
step. Notification icons share the class but use a different
AutomationId, and the clock, volume, network, battery and "show desktop"
buttons share the AutomationId but use other classes.
- By its tooltip text, whenever the pair above does not single out the
chevron. The mod reads that text from Windows itself, in your display
language, and uses it only when it contains one of the built-in keywords,
so it is certain to be the chevron's tooltip. This keeps working even when
the keyword list saved in your settings is outdated.
- By the keyword list, in case Windows stores that text differently on your
build. The list covers the most common display languages and can be
extended: if the chevron is not found, add part of its tooltip in your
language.
- Otherwise nothing happens. The mod does not guess, because invoking an
unidentified tray button would open whatever it happens to be.
Notes
- Windows 11 only. The class names this mod identifies the chevron by are
Windows 11 shell types, so on Windows 10 nothing is identified and the mod
does nothing.
- If the chevron is not identified, the mod logs every tray candidate it saw
(class name, AutomationId, position, name). That log is what to attach to a
bug report.
- Updating the mod does not change settings you have already saved. If you saved
settings before v1.7.0 and your language is missing, or before v1.7.2 and your
display language is French, delete every entry under "Chevron name keywords"
and save: an empty list restores the built-in one.
- Set "Hover delay" to a small value (e.g. 150 ms) if the flyout opens when you
only brush past the chevron on the way to the clock.
- If auto-collapse does not work, the flyout window class name may differ on your
build. Change it in the "Flyout window class" setting.
- Windows shows a tooltip for the chevron: "Show hidden icons" before the flyout
opens, which can appear ahead of it, and "Hide" once it is open, which can cover
the bottom row of icons. Enable "Hide the chevron tooltip" to suppress both.
- By default the flyout is not opened while the chevron's location is covered by
a fullscreen app (e.g. a fullscreen video or a game), so it can't pop up over
the content. It still opens whenever the taskbar itself is visible there, so an
auto-hidden taskbar works as usual once revealed. Turn off "Do not activate
over fullscreen apps" to always activate.
Opis po polsku
Otwiera schowek ukrytych ikon zasobnika (strzałkę „Pokaż ukryte ikony") po
najechaniu kursorem, bez konieczności klikania. Opcjonalnie zwija go z powrotem,
gdy kursor opuści otwarte ikony.
Mod działa przez UI Automation, więc nie hookuje wewnętrznych funkcji powłoki —
jest stosunkowo bezpieczny i odporny na zmiany między kompilacjami Windows.
Działa jako „tool mod" w osobnym procesie i nie wstrzykuje się do powłoki.
Czym różni się od podobnych modów
- Taskbar tray icons hide on hover automatycznie ukrywa cały obszar zasobnika
i odsłania go po najechaniu.
- Show all taskbar notification icons wymusza stałe wyświetlanie wszystkich
ukrytych ikon.
- Ten mod zachowuje standardowy schowek Windows i po prostu otwiera go po
najechaniu (a opcjonalnie zamyka po odjechaniu kursorem).
Jak wykrywana jest strzałka
Brane pod uwagę są wyłącznie elementy zasobnika, więc żaden przycisk aplikacji
z paska zadań nie może zostać wybrany. Wśród nich wykrywanie przebiega tak:
- Po nazwie klasy, niezależnie od języka: strzałka ma klasę
SystemTray.NormalButton i AutomationId SystemTrayIcon. Inne przyciski
systemowe, takie jak panel emoji, klawiatura dotykowa i wskaźnik
wprowadzania, mogą mieć tę samą parę, gdy są widoczne. Dlatego para jest
przyjmowana tylko wtedy, gdy ma ją dokładnie jeden element zasobnika, a jego
nazwa zgadza się z tekstem podpowiedzi strzałki (krok 2) albo ze słowem
kluczowym (krok 3), a gdy mod nie zdołał odczytać ani rozpoznać tego tekstu,
także bez tego sprawdzenia. Pojedyncze dopasowanie o innej nazwie to jeden z tych
przycisków w chwili, gdy samej strzałki nie ma, na przykład gdy żadna ikona
nie jest ukryta. W przeciwnym razie mod przechodzi do następnego kroku.
Ikony powiadomień mają tę samą klasę, ale inne
AutomationId, a zegar, głośność, sieć, bateria i „pokaż pulpit" mają to samo
AutomationId, ale inne klasy.
- Po tekście jej podpowiedzi, zawsze gdy powyższa para nie wskazuje
jednoznacznie strzałki. Mod odczytuje ten tekst z samego Windows, w Twoim
języku interfejsu, i używa go tylko wtedy, gdy zawiera któreś z wbudowanych
słów kluczowych, więc na pewno jest to podpowiedź strzałki. Działa to także
wtedy, gdy lista słów zapisana w Twoich ustawieniach jest nieaktualna.
- Po liście słów kluczowych, na wypadek gdyby Twoja kompilacja Windows
przechowywała ten tekst inaczej. Lista obejmuje najpopularniejsze języki i
można ją rozszerzyć: jeśli strzałka nie zostanie znaleziona, dopisz fragment
jej podpowiedzi w swoim języku.
- W przeciwnym razie nic się nie dzieje. Mod nie zgaduje, bo uruchomienie
nierozpoznanego przycisku zasobnika otworzyłoby cokolwiek, czym on jest.
Uwagi
- Tylko Windows 11. Nazwy klas, po których rozpoznawana jest strzałka, to typy
powłoki Windows 11, więc w Windows 10 nic nie zostanie rozpoznane i mod nie
robi nic.
- Gdy strzałka nie zostanie rozpoznana, mod zapisuje w logu wszystkich
kandydatów z zasobnika (nazwa klasy, AutomationId, pozycja, nazwa). To ten log
warto dołączyć do zgłoszenia błędu.
- Aktualizacja moda nie zmienia ustawień, które zostały już zapisane. Jeśli
zapisywałeś ustawienia przed wersją 1.7.0, a brakuje Twojego języka, albo
przed wersją 1.7.2, a Twój język interfejsu to francuski, usuń wszystkie
pozycje w polu „Słowa kluczowe nazwy strzałki" i zapisz: pusta lista
przywraca wbudowaną.
- Ustaw „Opóźnienie otwierania" na niewielką wartość (np. 150 ms), jeśli schowek
otwiera się przy samym przejeżdżaniu obok strzałki w drodze do zegara.
- Jeśli auto-zwijanie nie działa, nazwa klasy okna schowka może się różnić na
Twojej kompilacji systemu. Zmień ją w ustawieniu „Klasa okna schowka".
- Windows pokazuje dla strzałki podpowiedź: „Pokaż ukryte ikony" przed otwarciem
schowka, która potrafi wyprzedzić jego pojawienie się, oraz „Ukryj" po otwarciu,
która zasłania dolny rząd ikon. Włącz „Ukryj podpowiedź strzałki", aby wyłączyć
obie.
- Domyślnie schowek nie otwiera się, gdy miejsce strzałki jest zakryte przez
aplikację pełnoekranową (np. film na pełnym ekranie lub grę), więc nie wyskoczy
on na wierzchu treści. Otwiera się natomiast zawsze, gdy widoczny jest tam sam
pasek zadań, więc automatycznie ukrywany pasek po odsłonięciu działa normalnie.
Wyłącz „Nie aktywuj na aplikacjach pełnoekranowych", aby aktywować zawsze.