-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Windows: Jump list misses files and folders in the recent category when opened #241
Windows: Jump list misses files and folders in the recent category when opened #241
Comments
Maybe someone can enlighten me how to tell Windows that an application can handle files/folders :) |
Does electron API method |
It does but there is more requirements for this to work on Windows. |
The |
Yes, tasks seem to be a different concept that work without issues. |
It's either
or both. |
same issue is happening to me on atom too atom/atom#4241 (comment) |
@bpasero Just tried with latest Atom beta and i can get files to appear in the jump list but only using the file menu - atom/atom#4241 (comment) |
VS Code switched away from using Squirrel for Windows for installation so it is well possible that Atom includes installation procedures that make it possible to show files in the jump list and VS Code's installer needs to do the same. Would still like to find out what exactly is needed. |
Any updates on this issue? At the moment, I have to: Right-click the taskbar icon -> select * or use Ctrl+Shift+N/file menu. |
I have not been able to get any help from other Microsoft people. Why it fails remains a mystery to me. |
Bringing folders to the jump list could easily be a better alternative to having several open folders in one window. At least for Windows of course. MS folks, please give this item some love. |
According to the documentation registering under
This worked as expected, but broke when used
I'm struggling to build VSCode at the moment so I've not been able to check if this actually works. |
Looks like |
Yeah, maybe a better idea to just set our own custom jump list instead of relying on Windows to do it. Even if we update Electron this release, I would wait one release before using new API in case we have to revert. |
@JustinPealing thanks for looking into this, can you clarify how your application registers differently from VS Code? Our installer is setting quite a bit of keys and I wonder how your registration differs (see https://github.com/Microsoft/vscode/blob/master/build/win32/code.iss#L74) Btw we recently updated our instructions how to build VS Code on windows and it should work fine now: https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run-from-source |
I see atom has fixed the recent items issue I had. But there is another separate bug I've opened but with re-opening recent items atom/atom#12655 I don't see atom using the custom jump lists api @bpasero I find that I also have to include |
@pflannery thanks for letting us know. @joaomoreno didn't we use to have the arch inside npm.sh at one point? |
We have it in |
@bpasero The only key my dummy app registered was under Here is a .reg dump of the relevant key:
|
@JustinPealing the root cause of this issue is that we call |
Verification: right click on the task icon on Windows and see recent files showing up. Recent files are added e.g. by right click on a file and open with Code or by using the "File > Open File" dialog. For folders: we show them as custom tasks. |
I pushed a change to add recent folders as custom tasks to the list as I am not able to make folders show natively. This is a good workaround imho, even though it is not 100% the same as letting Windows show folders in the recent category. |
@octref yes I decided to put folders into their own category to simulate the behaviour of the explorer where files and folders are also separate. You say this should be changed? |
Oh I thought by this
You meant the folders would show up under the category "Tasks" in the screenshot above. |
Which is of course a good change. Only thing I'd say is to change the icons to folder icons if you could. |
Yes, if someone can provide me with good looking folder icons, I can add them. @bgashler1 maybe? I think the format needs to be *.ico |
Somehow on Windows we do not show up with files and folders in the jump list. I think this is some docs what to do to make it happen: https://msdn.microsoft.com/en-us/library/windows/desktop/ee872121(v=vs.85).aspx
The text was updated successfully, but these errors were encountered: