Issue activity log

2008-05-31 14:19 Created Section in file panel does not work on Vista
Component GUI
Severity Bug
Comment In Commander interface, WinSCP uses by default Norton Commander-like selection of files. I.e. selection that is not cleared when focus is changed. To implement it, WinSCP needs to prevent unselection of items in list view by triggering LVN_ITEMCHANGING message. This works fine until Windows XP. In Windows Vista there is bug. Once unselection is prevented, list view forgets the selection internally, preventing iteration over selected files. To overcome that, in 4.0.4 workaround was implemented. When WinSCP detects Vista OS, it keeps track of selection itself.

But when WinSCP is executed in compatibility mode, it fails to detect Vista. And unfortunately the bug is present even in compatibility mode.
2008-05-31 14:24 Status RESOLVED
Fixed in 4.1.4
Resolution FIXED
Comment Detection of Vista OS was improved, not to be fooled by compatibility mode:
https://www.thedelphigeek.com/2007/02/four-ways-to-detect-vista.html

The bug in Windows Vista is discussed here:
https://groups.google.com/g/microsoft.public.win32.programmer.ui/c/mCq7jUUPxcE/m/BnnUh4Rqu8wJ
2008-05-31 14:58 Comment https://winscp.net/forum/viewtopic.php?t=5588
Mail from/to Al S in May 2008
2009-02-28 17:19 Comment Follow up Issue 383.
2022-09-30 11:33 Comment In Commander interface, WinSCP uses by default Norton Commander-like selection of files. I.e. selection that is not cleared when focus is changed. To implement it, WinSCP needs to prevent unselection of items in list view by triggering ''LVN_ITEMCHANGING'' message. This works fine until Windows XP. In Windows Vista there is bug. Once unselection is prevented, list view forgets the selection internally, preventing iteration over selected files. To overcome that, in WinSCP 4.0.4 workaround was implemented. When WinSCP detects Vista OS, it keeps track of selection itself.·  ·  But when WinSCP is executed in compatibility mode, it fails to detect Vista. And unfortunately the bug is present even in compatibility mode.
2023-08-06 17:08 Summary SectionSelection in file panel does not work on Vista