File browser: filename not updated immediately after rename #95854

Open
opened 2022-02-18 00:20:40 +01:00 by Georg K · 3 comments

System Information
Operating system: Linux-5.15.21-1-MANJARO-x86_64-with-glibc2.33 64 Bits
Graphics card: AMD VERDE (DRM 2.50.0, 5.15.21-1-MANJARO, LLVM 13.0.0) AMD 4.5 (Core Profile) Mesa 21.3.5

Blender Version
Broken: version: 3.0.1, 3.2.0 Alpha, branch: master, commit date: 2022-02-16 14:40, hash: 03ff58b67d
Worked: -

Short description of error
Opening renamed files does not work if you click "Open" in the file browser immediately after renaming.

Exact steps for others to reproduce the error
Let's assume there is a file A.blend
Open Blender's file browser, right-click A.blend and rename it to B.blend.
Press Enter to confirm your changes, then click "Open"
Blender now tries to open a file with the old name A.blend and can't find it anymore, so it shows an error message:
"Report: Error
Cannot read file '/yourpath/A.blend': No such file or directory"

The renamed file will open:

  • if instead of clicking "Open" the renamed file is double-clicked.
  • after selecting a different file and then selecting the renamed file again (now "Open" works).
  • after clicking refresh/changing to a different directory and back.

Changing display mode or clicking in the search field before clicking "Open" does not help.

**System Information** Operating system: Linux-5.15.21-1-MANJARO-x86_64-with-glibc2.33 64 Bits Graphics card: AMD VERDE (DRM 2.50.0, 5.15.21-1-MANJARO, LLVM 13.0.0) AMD 4.5 (Core Profile) Mesa 21.3.5 **Blender Version** Broken: version: 3.0.1, 3.2.0 Alpha, branch: master, commit date: 2022-02-16 14:40, hash: `03ff58b67d` Worked: - **Short description of error** Opening renamed files does not work if you click "Open" in the file browser immediately after renaming. **Exact steps for others to reproduce the error** Let's assume there is a file A.blend Open Blender's file browser, right-click A.blend and rename it to B.blend. Press Enter to confirm your changes, then click "Open" Blender now tries to open a file with the old name A.blend and can't find it anymore, so it shows an error message: "Report: Error Cannot read file '/yourpath/A.blend': No such file or directory" The renamed file will open: - if instead of clicking "Open" the renamed file is double-clicked. - after selecting a different file and then selecting the renamed file again (now "Open" works). - after clicking refresh/changing to a different directory and back. Changing display mode or clicking in the search field before clicking "Open" does not help.
Author

Added subscriber: @georgK

Added subscriber: @georgK
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:22:12 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#95854
No description provided.