https://bugs.winehq.org/show_bug.cgi?id=57538
Bug ID: 57538 Summary: Systray icons don't clean their former background and look sloppy Product: Wine Version: 10.0-rc2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: aros@gmx.com Distribution: ---
Created attachment 77605 --> https://bugs.winehq.org/attachment.cgi?id=77605 WinRAR systray icon
I'm quite sure the bug already exists but I cannot find it. It's extremely old, I've had it for as long as I remember myself.
Environment: Fedora 41, XFCE, DPI=120.
To explain it:
E.g. put WinRAR into background or simply run WinAMP (with the systray icon enabled).
The resulting icons will keep pieces of the previous background from a native Linux application that was running before them, in my case it's nm-applet.
The issue does not affect native Linux applications.
It looks like Wine doesn't do something that native X11 applications do. Fill it first with #000000? I don't know.
Check the attached screenshot.
https://bugs.winehq.org/show_bug.cgi?id=57538
--- Comment #1 from Artem S. Tashkinov aros@gmx.com --- Created attachment 77606 --> https://bugs.winehq.org/attachment.cgi?id=77606 WinAMP systray icon
https://bugs.winehq.org/show_bug.cgi?id=57538
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #2 from Artem S. Tashkinov aros@gmx.com --- RĂ©mi,
I wonder if you could hack a quick fix.
https://bugs.winehq.org/show_bug.cgi?id=57538
tenchrio@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tenchrio@gmail.com
--- Comment #3 from tenchrio@gmail.com --- Created attachment 77659 --> https://bugs.winehq.org/attachment.cgi?id=77659 Issue appears as said on XFCE
https://bugs.winehq.org/show_bug.cgi?id=57538
--- Comment #4 from tenchrio@gmail.com --- Created attachment 77660 --> https://bugs.winehq.org/attachment.cgi?id=77660 After applying Status Tray Items Settings
https://bugs.winehq.org/show_bug.cgi?id=57538
--- Comment #5 from tenchrio@gmail.com --- Issue does not occur in KDE and Gnome(both X11 and wayland for gnome).
While it does occur in XFCE the problem seems to stem from the XFCE Status Tray which doesn't respond to any refresh commands (I tried, using XSync, XFlush, and XClearWindow in the SystrayDockClear and even get_systray_visual_info functions, none had effect on the icon).
However in XFCE opening the Status Tray Items configuration and enabling "Adjust Size Automatically" solves the issue entirely even on repeat cases of sending the programs to systray.
https://bugs.winehq.org/show_bug.cgi?id=57538
--- Comment #6 from Artem S. Tashkinov aros@gmx.com --- (In reply to tenchrio from comment #5)
Issue does not occur in KDE and Gnome(both X11 and wayland for gnome).
While it does occur in XFCE the problem seems to stem from the XFCE Status Tray which doesn't respond to any refresh commands (I tried, using XSync, XFlush, and XClearWindow in the SystrayDockClear and even get_systray_visual_info functions, none had effect on the icon).
However in XFCE opening the Status Tray Items configuration and enabling "Adjust Size Automatically" solves the issue entirely even on repeat cases of sending the programs to systray.
Thanks a ton for your investigation. I've enabled "Adjust Size Automatically" but sadly it hasn't helped. The issue persists.
Using XFCE this way:
DPI: 106 Panel row size: 32 Status Tray Items -> Enable Square Items and Adjust size automatically. Everything else is disabled.
Maybe I should poke XFCE developers instead?
https://bugs.winehq.org/show_bug.cgi?id=57538
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://gitlab.xfce.org/xfc | |e/xfce4-panel/-/issues/879
https://bugs.winehq.org/show_bug.cgi?id=57538
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=57538
--- Comment #7 from Artem S. Tashkinov aros@gmx.com --- I've filed a bug report against XFCE:
https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/879
https://bugs.winehq.org/show_bug.cgi?id=57538
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX
--- Comment #8 from Artem S. Tashkinov aros@gmx.com --- Presumably it's an XFCE bug.