Blender Delete file | problem #88131
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#88131
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10 home 64x
Graphics card: GTX 1050 ti 8gb
Blender Version
Worked: 2.90
Short description of error
the hit X to delete data from inside the File Browser is dangerous because theres no bin. This is a very dangerous operation with no way to get data back.
look at the Windows folder!!! Very dangerous!!!
Exact steps for others to reproduce the error
always
Added subscriber: @Das_Nicolaj
Added subscriber: @Calra
Changed status from 'Needs Triage' to: 'Needs User Info'
I deleted files by pressing
X
in the File Browser.There are going to the Recycle Bin in Windows.
Can you double check?
I cannot reproduce this issue.
PC is freezing of this
and what about the Windows folder?
Added subscriber: @rjg
@Das_Nicolaj Since commits
8825250f5a
and98dfb4dd1c
all file delete operations from the file browser result in moving the files and directories into the recycling bin.Please describe step by step what you are doing and what happens as a result of it. What do you mean by "look at the Windows folder"? Please also tell us what version of Blender are you testing this in?
In the default keymap the {key X} is mapped to call
file.delete
in the file browser (FILE_OT_delete
implemented infile_ops.c
). This function in turn callsfile_delete_exec
, which callsfile_delete_single
. To delete the files it only uses the non-destructiveBLI_delete_soft
that moves them to the recycling bin.Added subscriber: @Harley
On Windows, deleting a file in the File Browser sends it to the Recycle Bin where it can be recovered.
Don't delete that. Don't do that from inside Blender, and don't do that from outside Blender.
Do not delete them from your house, do not delete them with your mouse. Do not delete them in a box, do not delete them with a fox. Do not delete them in your car, keep them keep them, where they are. Do not delete them here nor there, do not delete them anywhere.
@Das_Nicolaj If you did indeed mean that you tried to delete files from
C:\Windows
then this is a bad idea no matter whether you attempt to do this from within Blender or the Windows Explorer. Those files are part of the Windows operating system and should not be deleted or moved.Added subscriber: @deadpin
No repro here -- the file will go the recycle bin for me.
Additionally, if you navigate to the windows folder with blender and attempt to
x
a text file (for example) you are first prompted with a Windows dialog asking if you want to elevate to Administrator since that's what's required (your account needs to be part of the Administrators group for this to even happen).Hitting yes will then prompt you again with another dialog because the app itself needs permission to make changes to such folders.
If you click though both of those confirmations the file will finally end up in the Recycle Bin.
That said, I do think it's unfortunate that the file browser takes over keys in general. I would really like to start typing and have the file browser just navigate to the file/folder whose letters I'm typing. This occurs in all other file browsers so it's entirely reasonable for a user to expect this behavior. But right now it takes over all the keys like T, N, X etc. for its own purposes. This is not a bug today but a larger design issue that would be discussed elsewhere.
Changed status from 'Needs User Info' to: 'Archived'
No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.
Thanks again for the report. If the problem persists please open a new report with the required information.
sorry if i give no reation
will the design of the X delete will removed if i can ask?
@Das_Nicolaj We won't be implementing any changes if it's not apparent what the problem is. Please answer the following questions:
All files and directories deleted in the file browser should be moved to the recycling bin when using a Blender version after commit
98dfb4dd1c
.I try to delete a folder with images from my work and it still there