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

When viewing a folder externally created hidden files are shown #2195

Closed
rasmus91 opened this issue May 8, 2023 · 5 comments · Fixed by #2200
Closed

When viewing a folder externally created hidden files are shown #2195

rasmus91 opened this issue May 8, 2023 · 5 comments · Fixed by #2200

Comments

@rasmus91
Copy link

rasmus91 commented May 8, 2023

What Happened?

I opened files, then my terminal, and just wrote: clear in zsh. This caused a .zsh_history.LOCK file to appear in the files view.
image

If F5 is hit to refresh after, the fiels does as its supposed to

image

Steps to Reproduce

  1. Opened files, leave it on the home folder
  2. Opened terminal (zsh) and type clear
  3. the .zsh_history.LOCK file appeard in the files view where its set to not show hidden files.

Expected Behavior

I would expect files to not show hidden files when set to not show hidden files

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@jeremypw
Copy link
Collaborator

jeremypw commented May 8, 2023

I could not reproduce this (in latest master) by using the command touch .zsh_history.LOCK instead of clear as I use bash. Does it only happen for you with zsh or with all externally created hidden files?

@rasmus91
Copy link
Author

rasmus91 commented May 8, 2023

No idea. I'll check when i get the opportunity.

@janxkoci
Copy link

janxkoci commented May 8, 2023

I can reproduce it by just editing some text file in Code - it creates hidden tempfiles (dotfiles) in the same directory, but they are visible in Files. The files disappear when I flip the "show hidden" switch on-and-off-again in the cog menu. I almost reported the wrong bug to Code repo, but then after flipping the switch I realized the problem might rather be here.

PS: I forgot I made a screenshot for the other issue report:

Snímky obrazovky pořízený 2023-05-08 20 04 02

@rasmus91
Copy link
Author

rasmus91 commented May 9, 2023

I could not reproduce this (in latest master) by using the command touch .zsh_history.LOCK instead of clear as I use bash. Does it only happen for you with zsh or with all externally created hidden files?

I can reproduce it by just editing some text file in Code - it creates hidden tempfiles (dotfiles) in the same directory, but they are visible in Files

I guess I don't need to check further?

@jeremypw
Copy link
Collaborator

jeremypw commented May 9, 2023

OK, I can confirm the Code temp file issue when using the most recent stable ISO. I'll check again using Files compiled from latest source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants