Files: Hidden Folder Bug

Created on 31 Oct 2020  路  11Comments  路  Source: files-community/Files

Hello, before I describe the bug I encountered I would like to say that I really admire your work and look forward to the release of the final version of File.

Describe the bug
Whenever I hide a folder using the General Tab in the Properties of that same folder and then hide it using the Hidden items option in the View tab of the default File Explorer, File automatically closes.

To Reproduce
Steps to reproduce the behavior:
(some of this steps were taken from https://www.windowscentral.com/how-hide-files-and-folders-windows-10)

  1. Open File Explorer.
  2. Navigate to the file or folder you want to hide.
  3. Right-click the item and click on Properties.
  4. On the General tab, under Attributes, check the Hidden option.
  5. Click Apply.
  6. Select the Apply changes to this folder, subfolders, and files option.
  7. Click OK.
  8. Click OK again to complete the task.
  9. Open File Explorer
  10. Click on the View tab
  11. Check the Hidden items option

Expected behavior

Screenshots

Desktop (please complete the following information):

  • OS Version: Windows 10.0.19041
  • App version: 0.18.0.0

Additional context

Log file
debug.txt
debug_fulltrust.txt

bug fixed

Most helpful comment

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.91. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 11 comments

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.91. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

I can confirm this. Steps that I took to reproduce it:
1) Opened a folder
2) In default File Explorer set the folder to hidden
3) Got back to Files, right click withing the folder and selected Refresh.

Does Files even support hiding items and displaying those that are already hidden? Under Properties both Read-only and Hidden attributes are disabled for me.
Second question, what would be the desired behavior in this particular scenario?

Does Files even support hiding items and displaying those that are already hidden?

No, but maybe in the future.

Second question, what would be the desired behavior in this particular scenario?

Don't show the hidden folder.

Does Files even support hiding items and displaying those that are already hidden?

No, but maybe in the future.

Second question, what would be the desired behavior in this particular scenario?

Don't show the hidden folder.

Thanks for the answer.
I'd like to contribute to this. Could you please assign me to the issue?

I can't. But @yaichenbaum can.

@yaichenbaum I have a solution for the bug & have created a local branch for it though I can't push the branch (The requested URL returned error: 403). Could you please create a new branch for me with the name 2190-hidden-folder-bug?

@igoragm You can create a pull request when the solution is ready 馃槃

@igoragm You can create a pull request when the solution is ready 馃槃

Well, as it's my first open source contribution ever, that took a bit :D I needed to fork it first.
Anyway, I've created the pull request.

I do have some second thoughts though as I don't really like the message that appears after a folder gets marked as hidden...

@igoragm Congrats on your first contribution!

@igoragm Congrats on your first contribution!

Thanks! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Francisco820 picture Francisco820  路  3Comments

Cyberdroid1 picture Cyberdroid1  路  3Comments

generalguy41 picture generalguy41  路  3Comments

szaimen picture szaimen  路  4Comments

eraychumak picture eraychumak  路  3Comments