https://bugs.winehq.org/show_bug.cgi?id=44597
Bug ID: 44597 Summary: Window rendering completely breaks after interacting with the “Desktop Integration” section of winecfg with enabled GTK3 themeing Product: Wine-staging Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: alexander-winehq@xmine128.tk CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
Created attachment 60584 --> https://bugs.winehq.org/attachment.cgi?id=60584 Changes in HKCU registry
# Background & Steps to reproduce
Window rendering will show bizare artifacts, up to becoming totally useless (tiny transparent window frames that cannot be interacted with), after following the below steps:
1. In WINE staging enable GTK3 themeing 2. Open `winecfg` again (things should be themed now) 3. Select the “desktop integration” tab 4. Change the “theme” from “GTK-3” to “(No Theme)” and click “Apply” 5. Do the above two times for noticable rendering issues and crashes 6. Do the above three (or more) times to break *any window rendering in WINE* (see attachment 2)
# Underlying issue
I'm not exactly sure what `winecfg` happens to do here, but it somehow manages to calculate and store some completely wrong values for several entries inside the
HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
registry key (see attachment 1) that then result in this behaviour.
# Workaround
Open `${WINEPREFIX}/user.reg` in a text editor and delete the entire
HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
registry key section before launching WINE again.
https://bugs.winehq.org/show_bug.cgi?id=44597
--- Comment #1 from Alexander Schlarb alexander-winehq@xmine128.tk --- Created attachment 60585 --> https://bugs.winehq.org/attachment.cgi?id=60585 Broken window after chaing the winecfg value three times (the window is actually empty / screenshot of window below)
https://bugs.winehq.org/show_bug.cgi?id=44597
Reinhold reinhold.hoffmann@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |reinhold.hoffmann@hotmail.c | |om
--- Comment #2 from Reinhold reinhold.hoffmann@hotmail.com --- We found the same bug with the Registry settings
HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
+"SmCaptionHeight"="-105" +"SmCaptionWidth"="-11390625"
w/o GTK3 theming. The bug happens when simply any "Desktop-Integration" valued is changed and the new settings are applied.
Our apps do not work at all anymore because they use those consistent Regitry data. This bug is a real nasty one.
However, the issue happens with Wine-2.0, Wine-2.21. But it looks that with Wine-3.13 on Ubuntu this bug does not happend anymore.
I recommend to verify if the issue is resoved on Wine-3.13 and then close this bug report or if it appears to be open still change the status to NEW.