https://bugs.winehq.org/show_bug.cgi?id=46274
Bug ID: 46274 Summary: Total Commander 8.52a: Closing the Multi-Rename window after using it is slow and messes up the listbox caret Product: Wine Version: 4.0-rc1 Hardware: x86 URL: http://web.archive.org/web/20160121065109/http://total cmd2.s3.amazonaws.com/tcmd852ax32.exe OS: Linux Status: ASSIGNED Severity: normal Priority: P2 Component: user32 Assignee: gabrielopcode@gmail.com Reporter: gabrielopcode@gmail.com CC: wine-bugs@winehq.org Distribution: ---
1) Launch Total Commander and press CTRL+M or go to Files->Multi Rename Tool... 2) Press "Start!" which should work fine. 3) Now close the Multi-Rename window (i.e. click on Close or press ESC)
Observe how there's a few seconds of freeze lag, after which the listbox caret in the panel is gone. Switching to the other panel and back brings it back.
I did a few investigations and it seems this is not a problem with the listbox at all. Rather, it's a problem with recursive SetFocus and window activation, that's why it's so slow (until it reaches a limit). I'll try to fix it like on Windows so I'll have to see how Windows handles this situation (with testcases of course).
It's interesting to note that this does not happen if you don't click on "Start!" in the Multi-Rename Tool.
https://bugs.winehq.org/show_bug.cgi?id=46274
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/user32-recursive | |-activation Status|ASSIGNED |STAGED
https://bugs.winehq.org/show_bug.cgi?id=46274
Maik Wagner maiktapwagner@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maiktapwagner@aol.com
--- Comment #1 from Maik Wagner maiktapwagner@aol.com --- I downloaded this version:
https://totalcommander.ch/win/tcmd922ax64.exe
sha256sum tcmd922ax64.exe 9a01bcdd67d99e31cbe6512161829c86fddb25496d6d98b4f140923ad856af1f tcmd922ax64.exe
The freeze lag is no longer present and I can't see these issues in 4.19-staging.
https://bugs.winehq.org/show_bug.cgi?id=46274
--- Comment #2 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Thanks for the testing. Indeed this bug has been staged, so fixed in wine-staging for a while.
It hasn't been upstreamed yet because it touches some sensitive stuff about focusing and reviewing it fully is a bit difficult. So it's been staged to get further testing and it doesn't seem to cause any issues. Feel free to try to get it upstream though.
https://bugs.winehq.org/show_bug.cgi?id=46274
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Keywords| |download URL|http://web.archive.org/web/ |https://web.archive.org/web |20160121065109/http://total |/20210210100933/http://tota |cmd2.s3.amazonaws.com/tcmd8 |lcommander.ch/win/old/tcmd8 |52ax32.exe |52ax32.exe