Skip to content
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

[Bug]: In the Source Control panel, the right-click menu cannot be opened for formats other than markdown files. #766

Open
tp1415926535 opened this issue Sep 6, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@tp1415926535
Copy link

tp1415926535 commented Sep 6, 2024

Describe the bug

I found that only .md files can open the context menu in the “Source Control” panel, but not files with other extensions, such as json.
But obsidian's default file list other formats support to open the context menu.

Sometimes some json files have changed and I want to know which file they are in, but the context menu doesn't work.

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

No response

Steps to reproduce

just open obsidian and right click the json file in "Source Control" panel .

Expected Behavior

No response

Addition context

No response

Operating system

Windows

Installation Method

None

Plugin version

2.26.0

@tp1415926535 tp1415926535 added the bug Something isn't working label Sep 6, 2024
@tp1415926535 tp1415926535 changed the title [Bug]: "Source Control" panel the file context menu often unable to open. [Bug]: "Source Control" panel right-click menu can't be opened except for files in other formats. Sep 6, 2024
@tp1415926535 tp1415926535 changed the title [Bug]: "Source Control" panel right-click menu can't be opened except for files in other formats. [Bug]: In the Source Control panel, the right-click menu cannot be opened for formats other than markdown files. Sep 6, 2024
@Vinzent03
Copy link
Owner

Sorry, but I can't reproduce your issue. Are there any errors in the console (CTRL+SHIFT+I)?

@tp1415926535
Copy link
Author

Sorry, but I can't reproduce your issue. Are there any errors in the console (CTRL+SHIFT+I)?

There are no errors. This GIF will show how my other formats unable to open the context menu
PixPin_2024-09-10_09-29-44

@Vinzent03
Copy link
Owner

I can reproduce that now. These aren't usual json files, but the internal ones in the .obsidian directory. Obsidian doesn't really support files in hidden directories (starting with a dot). Since most of the entries in the context menu come from Obsidian itself, they don't support these files. So this is actually expected behavior. What exact entry in the context menu do you need?

@tp1415926535
Copy link
Author

I can reproduce that now. These aren't usual json files, but the internal ones in the .obsidian directory. Obsidian doesn't really support files in hidden directories (starting with a dot). Since most of the entries in the context menu come from Obsidian itself, they don't support these files. So this is actually expected behavior. What exact entry in the context menu do you need?

I see, obsidian doesn't even support showing hidden folders. I just wanted to Show in system explorer, but if the software doesn't support it natively, I think no need to be too concerned about the need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants