https://bugs.winehq.org/show_bug.cgi?id=40444
Bug ID: 40444 Summary: Find doesn't jump to a found item in WinSCP Product: Wine Version: 1.9.7 Hardware: x86 URL: http://winscp.net/download/winscp577.zip OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: t.artem@mailcity.com Distribution: Red Hat
This bug is very easy to reproduce.
Run WinSCP and open a session to any host. Open any long enough file (text/html/whatever), hit Find (Ctrl + F) and try to find something at least on the second page of the open document.
The cursor will jump, however the screen will remain on the first page. In order to really jump to this position, you have to close the Find dialog (e.g. hit "Escape") and press "Up" and "Down" which is terribly inconvenient.
https://bugs.winehq.org/show_bug.cgi?id=40444
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
https://bugs.winehq.org/show_bug.cgi?id=40444
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=40444
Martin Prikryl martin@winscp.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martin@winscp.net
--- Comment #1 from Martin Prikryl martin@winscp.net --- I'm the author of WinSCP.
Regarding the implementation in WinSCP, it just calls a simple
ListView_EnsureVisible(Handle, Index, false);
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #2 from Martin Prikryl martin@winscp.net --- With more context:
ListView_SetItemState(Handle, Index, LVIS_FOCUSED, LVIS_FOCUSED); int Index2 = ListView_GetNextItem(Handle, -1, LVNI_FOCUSED); ListView_EnsureVisible(Handle, Index2, false);
(WinSCP uses VCL library, so the above is what the VCL does internally).
Note that I'm not confirming the bug, I'm just sharing details on the implementation.
https://bugs.winehq.org/show_bug.cgi?id=40444
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Find doesn't jump to a |Find doesn't jump to a |found item in WinSCP |found item in WinSCP when | |editing a file
--- Comment #3 from Artem S. Tashkinov t.artem@mailcity.com --- (In reply to Martin Prikryl from comment #2)
With more context:
ListView_SetItemState(Handle, Index, LVIS_FOCUSED, LVIS_FOCUSED); int Index2 = ListView_GetNextItem(Handle, -1, LVNI_FOCUSED); ListView_EnsureVisible(Handle, Index2, false);
(WinSCP uses VCL library, so the above is what the VCL does internally).
Note that I'm not confirming the bug, I'm just sharing details on the implementation.
Are you sure we're talking about the same thing? This bug occurs when you open a file for editing.
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #4 from Martin Prikryl martin@winscp.net --- Oh, sorry. I've misunderstood your post. Please disregard.
https://bugs.winehq.org/show_bug.cgi?id=40444
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
https://bugs.winehq.org/show_bug.cgi?id=40444
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=40444
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Component|-unknown |richedit
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Still relevant as of wine-3.9. "winetricks riched20" solves the issue.
If you want to test it, checkout out this stackoverflow post on how to easily open an ftp server: https://askubuntu.com/questions/17084/how-do-i-temporarily-run-an-ftp-server
https://bugs.winehq.org/show_bug.cgi?id=40444
mgruber mgruber_72@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mgruber_72@yahoo.de
--- Comment #6 from mgruber mgruber_72@yahoo.de --- Bug still exists in Wine 5.13.
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #7 from mgruber mgruber_72@yahoo.de --- On WINE 5.13 "winetricks riched20" doesn't resolve the issue anymore. Instead I see an empty editor window with a blinking cursors as only content when trying to edit any file.
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #8 from Ken Sharp imwellcushtymelike@gmail.com --- Please retry in Wine 7.9 (or later).
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #9 from mgruber mgruber_72@yahoo.de --- The problem still exists in 7.9~jammy-1, just tested.
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #10 from mgruber mgruber_72@yahoo.de --- To be clear: I used a fresh prefix without winetricks riched20.
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #11 from mgruber mgruber_72@yahoo.de --- Took the opportunity to give 7.10 a test in fresh prefixes with
winetricks riched20 winetricks riched30 and no winetricks at all
richedx0 results in empty editor windows just like back in 2020. The completely fresh prefix without any richeds also didn't make a difference.
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #12 from mgruber mgruber_72@yahoo.de --- Bug persists in 7.12
https://bugs.winehq.org/show_bug.cgi?id=40444
mgruber mgruber_72@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jinoh.kang.kr@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #13 from mgruber mgruber_72@yahoo.de --- Just tried 7.13, same result as always.
https://bugs.winehq.org/show_bug.cgi?id=40444
Santino Mazza tatidev1454@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tatidev1454@protonmail.com
--- Comment #14 from Santino Mazza tatidev1454@protonmail.com --- This should be fixed now, in wine 7.14
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #15 from mgruber mgruber_72@yahoo.de --- Can confirm, the find function *finally* works as expected in 7.14. The bug can be closed.
https://bugs.winehq.org/show_bug.cgi?id=40444
--- Comment #16 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Santino Mazza from comment #14)
This should be fixed now, in wine 7.14
Was that the fix https://source.winehq.org/git/wine.git/commit/25209c162fc209124b369abbad55d9...
https://bugs.winehq.org/show_bug.cgi?id=40444
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #17 from Artem S. Tashkinov aros@gmx.com --- Hooray, it's now works! Thanks a lot for the fix.
https://bugs.winehq.org/show_bug.cgi?id=40444
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |25209c162fc209124b369abbad5 | |5d915d31909b2
https://bugs.winehq.org/show_bug.cgi?id=40444
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.15.
https://bugs.winehq.org/show_bug.cgi?id=40444
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0.x
https://bugs.winehq.org/show_bug.cgi?id=40444
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|7.0.x |---
--- Comment #19 from Michael Stefaniuc mstefani@winehq.org --- Removing the 7.0.x milestone from bug fixes included in 7.0.2.