[pulsar-next] Renaming a file in the tree-view makes the file lose the name #1145
Labels
bug
Something isn't working
pulsar-next
Related to the version of Pulsar that runs on the latest Electron
Thanks in advance for your bug report!
What happened?
In newest electron branch, renaming an open file in tree-view causes weird behavior: the file in the editor gets the name
untitled
, and can't be saved (it'll cause an exception).If I rename the file outside the editor, it disappears from tree-view, and it'll not change the file in the editor (but it'll stay in the editor, as unsaved, with the old name).
Pulsar version
1.122.2024112215 (new Electron branch)
Which OS does this happen on?
🐧 Debian based (Linux Mint, Ubuntu, etc.)
OS details
22.04
Which CPU architecture are you running this on?
x86_64/AMD64
What steps are needed to reproduce this?
mkdir /tmp/something
touch /tmp/something/file.py
pulsar /tmp/something
In this case, the file in the editor will be called
untitled
, lose all syntax highlight, and trying to save it will cause anENOENT
exception (visible only at the devtools)OR, case 2:
mv /tmp/something/file.py /tmp/something/other.py
In this case, the file in the editor will stay as
file.py
, and it'll disappear from the tree-view (andother.py
won't also appear at the tree-view).In the editor,
file.py
will be marked as modified, and saving it will create thefile.py
again.Additional Information:
No response
The text was updated successfully, but these errors were encountered: