-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[windows] When creating explorer favorite use more specific windows functions #2719
Comments
@danimo what do you think about this new patch? better? |
Reopening since we had to revert this in #3562 |
Is this current in master? What exactly is the issue from a UX perspective? |
Hi, The UX impact is that the user on windows, if using a Group Policy that sets its Links directory to a path different to %USERPROFILE%, the link to ownCloud directory on Explorer's Favourites is not available. |
@remixtj Any news from your side? |
Works, thank you! |
@guruz PR is now available, with signed CLA |
Just tested current master and @remixtj would there be a way to set the folder icon to
I'll repeat the test on W8.1 & 10 and close here if everything continues smooth there! |
Hello, as far as i know, through QT is not possible to set the link icon, since that qt functions is cross platform and makes symlinks in linux and .lnk files in Windows. I'll take a look if some other options are available |
👍 |
I'm experiencing problems with the creation of the favourite on Windows 7, using folder redirection. I made some research for the problem and found out that client tries to create a link on the wrong place. My "Links" directory is on a cifs share: \server\homes\username\Links. This wrong behavior is caused by the function setupFavLink_private in utility_win.cpp
At the moment in function setupFavLink_private at line 24 the function
is used.
MSDN documentation says that ShGetFolderPath should be used. But says also that ShGetFolderPath is deprecated. A note states:
Please note that SHGetKnownFolder is a function available only on Vista and later. But, you can also note that also favourites on explorer are available since that windows release.
I made a test and tried to print the path value that is returned by the function call:
and i get (correctly) the value of \server\homes\username\Links.
I printed also the output of
and i got _C:\Users\username_, that is correctly my profile home, but the path where the function will create the link is C:\Users\username\Links, that is wrong.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: