[Git][wine/wine][master] explorer: Keep systray visible with taskbar enabled.

"Alexandre Julliard (@julliard) via Wine-commits" <[email protected]> Tue, 03 Feb 2026 15:55:28 -0600
Newsgroups gmane.comp.emulators.wine.cvs
Message-ID <[email protected]>
----==_mimepart_69826ed04b8dc_37bc84f9a24131565e
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit



Alexandre Julliard pushed to branch master at wine / wine


Commits:
c51911ee by Twaik Yont at 2026-02-03T21:30:40+01:00
explorer: Keep systray visible with taskbar enabled.

This is a follow-up to c31e65fd3bde71234668507a9e15780d567c0a51,
which introduced a clear separation between a standalone systray window (show_systray)
and the systray area embedded in the taskbar (enable_taskbar).

While the standalone systray is correctly disabled when the shell taskbar is enabled,
parts of the systray visibility logic still treated show_systray as a global on/off switch.
As a result, WM_DISPLAYCHANGE would hide the systray entirely when show_systray was false,
even though the taskbar (and its dedicated systray area) was enabled.
This caused the systray and its balloons to disappear permanently after a display mode change
in desktop=shell configurations.

Signed-off-by: Twaik Yont <[email protected]>

- - - - -


1 changed file:

- programs/explorer/systray.c


View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/c51911ee8b8b4ea6af8b3ef7cb7383e216d1a773

-- 
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/c51911ee8b8b4ea6af8b3ef7cb7383e216d1a773
You're receiving this email because of your account on gitlab.winehq.org.



----==_mimepart_69826ed04b8dc_37bc84f9a24131565e
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www=
.w3.org/TR/REC-html40/loose.dtd">
<html lang=3D"en" style=3D'--code-editor-font: var(--default-mono-font, "=
GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, =
Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospac=
e;'>
<head>
<meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Type">=

<title>
GitLab
</title>

<style data-premailer=3D"ignore" type=3D"text/css">
a { color: #1068bf; }
</style>


<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Ro=
boto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Colo=
r Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size=
: inherit;
}
</style>
</head>
<body style=3D'font-size: inherit; -webkit-text-shadow: rgba(255,255,255,=
.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont=
,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-ser=
if,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emo=
ji";'>
<div class=3D"content">

<h3 style=3D"margin-top: 20px; margin-bottom: 10px;">
Alexandre Julliard pushed to branch master at <a href=3D"https://gitlab.w=
inehq.org/wine/wine">wine / wine</a>
</h3>
<h4 style=3D"margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style=3D"font-weight: 600;"><a href=3D"https://gitlab.winehq.org/=
wine/wine/-/commit/c51911ee8b8b4ea6af8b3ef7cb7383e216d1a773">c51911ee</a>=
</strong>
<div>
<span> by Twaik Yont </span> <i> at 2026-02-03T21:30:40+01:00 </i>
</div>
<pre class=3D"commit-message" style=3D'white-space: pre-wrap; display: bl=
ock; font-size: 14px; color: #3a383f; position: relative; font-family: "G=
itLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation M=
ono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida co=
nsole", monospace; font-variant-ligatures: none; word-break: break-all; w=
ord-wrap: break-word; background-color: #fbfafd; border-radius: 2px; marg=
in: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>explorer: Keep syst=
ray visible with taskbar enabled.

This is a follow-up to c31e65fd3bde71234668507a9e15780d567c0a51,
which introduced a clear separation between a standalone systray window (=
show_systray)
and the systray area embedded in the taskbar (enable_taskbar).

While the standalone systray is correctly disabled when the shell taskbar=
 is enabled,
parts of the systray visibility logic still treated show_systray as a glo=
bal on/off switch.
As a result, WM_DISPLAYCHANGE would hide the systray entirely when show_s=
ystray was false,
even though the taskbar (and its dedicated systray area) was enabled.
This caused the systray and its balloons to disappear permanently after a=
 display mode change
in desktop=3Dshell configurations.

Signed-off-by: Twaik Yont &lt;[email protected]&gt;
</pre>
</li>
</ul>
<h4 style=3D"margin-top: 10px; margin-bottom: 10px;">
1 changed file:
</h4>
<ul>
<li class=3D"file-stats">
<a href=3D"https://gitlab.winehq.org/wine/wine/-/commit/c51911ee8b8b4ea6a=
f8b3ef7cb7383e216d1a773#440d99c5689f0a3ecb23ff968832377f5a87347d">
programs/explorer/systray.c
</a>
</li>
</ul>

</div>
<div class=3D"footer" style=3D"margin-top: 10px;">
<p style=3D"font-size: small; color: #626168;">
=E2=80=94
<br>
<a href=3D"https://gitlab.winehq.org/wine/wine/-/commit/c51911ee8b8b4ea6a=
f8b3ef7cb7383e216d1a773">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target=3D"_blan=
k" rel=3D"noopener noreferrer" href=3D"https://gitlab.winehq.org">gitlab.=
winehq.org</a>. <a href=3D"https://gitlab.winehq.org/-/profile/notificati=
ons" target=3D"_blank" rel=3D"noopener noreferrer" class=3D"mng-notif-lin=
k">Manage all notifications</a> =C2=B7 <a href=3D"https://gitlab.winehq.o=
rg/help" target=3D"_blank" rel=3D"noopener noreferrer" class=3D"help-link=
">Help</a>
<span style=3D"color: transparent; font-size: 0; display: none; overflow:=
 hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://gitlab.winehq.org/wine/wine/-/comm=
it/c51911ee8b8b4ea6af8b3ef7cb7383e216d1a773 at 1770155728
</span>
<script type=3D"application/ld+json">{"@context":"http://schema.org","@ty=
pe":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","u=
rl":"https://gitlab.winehq.org/wine/wine/-/commit/c51911ee8b8b4ea6af8b3ef=
7cb7383e216d1a773"}}</script>


</p>
</div>
</body>
</html>

----==_mimepart_69826ed04b8dc_37bc84f9a24131565e--