elementary / elementary/files

Creating a new folder/file and pressing enter does not open correct item

Open
#2,236 3 comments 2 reactions 0 assignees View on GitHub
Status: Confirmed
Dominant language
Vala
Stars
365
Forks
82
Avg merge
4d 2h
Merged PRs (30d)
3

Description

### What Happened?

I tried to create a new folder and when I hit `Enter` it tried to open the untitled folder:

![Peek 2023-07-03 09-22](https://github.com/elementary/files/assets/7832163/47d4e1f5-b57a-4ddd-bed7-21a28ffd199a)

It does the same for files, but opens code with a "new file" file

### Steps to Reproduce

1. Right click, *New* > *Folder*
2. Type in a name and press `Enter` to save
3. Press `Enter` again to open
4. Failure

### Expected Behavior

It should open the correct file/folder

### OS Version

7.x (Horus)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.