Opened 14 years ago

Last modified 6 years ago

#1088 closed Bug report

Desktop Folder Pointing to Wrong Location

Reported by: nberardi Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc: nberardi, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

Local directory tree now displays "Desktop" and "My
Documents". With version 2.2.24. However the Desktop
you are showing me isn't the one listed in the
registry. For instance the desktop you are pointing to is

c:\documents and settings\username\desktop

however I moved my desktop off the C: drive to

m:\users\username\desktop.

And that is the way it is set in the registry. The odd
part of this whole things is that My Documents folder
is pointing to the right location.

Change History (8)

comment:1 by Tim Kosse, 14 years ago

FileZilla asks Windows for the location of the desktop
directory. So if FileZilla displays the wrong directory it
likely means that either you haven't set the new desktop
location properly or that you've stumbled about a bug in
Windows.
Might I ask what steps you performed to move the desktop
location?

comment:2 by nberardi, 14 years ago

Yes I used Microsoft Windows XP Power Toys Tweak UI program.

http://download.microsoft.com/download/f/c/a/fca6767b-9ed9-45a6-b352-839afb2a2679/TweakUiPowertoySetup.exe

When in the Program I go to My Computer > Special Folders,
then select Desktop in the drop down and then click change
location. This program then goes to modify the registery
for my user profile and then the next time I log back in to
windows my new desktop from the folder I just set appears.

All Microsoft as well as none Microsoft programs pick up on
this? May I ask what method you are using to find what my
desktop is?

comment:3 by Tim Kosse, 14 years ago

FileZilla uses the SHGetSpecialFolderPath function from the
Windows API to get the location of the Desktop.

comment:4 by nberardi, 14 years ago

If you can confirm this as a bug, which I really do think it
is. I looked at how .NET aquires it's folder paths and it
used the method called. SHGetFolderPath and you just set
nFolder to zero to get the desktop location. I really can't
tell what the difference is from the documentation, but it
looks like this method does work.

comment:5 by nberardi, 14 years ago

BTW I am using Windows 2003 R2 Server Standard

comment:6 by Tim Kosse, 14 years ago

comment:7 by nberardi, 14 years ago

This works just like I would have expected. The fix you
have made seems to have worked.

comment:8 by Tim Kosse, 14 years ago

Fixed in official 2.2.24a.

Note: See TracTickets for help on using tickets.