Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug: Rename text box stuck after file/folder is deletedΒ #17960

@JoshG1401

Description

@JoshG1401

Description

When deleting a file/folder, and then quickly pressing F2 to rename before the file/folder is removed, the rename text box gets stuck on another item within the directory. The textbox contains the name of the item that was deleted. From my quick testing, this appears to only be possible if the delete confirmation is enabled. It appears that with the confirmation enabled, the file is only deleted after the confirmation closes (including the transition time). Pressing F2 during this closing transition period causes the stuck rename textbox.

Pressing escape does not remove the textbox.
When pressing enter on the item with the textbox, the file/folder opens as normal as if the textbox wasn't there.
Clicking another item does not remove the text box.
Refreshing the directory just causes the textbox to move to another item.
Renaming another item does not cause the textbox to disappear.

Leaving an re-entering the directory appears to remove the textbox.
Renaming the item with the stuck textbox and then cancelling the rename also appears to remove the textbox.

Steps To Reproduce

  1. Delete an item
  2. Press F2 during the closing transition of the dialog and before the file is removed.

Files Version

4.0.21.0

Windows Version

10.0.26200.7171

User ID

daead8ce-b694-47fd-a515-2b8e90559c32

Log File

debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    πŸ”– Ready to build

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions