mirror of
https://github.com/clechasseur/pathcopycopy.git
synced 2026-04-25 12:15:58 +03:00
[GH-ISSUE #110] Custom icon not visible in main contextual menu #109
Labels
No labels
bug
duplicate
enhancement
enhancement
enhancement
fixed
help wanted
help wanted
invalid
pull-request
question
waiting for input
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pathcopycopy#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dundes on GitHub (Feb 22, 2020).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/110
Originally assigned to: @clechasseur on GitHub.
simply... having an icon close to the main feature used, right clicking on a file, it helps to quickly put in evidence this one; I'd love this feature
Thanks
@clechasseur commented on GitHub (Feb 22, 2020):
You can already do this with the Settings application. In the Commands tab, click in the Icon column next to the command you want and set an icon file. You can also Shift-click to use the default icon.
@Dundes commented on GitHub (Feb 23, 2020):
thank you for quick answer Charles
Icon is visible next into submenu, but not the first level menu, not directly right clicking a file or a folder
@clechasseur commented on GitHub (Feb 23, 2020):
Hmm, that's strange, it should show up in both menus, sounds like a bug. I'll look into it.
@clechasseur commented on GitHub (Feb 23, 2020):
I checked the code and found the issue. It only happens when the only command selected in the main menu is "Copy Long Path".
I'll leave this open so I can fix it. In the meantime, there's a kind of workaround. Using
regedit, navigate to theHKEY_CURRENT_USER\Software\clechasseur\PathCopyCopykey and create the following value:Name: UseIconForDefaultPlugin
Type: REG_DWORD
Value: 1
That should instruct Path Copy Copy to display the default icon for any command in the main menu. This setting is not editable via the Settings application, so to turn it off you need to go back and delete the value.
@Dundes commented on GitHub (Feb 24, 2020):
Thanks for the workaround; I checked, the solution works, but the icon shown is not the one chosen but the default one; thanks again :-)
@clechasseur commented on GitHub (Feb 24, 2020):
Yeah, it's not ideal. There's another trick I thought of, though:
That should give you the icon you want.
@Dundes commented on GitHub (Feb 24, 2020):
sorry, I do not want to trouble, trick does not seems to work... icon still the same, but I can wait fix in the next rel...
my best compliments for the very useful tool
@clechasseur commented on GitHub (Feb 24, 2020):
Sorry that didn't work. I'm out of ideas then, you will have to wait for a fix 😞
@clechasseur commented on GitHub (Jun 28, 2020):
This issue has been fixed and will be available in the next version.