Closed Eagle3386 closed 12 months ago
Since the new implementation is using the IExplorerCommand interface, it is not something we really can do.
Sorry for my lack of knowledge, but I'm curious: why's the new interface blocking re-adding that feature?
Also, given that limitation, couldn't N++ just additionally support the "old" interface that's used for those dynamic icons, as well?
The old implementation used the old IContextMenu3
interface, while the new IExplorerCommand
interface.
So adding it isn't something that easily can be done, since they work completely differently.
@GurliGebis / @donho
Sorry to resurrect, but couldn't make it sooner here.
Regarding the topic: couldn't we combine both approaches, using IExplorerCommand
for the context menu part & IContextMenu3
for the dynamic icon related stuff, then?
Also, as I'm no C++ expert, but still curious to understand the internals, what exactly is missing in the new interface that the old offered to enable the dynamic icon handling? Because reading through MS docs regarding both interfaces, I don't see anything that could be used for dynamic icons - yet, it was available a couple of months ago..?! 🤔
@Eagle3386 not really from how I see it. Instead what I would suggest people do is enable file extensions in explorer (which should be the default in this day and age).
I've got that enabled since I started using Windows (back in the days of 3.11 & 95 SE, that is), but I still find it way more accessible, easier, more comfortable & even more aesthetical to have icons represent what they files actually contain. Especially, when dealing with multiple files of different types within a folder which are all assigned to N++ for editing them.
IMHO the alternative, or should I say fix, would be to include a specific icon for each supported filetype - which could contain the file extension as it previously did.
Another alternative would be to include the software's logo as an overlay on top of N++'s "page" icon.
Back in the days of
NppShell_06.dll
, runningregsvr32 /i NppShell_06.dll
opened up a dialog for, among other things, enabling the "dynamic icon" feature:This would turn any associated file's icon into something like this: (Image borrowed from notepad-plus-plus/notepad-plus-plus/issues/12531)
Was this awesome feature dropped from the new
NppShell.dll
? If yes, can you add it back, pretty please? 🥺 If not & it's still there, how to enable it?