https://bugs.winehq.org/show_bug.cgi?id=57285
Bug ID: 57285 Summary: Foxit Reader - maximized view don't work properly Product: Wine Version: 9.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: andreas.franz@arcor.de Distribution: ---
Created attachment 77227 --> https://bugs.winehq.org/attachment.cgi?id=77227 Foxit maximized
Foxit Reader works well, until you'll try to maximize his window. Parts (right side) of his window won't be visible. Window seems to be maximized, but rendered with "normal" size.
Everything is fine on stable-branch.
https://bugs.winehq.org/show_bug.cgi?id=57285
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Can you link the version you used?
https://bugs.winehq.org/show_bug.cgi?id=57285
--- Comment #2 from AndyF andreas.franz@arcor.de --- https://www.foxit.com/de/downloads/#foxit-pdf-reader
I've used latest Windows-Version.
https://bugs.winehq.org/show_bug.cgi?id=57285
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://cdn78.foxitsoftware | |.com/product/reader/desktop | |/win/2024.3.0/FoxitPDFReade | |r20243_enu_Setup_Prom.exe Keywords| |download Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Confirming.
https://bugs.winehq.org/show_bug.cgi?id=57285
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|9.19 |9.21
--- Comment #4 from AndyF andreas.franz@arcor.de --- .. issue is still preset with 9.21
https://bugs.winehq.org/show_bug.cgi?id=57285
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|9.21 |9.19
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Please don't change the version after reporting an issue.
https://bugs.winehq.org/show_bug.cgi?id=57285
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |b68e82e8e51a066bdcbd66ab8b3 | |e7da003b55a65
https://bugs.winehq.org/show_bug.cgi?id=57285
--- Comment #6 from AndyF andreas.franz@arcor.de --- b68e82e8e51a066bdcbd66ab8b3e7da003b55a65 is the first bad commit commit b68e82e8e51a066bdcbd66ab8b3e7da003b55a65 Author: Rémi Bernon rbernon@codeweavers.com Date: Wed Jul 17 10:51:20 2024 +0200
winex11: Reset empty window shape even without a window surface.
And invalidate the window surface shape if any, so that it gets updated again in update_surface_region if the window is actually shaped.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56972
dlls/winex11.drv/bitblt.c | 3 --- dlls/winex11.drv/window.c | 32 ++++++++++++++++++++------------ 2 files changed, 20 insertions(+), 15 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=57285
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=57285
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Mint
https://bugs.winehq.org/show_bug.cgi?id=57285
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winex11.drv
https://bugs.winehq.org/show_bug.cgi?id=57285
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=57285
--- Comment #7 from AndyF andreas.franz@arcor.de --- Still an issue at 10rc1.
https://bugs.winehq.org/show_bug.cgi?id=57285
--- Comment #8 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 77562 --> https://bugs.winehq.org/attachment.cgi?id=77562 possible workaround
Hi! Thanks for the bug report. It looks like you're using KDE, and fwiw KWin maximized window state is known to be broken (see bug 57465), and has been like that for a long time although it was sometimes working a bit by chance.
Could you try the attached workaround in Wine which I believe could help and confirm if this is the same issue?
https://bugs.winehq.org/show_bug.cgi?id=57285
--- Comment #9 from AndyF andreas.franz@arcor.de --- Hi!
I am using Cinnamon (Linux Mint) as Desktop. So it should be a different thing?
Is it possible to download your patch/workaround? (Maybe it is a silly question - but until yet, I've compiled wine only via github sources).
Regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=57285
--- Comment #10 from Rémi Bernon rbernon@codeweavers.com --- Oh okay, I got confused by the looks of it on the screen capture. Well might be different then. I'll have a look.
https://bugs.winehq.org/show_bug.cgi?id=57285
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.franz@arcor.de
https://bugs.winehq.org/show_bug.cgi?id=57285
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #77562|0 |1 is obsolete| |
--- Comment #11 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 77576 --> https://bugs.winehq.org/attachment.cgi?id=77576 Fix
This looks like another instance of Mutter-based WM confusing themselves after doing their little dance on _MOTIF_WM_HINTS changes.
The attached patch seems to fix it, although there's no reason for it to other than changing the sequence of events to please the window manager, it could also very well break other WMs, and I'm not sure we want to merge that at this point.
That change was actually part of some other series of WM workarounds I had prepared in https://gitlab.winehq.org/wine/wine/-/merge_requests/6944, also partly helping KWin maximized state confusion.
https://bugs.winehq.org/show_bug.cgi?id=57285
--- Comment #12 from Rémi Bernon rbernon@codeweavers.com --- Actually, this issue is also present when not using window manager decorations, and with the virtual desktop. I've opened https://gitlab.winehq.org/wine/wine/-/merge_requests/6990 to fix this independently of the window manager workaround above.
https://bugs.winehq.org/show_bug.cgi?id=57285
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |e237379d98840871daebd05a9be | |a13a1fa75dec1 Resolution|--- |FIXED
--- Comment #13 from Rémi Bernon rbernon@codeweavers.com --- The underlying issue has been fixed with e237379d98840871daebd05a9bea13a1fa75dec1, the application should maximize/restore correctly if "Allow the window manager to decorate the windows" is unchecked, or if virtual desktop is enabled in winecfg, so marking this as fixed.
https://bugs.winehq.org/show_bug.cgi?id=57285
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.0-rc2.