https://bugs.winehq.org/show_bug.cgi?id=44030
Bug ID: 44030 Summary: Wine forgets DPI when using WineCFG and draw weird title bar Product: Wine Version: 2.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: stu.axon@gmail.com Distribution: ---
Tested with wine desktop enabled, on Ubuntu 17.10.
Use WineCFG to set Wine DPI to 202.
Quit WineCFG
Toggle an option twice to allow "Apply" to be pressed, I used "Show Dot Files" - some other options don't seem to trigger the bug.
Click Apply.
The titlebar is drawn over itself, but in the default DPI.
Only the smaller DPI title bar can be interacted with.
Here is a video, at the end I just toggle "show dot files" which is outside the recorded area.
I noticed when trying to make the video that the bug did not occur 100% of the time, though it was most of the time.
https://bugs.winehq.org/show_bug.cgi?id=44030
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Confirming issue. However, I can't seem to trigger the bug reliably either.
https://bugs.winehq.org/show_bug.cgi?id=44030
--- Comment #2 from Stuart Axon stu.axon@gmail.com --- I've been trying to work out how to reliably trigger - it, but haven't worked that out.
At least, it's easy to trigger - you just don't know when (theres like a one in 4 chance)
I noticed, that every time it triggers there is this messaged logged:
0072:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
Once it has been triggered, then I seemed to get this message every time I change something.
- E.G. Just now I was trying to trigger it: I kept toggling "Allow the window manager to decorate windows" and hitting apply. I couldn't get it to trigger the message was not logged.
Then I changed the DPI, hit apply and toggled the bug. The message was logged.
I went back to toggling "Allow the window manager to decorate windows" and now, every time I toggle it the message was logged.
You can see things redraw at the point where the bug is triggered, and not the rest of the time.
It seems less likely to trigger when you slowly click - *press and then wait a bit before releasing the button...) but I still managed to trigger it this way.
https://bugs.winehq.org/show_bug.cgi?id=44030
--- Comment #3 from Stuart Axon stu.axon@gmail.com --- I haven't managed to trigger it reliably - but I have worked out how to un-trigger it.
To unreliably trigger it:
Keep setting different visual styles (there are a bunch you can download on deviantart).
IE - start winecfg, set visual style then quit, then load notepad and open the file menu.
If the file menu is the height of the whole screen then then the bug has been hit.
I hit this just now switching to this theme: https://yggdrasilly.deviantart.com/art/Watercolor-Emico-Shellstyles-89232671
Anyway - to UN set this bug, just go back to winecfg and set no-theme.
Sadly, I wasn't able to reliably trigger the bug again by choosing the same theme :/
https://bugs.winehq.org/show_bug.cgi?id=44030
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=45332