Tracker »

Bug 242 – Section in file panel does not work on Vista

  • No search results available
: Section in file panel does not work on Vista
: GUI
: Unspecified
: Windows Vista
: Bug
: Medium
: 4.1.4
: FIXED
: RESOLVED
: 0
Description
2008-05-31 14:19
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.
Comment #1
2008-05-31 14:24
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/d/msg/microsoft.public.win32.programmer.ui/mCq7jUUPxcE/BnnUh4Rqu8wJ
Comment #2
2008-05-31 14:58
https://winscp.net/forum/viewtopic.php?t=5588
Mail from/to Al S in May 2008
Comment #3
2009-02-28 17:19
Follow up Bug 383.
  • No search results available