https://bugs.winehq.org/show_bug.cgi?id=49602
--- Comment #10 from Donovan donovan01@duck.com --- Today is 24 May 2022. Wine 7.7 staging this bug is still present.
Sumatra Pdf is a free opensource pdf reader for Windows. The bug is can be reproduced by downloading it here: "https://www.sumatrapdfreader.org/download-free-pdf-viewer" ,and launching it. I just have corefonts installed but the program will install and launch without them. The version is available as a portable version if installer bugs.
By default Sumatra Pdf has a option enabled called "use tabs" allowing you to view multiple pdfs in one window(like a browser has tabs). With this option left on the tilebar is "drawn" incorrectly by wine.
Disabling these tabs is a work around mentioned here to get the titlebar drawn correctly (Goto barely visible dropdown menu at top left of window, click settings > select options> under advanced, deselect "use tabs". Now restart).
I have attached My Terminal Logs with tabs enabled and with tabs disabled. I have provided screenshots depicting the issue and what the program looks like with the workaround.