Skip to content
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

[Feature] Link to OneDrive when OneDrive is CLSID #479

Open
Hofknecht opened this issue Apr 29, 2023 · 1 comment
Open

[Feature] Link to OneDrive when OneDrive is CLSID #479

Hofknecht opened this issue Apr 29, 2023 · 1 comment

Comments

@Hofknecht
Copy link
Owner

Tim reported, that a link to OneDrive does not work, we assume thats because it is a CLSID path.
see #315 (also related to #433)

Here original mail:
I love SystemTrayMenu since it replaces my old windows 10 toolbars on the task bar and is even better. However, I recently noticed that some of my shortcuts in the STM folder are not working. As far as I can tell, it is strictly when they are pointing to portable apps that I have stored on my onedrive so I can use them on any of my machines. If I have a shortcut in onedrive that points to an installed (c:\programs) application not on onedrive, it works. If I link to a portable program in onedrive like handbrake, qbittorrent, or sumatraPDF, it takes a second or two and control is returned, but the app does not open. If I open the folder where the link is located and double click on it, it does work. So the links seem to be OK. Just a minute, I’m going to try to put one of the apps on a non-onedrive location and see if it then works. AHA! If I create a copy of SumatraPDF portable app folder on my desktop and create a shortcut to it in the same STM folder as the one that points to onedrive, IT WORKS. So the problem may be how STM is passing the link to the opsys? I have tried using %userprofile% instead of hard coded userfolder, to no avail.

I do not remember having this problem in Windows 10. I used the portable version of STM with Windows 10 although I am using the windows store app in 11. So this may be a new problem caused by something M/S did recently in one of their many w11 updates.

Do you have any suggestions to what we can do to fix this? Should I create an issue?


One more note about my testing: STM is still working fine on my windows 10 laptop! That explains why I never noticed any problems until recently. One of the recent updates from m/s broke something for you! Please check it out.


One last time. Honest. I have tracked it to this error from Microsoft Your Internet security settings prevented one or more files from being opened

I do NOT get this error when double clicking directly on the link or program in onedrive, only when using systemtraymenu to activate the link

OK, really. For now, I will work around it by opening the folder and clicking but this basically removes all of the convenience of using STM. I hope you can figure something out with ms.

@Hofknecht
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant