https://bugs.winehq.org/show_bug.cgi?id=57195
Bug ID: 57195 Summary: wineconsole is broken Wine 9.17 after moving its window (Far File Manager is broken as well, as a result) Product: Wine Version: 9.17 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: [email protected] Reporter: [email protected] Distribution: ---
Steps to reproduce (under X11):
1. wine wineconsole 2. Move the window.
Results:
CPU use 100%, wineconsole starts repainting itself indefinitely.
Expected results:
This shouldn't be happening.
P.S.
1. This does not always happen but after running Far File Manager 2/3 (doesn't matter) and exiting it, wineconsole starts misbehaving 100%. 2. My DPI is set to 110. 3. I'm using "Lucida Console" (from MS Core Fonts) as my HKEY_CURRENT_USER\Console\FaceName
Could be a result of HighDPI support in Wine 9.17.
https://bugs.winehq.org/show_bug.cgi?id=57195
--- Comment #1 from Artem S. Tashkinov [email protected] --- Created attachment 77087 --> https://bugs.winehq.org/attachment.cgi?id=77087 wineconsole
Looks like it alternates between two states for some reasons.
https://bugs.winehq.org/show_bug.cgi?id=57195
--- Comment #2 from Artem S. Tashkinov [email protected] --- Some notes:
Tested with a default Wine prefix:
1. This doesn't happen with the default console font. 2. Both DPI and HKEY_CURRENT_USER\Console\FaceName must be changed to trigger the bug.
https://bugs.winehq.org/show_bug.cgi?id=57195
--- Comment #3 from Artem S. Tashkinov [email protected] --- Created attachment 77088 --> https://bugs.winehq.org/attachment.cgi?id=77088 Far File Manager repainting issues
Repainting is _broken_ as well.
1. There are occasional horizontal lines inserted when moving the cursor up or down. 2. Repainting causes 100% CPU use (again when you're moving the cursor up or down). That wasn't the case in Wine 9.16.
https://bugs.winehq.org/show_bug.cgi?id=57195
Rémi Bernon [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #4 from Rémi Bernon [email protected] --- I think it's probably be caused by DPI scaling rounding that triggers some feedback loop in the window resize events.
Could you try with https://gitlab.winehq.org/wine/wine/-/merge_requests/6499? It makes the console window DPI aware, and may have an effect on this.
https://bugs.winehq.org/show_bug.cgi?id=57195
Artem S. Tashkinov [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Artem S. Tashkinov [email protected] --- (In reply to Rémi Bernon from comment #4)
I think it's probably be caused by DPI scaling rounding that triggers some feedback loop in the window resize events.
Could you try with https://gitlab.winehq.org/wine/wine/-/merge_requests/6499? It makes the console window DPI aware, and may have an effect on this.
The patch fixes:
1. Infinite repainting 2. Blurriness
Thanks a ton!
What's not fixed:
Moving the cursor up and down is still really _slow_ vs previous Wine releases (or so it seems). But with the default DPI and font settings it's still the case, so let's consider this bug report fixed. I'm too lazy to test it.
Please push a merge request.
https://bugs.winehq.org/show_bug.cgi?id=57195
Rémi Bernon [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|FIXED |---
--- Comment #6 from Rémi Bernon [email protected] --- Thanks for testing and I appreciate the enthusiasm, but let's consider that this isn't resolved yet until the merge request is actually merged :) I'll mark it as fixed when it is.
https://bugs.winehq.org/show_bug.cgi?id=57195
--- Comment #7 from Artem S. Tashkinov [email protected] --- (In reply to Rémi Bernon from comment #6)
Thanks for testing and I appreciate the enthusiasm, but let's consider that this isn't resolved yet until the merge request is actually merged :) I'll mark it as fixed when it is.
You're the boss. :-)
https://bugs.winehq.org/show_bug.cgi?id=57195
Rémi Bernon [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |51d7a3dee3534c1456ab912e65a | |3c942355eadc4 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Rémi Bernon [email protected] --- Fixed with 51d7a3dee3534c1456ab912e65a3c942355eadc4
https://bugs.winehq.org/show_bug.cgi?id=57195
Alexandre Julliard [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard [email protected] --- Closing bugs fixed in 9.18.