http://bugs.winehq.org/show_bug.cgi?id=58167
Bug ID: 58167 Summary: Pegasus Mail immediately restores window Product: Wine Version: 10.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: winehq@jonass.user.lysator.liu.se Distribution: ---
After upgrading from 10.5 to 10.6 I can't minimize Pegasus Mail. When I click minimize the window only flashes, seems like it minimizes but immediately restores to open window with the same size as before.
No error messages in console.
git bisect suggests it may be related to commit 6b04bdf25796c9c76815588bf7bdc36ff44b9e13
OS: XUbuntu 24.04.2 LTS NVIDIA Driver Version: 535.183.01 Using X11 (not Wayland)
http://bugs.winehq.org/show_bug.cgi?id=58167
Jonas winehq@jonass.user.lysator.liu.se changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |http://download-us.pmail.co | |m/w32-480.exe
http://bugs.winehq.org/show_bug.cgi?id=58167
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |6b04bdf25796c9c76815588bf7b | |dc36ff44b9e13 CC| |alexhenrie24@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=58167
Michael Setzer II mikes@kuentos.guam.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikes@kuentos.guam.net
--- Comment #1 from Michael Setzer II mikes@kuentos.guam.net --- Which version of Pegasus are you using? 4.80 or 4.81pb3? Have you uninstalled the IERenderer
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #2 from Jonas winehq@jonass.user.lysator.liu.se --- (In reply to Michael Setzer II from comment #1)
Which version of Pegasus are you using? 4.80 or 4.81pb3? Have you uninstalled the IERenderer
Pegasus Mail Version 4.80 (as stated in the URL field of this issue).
Didn't uninstall IERenderer using the uninstall.exe. I removed the IERenderer files manually.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #3 from Michael Setzer II mikes@kuentos.guam.net --- PMAIL/Programs/unins0000.exe is the special uninstaller program that the creater of IERenderer recommends for uninstalling.
There are files in the PMAIL/Programs directory and subdirectories, and then some in users mail directory. Also some registry entries.
I had also just removed IER* files.
For me, I've also removed the older BEARHTML files in Pegasus, since it was an other addon used for HTML messages, but the Main TER32 and HTS32 dll files were updated and seem to do better job with HTML messages.
The public beta 3 has been out since 2023, and is very stable, but from Beta team, there have been a number of private betas since then, and the new 4.91 is close to being released?
I do have a major issue with winehq-devel 10.10 that breaks Pegasus. It opens, but windows/panels are not displaying correctly or empty. Downgrade to 10.9 works fine. Also works fine with stable, but that is 10.0?
Think IERenderer is making some calls to IE dlls that wine doesn't support, but author is lookin at making a new version that uses chromium calls instead of IE8, but that might kill working on Windows 7 and lower.
I've used Pegasus since the old DOS days with Novell 2.x servers.
Thanks for info.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #4 from Jonas winehq@jonass.user.lysator.liu.se --- Still in Wine 10.11
Nvidia driver has been updated to 535.230.02
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #5 from Michael Setzer II mikes@kuentos.guam.net --- On my Fedora 41 and Fedora 42 systems using XFCE desktop manager, I've had no issues with minimizing Pegasus 4.81-pb3.
What desktop manager are you using?
How are you starting Pegasus. Menu or Desktop icon or other.
Might try opening a terminal window, and run program a terminal window $ cd ~/.wine/drive_c/PMAIL/Programs $ wine WINPM-32.EXE
Then try the minimize option, and then open the terminal window and see it any messages are displayed.
I use the following option on mine. WINEDEBUG=fixme-all,err+all
Might want to try WINEDEBUG=+all
But that generally makes a very large amount of output.
http://bugs.winehq.org/show_bug.cgi?id=58167
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #6 from Rémi Bernon rbernon@codeweavers.com --- I don't think using WINEDEBUG=+all is a good idea, but if you can please attach a log file with WINEDEBUG=+pid,+tid,+loaddll,+x11drv,+event,+win it should be enough to figure where this issue is coming from.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #7 from Jonas winehq@jonass.user.lysator.liu.se --- Created attachment 78846 --> http://bugs.winehq.org/attachment.cgi?id=78846 logfile with options WINEDEBUG=+pid,+tid,+loaddll,+x11drv,+event,+win
Attached the result of: cd /home/jonas/tchome/pmail/PMAIL WINEDEBUG=+pid,+tid,+loaddll,+x11drv,+event,+win wine winpm-32.exe -I jonas &>>/tmp/winelog.txt
I clicked minimize twice before closing the application.
Thank you for your attention.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #8 from Jonas winehq@jonass.user.lysator.liu.se --- (In reply to Michael Setzer II from comment #5)
What desktop manager are you using?
Zfce 4.18 GTK Version 3.24.41
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #9 from Jonas winehq@jonass.user.lysator.liu.se --- (In reply to Jonas from comment #8)
Zfce 4.18
Sorry, should be Xfce
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #10 from Michael Setzer II mikes@kuentos.guam.net --- Two things. Under wine winecfg Under the graphics tabs There are a number of check boxes under windows settings. I tried the combinations, and it makes little differences, but mine still minimizes the same way as far as I can tel..
A 2nd option. I generally have XFCE setup for 4 workspaces. Rather than minimizing the Pegasus Mail, perhaps clicking on top bar, and move it to a separate workspace, then switch back and forth between the workspaces.
One thing I found was alt enter was suppose to minimize, but for me it does nothing??
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #11 from Rémi Bernon rbernon@codeweavers.com --- I'm not able to reproduce minimization failures, but I'm able to reproduce a possibly similar issue when Pegasus Mail is first started, and another window is activated by clicking on it. The first time this is done after startup, Pegasus Mail window gets activated again instead of the window that was clicked on.
This seem to happen because Pegasus Mail calls SetFocus quickly after losing foreground (from a WM_USER+8991 application message posted when it receives WM_KILLFOCUS), which we translate into window activation request and the window manager. I've checked that on Windows the WM_USER+8991 is there too, I'm not sure whether it then calls SetFocus or not, and whether Windows is simply ignoring it. This will need some testing.
Then, this is possible the same thing happening with minimization here, although it's not 100% certain. The logs also seem to suggest that there's NtUserSetFocus calls right after the window is being minimized.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #12 from Rémi Bernon rbernon@codeweavers.com --- "and the window manager..." -> activates it as requested.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #13 from Jonas winehq@jonass.user.lysator.liu.se --- There may be some funny business going on here, in a Groucho Marx way.
To see if this is only about Pegasus Mail I downloaded Notepad++ from https://notepad-plus-plus.org/downloads/v8.8.2/ (32-bit version, portable) Unzipped and ran like wine ./notepad++.exe Notepad++ minimizes fine, and restores fine.
Now to the interesting part. While Notepad++ is running, I can minimize Pegasus mail fine. And maybe most spectacular: If Pegasus Mail is minimized and I quit Notepad++, Pegasus Mail is restored!
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #14 from Jonas winehq@jonass.user.lysator.liu.se --- Tried changing to Nouveau driver from proprietary Nvidia. No change, so I guess the problem is not driver related.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #15 from Jonas winehq@jonass.user.lysator.liu.se --- Seem like something changed with Wine 10.17. Now the Pegasus window can be minimized. However, it seems like the next mouseclick is "stolen" and Pegasus is restored. I say "stolen" as I would expect a mouseclick in another windows should set focus to that window, now it only restores Pegasus.
http://bugs.winehq.org/show_bug.cgi?id=58167
Michael Setzer II mikes@guam.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikes@guam.net
--- Comment #16 from Michael Setzer II mikes@guam.net --- With the previous message, I have also seen a change with update to 10.17 with Pegasus. On one hand it seems to open faster rather than seeing he icons drawing across screen, which is good. But it does seem to be loosing focus on window, and have to reclick on Pegasus Window to get mouse and keyboard entries to work.
Also, notice the bottom panel (xfce) is showing up, like mouse is over it, but nouse is no where near that area.
So, don't think this is directly related to earlier post??
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #17 from Rémi Bernon rbernon@codeweavers.com --- Is this still happening with Wine 10.19?
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #18 from Michael Setzer II mikes@guam.net --- Just instlled 10.19. And just checked mail. Only had 4 new messages, and was able to delete 3 messages with no issue, so looks like it has been fixed. But was only a small test. Generally would have 40 to 100 new messages in the morning. So will check there, but looks good.
Will have to look at chagnes made in 10.19, and perhaps one will stand out.
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #19 from Michael Setzer II mikes@guam.net --- Looked at 10.19 changes, and one seems it might have fixed issue with focus loss.
#57569 BeamNG.drive minimizes its window during startup, with UseTakeFocus set to false.
There is one that list Pegasus, but I never noticed that issue.
#58431 Pegasus Mail Changed font (regression)
I generally do always run Pegasus in Full screen mode, and as I stated it would work the first time with the delete key, and then require click on actual delete button with mouse.
Might have been one of the others that fixed it, but those seem to be most likely to me. Thanks.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #20 from Jonas winehq@jonass.user.lysator.liu.se --- (In reply to Rémi Bernon from comment #17)
Is this still happening with Wine 10.19?
Unfortunately yes. Sort of. The Pegasus windows IS minimized and NOT immediately restored. But it is restored immediately when clicking any other window to set focus to that window.
http://bugs.winehq.org/show_bug.cgi?id=58167
253 fetal-sip-giving@duck.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fetal-sip-giving@duck.com
--- Comment #21 from 253 fetal-sip-giving@duck.com --- This exact issue occurs with FL Studio 24 since Wine 10.18
http://bugs.winehq.org/show_bug.cgi?id=58167
Gevorg qamalyan86@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |qamalyan86@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #22 from Rémi Bernon rbernon@codeweavers.com --- I believe this should work better after f5944829dc8620b48f8ebde59a9ee8a7734a7f8d, could you confirm?
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #23 from Michael Setzer II mikes@guam.net --- Just to note. There was an issue in 10.17 and 10.18, but it has now been resolved with 10.19. So, not sure if this was the same thing.
Not sure if it was this latest thing.
Was issue with losing focus with window when useing delete key. WOuld work first time, but then no response. Then had to use mouse to click on delete button. Now with 10.19, if works like it did before.
THanks.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #24 from Jonas winehq@jonass.user.lysator.liu.se --- (In reply to Rémi Bernon from comment #22)
I believe this should work better after f5944829dc8620b48f8ebde59a9ee8a7734a7f8d, could you confirm?
Unfortunately not completely resolved.
However, maybe, I found another clue: Besides Pegasus Mail I also got a couple of xfce4-terminal windows. If I minimize Pegasus and then click *inside* the third terminal, Pegasus usually stays minimized, even when I click in other windows afterwards. Maybe 9 out 10 times, or something like that. But if I click on the title bar or any other window, Pegasus is restored.
http://bugs.winehq.org/show_bug.cgi?id=58167
--- Comment #25 from Jonas winehq@jonass.user.lysator.liu.se --- (In reply to Jonas from comment #24)
(In reply to Rémi Bernon from comment #22)
I believe this should work better after f5944829dc8620b48f8ebde59a9ee8a7734a7f8d, could you confirm?
Unfortunately not completely resolved.
However, maybe, I found another clue: Besides Pegasus Mail I also got a couple of xfce4-terminal windows. If I minimize Pegasus and then click *inside* the third terminal, Pegasus usually stays minimized, even when I click in other windows afterwards. Maybe 9 out 10 times, or something like that. But if I click on the title bar or any other window, Pegasus is restored.
Tested with wine-10.20, have not been able to check if that correction is included.