-
Notifications
You must be signed in to change notification settings - Fork 668
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] Add icon to the Explorer context menu #4627
Comments
Note there is a single DLL on Windows responsible for all brandings. So we don't have the luxury like on OS X to have a Finder extension in each .app @jturcotte regarding Windows says:
We both think it would also be possible (like it used to be for OS X) for the client to tell the icon path via the socket API, then the DLL would load the icon from there. |
Level of effort to make this possible, and likely issues or implications of such a change? |
We don't think this is much effort. 1 to 2 days? |
The issue is that the extension binaries are built on the developper's machine, and then packaged in all branding variants of ownCloud. We'd need to build official binaries using MSVC in order for this to be easy to package (where we could configure at build time which icon to use). Essentially depends on #2717, but there is no concrete plans to go this way at the moment since all the Windows build infrastructure is based on OBS and MinGW. |
Can it be done manually? some registryhack maybe? |
Shouldn't be too difficult but the code is not there, so you'd need to implement it in |
And how to do it? i have no idea what you mean |
I have no idea either at the moment. I'd have to google it and figure out which API needs to be used, and add the necessary code in https://github.com/owncloud/client/blob/master/shell_integration/windows/OCContextMenu/OCContextMenu.cpp. |
Tested with owncloud-client 2.9.0-beta3 on windows10 In both cases, no menu icons: The log shows Expected behavior: |
Only implemented in dolphin |
Retested on a fresh Win10 20H1 machine: On every startup, the client receives icon data:
But no icon is displayed. |
Retested with a fresh Win10 21H1 image
No icon seen. Am I looking at the wrong menu? |
Seen with 2.9.0-rc2
On a VM with 1 CPU, the icon never shows. Confirmed fixed. |
Reference #4472
Feature of adding an application icon in the Finder contextual menu for Windows Explorer
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: