sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

System Recent Files doesn't show up in task bar

Open ryuukk opened this issue 2 years ago • 9 comments

Description of the bug

In build 4127 was added:

  • Files opened in Sublime Text are now added to the system recent file list (see the "update_system_recent_files" setting)

But when I right click on the task bar's sublime text icon, the recent files/folders doesn't show up

Steps to reproduce

  • Download latest Sublime Text 4 Dev build (starting from 4127)
  • Open it
  • Open a folder
  • Close Sublime Text

Expected behavior

When i right click on the ST's task bar icon, i should be able to see the list of recent folders

Actual behavior

There is nothing

Sublime Text build number

4127

Operating system & version

Windows 10

(Linux) Desktop environment and/or window manager

No response

Additional information

Portable(zipped) Release of sublime text

Maybe it requires an installer to install special files/config?

OpenGL context information

No response

ryuukk avatar Mar 10 '22 15:03 ryuukk

Note that only files are added to the system recent file list, not folders.

BenjaminSchaaf avatar Mar 11 '22 00:03 BenjaminSchaaf

Note that only files are added to the system recent file list, not folders.

What's the reason for not having both? the API on windows accepts both

For such feature, folders makes more sense IMO

https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nn-shobjidl_core-icustomdestinationlist

https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shaddtorecentdocs

ryuukk avatar Mar 11 '22 05:03 ryuukk

It was a fair of extra work to do folders and iirc only Windows has recently opened folders.

BenjaminSchaaf avatar Mar 11 '22 05:03 BenjaminSchaaf

It was a fair of extra work to do folders and iirc only Windows has recently opened folders.

macOS also has it, I can confirm that with at least VSCode

ryuukk avatar Mar 11 '22 11:03 ryuukk

There is also the concept of Tasks, it would be a good idea to implement to have "New Folder" directly in the task bar jump list

This extra OS integration is too good to not have, exists for both macOS/Windows, and also GTK/KDE, that'll be extra work for sure, but it is easy to abstract anyways, it could be implemented piece by piece over time

Example with python:

https://github.com/qermit/jumplists

ryuukk avatar Mar 11 '22 11:03 ryuukk

Hello

What is the status on this?

I am annoyed every time i have to use Sublime

ryuukk avatar Jul 20 '22 14:07 ryuukk

I love getting ignored, so i'll be a little bit more specific why it is annoying

I work with multiple projects, so i open multiple folders

It is a pain to open a specific folder, since i can't set as "Favorite" a specific project, so it always is a pure waste of time

  • Open ST
  • Check in the Recent Folders if the beloved project is here
  • If here open it
  • If not here, i close this menu
  • THen i open a folder
  • Then i browse using the native file window
  • Once i find my beloved project i open

With VSCode i can just

  • Right Click the icon
  • Open the Folder at the top, it is the list of favorite projects

Hopefully you know understand why i am annoyed every time i have to use Sublime

Regards

ryuukk avatar Jul 24 '22 20:07 ryuukk

Fwiw if you use Sublime Text projects you can quickly switch between them using fuzzy search.

BenjaminSchaaf avatar Jul 25 '22 01:07 BenjaminSchaaf

I'm not interested in "fuzzy search", and even then, that would imply sublime text is already open In vscode i can just right click the icon on the task bar and it's done

Please try vscode to understand what i mean, and how useful their feature is

ryuukk avatar Jul 27 '22 19:07 ryuukk

same problem even with 4142 (* Files opened in Sublime Text are now added to the system recent file list (See the "update_system_recent_files" setting))

do you test your updates?

ryuukk avatar Nov 28 '22 02:11 ryuukk