Some System Folders do not contain go back arrow #43113

Closed
opened 2015-01-03 22:26:15 +01:00 by Aaron Carlisle · 15 comments
Member

Blender Version
Broken: 2.73.1 8a28895
Worked: (optional)

Short description of error

Some system and other folders that the normal os is not allowed to go into do not contain the icon to go up a directory

Exact steps for others to reproduce the error

  1. Open a system folder in the file browser

pasted_file

**Blender Version** Broken: 2.73.1 8a28895 Worked: (optional) **Short description of error** Some system and other folders that the normal os is not allowed to go into do not contain the icon to go up a directory **Exact steps for others to reproduce the error** 1. Open a system folder in the file browser ![pasted_file](https://archive.blender.org/developer/F134996/pasted_file)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Author
Member

This is only reproducible with some folders. seems like folders with no files that are in the filters

This is only reproducible with some folders. seems like folders with no files that are in the filters

Added subscriber: @mont29

Added subscriber: @mont29

I’m pretty suer we already had this reported for windows not so long ago… but I cannot find again the report.

Cannot reproduce under linux for sure. More precise description of how to reproduce error might help? Does a complete empty folder have that effect too?

I’m pretty suer we already had this reported for windows not so long ago… but I cannot find again the report. Cannot reproduce under linux for sure. More precise description of how to reproduce error might help? Does a complete empty folder have that effect too?
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

On Linux it happens on folders we cannot access to as well. E.g. try to open /root/ without being root. Console prints "/root/ non-existent directory".

It looks like the ".." entry is added by the OS (I'd guess through readdir()) so if we wanted to add a ".." entry in there, we had to hack it somehow in. A different solution would be disallowing changing into such directories. All that would be needed here is returning poll = 0 for the execute operator and a nice little error message.

On Linux it happens on folders we cannot access to as well. E.g. try to open /root/ without being root. Console prints "/root/ non-existent directory". It looks like the ".." entry is added by the OS (I'd guess through `readdir()`) so if we wanted to add a ".." entry in there, we had to hack it somehow in. A different solution would be disallowing changing into such directories. All that would be needed here is returning poll = 0 for the execute operator and a nice little error message.

Ha ok, can confirm, and think I know what to do here. Will fix.

Ha ok, can confirm, and think I know what to do here. Will fix.
Bastien Montagne self-assigned this 2015-01-04 16:03:12 +01:00
Member

@Blendify does the issue still occur?

@Blendify does the issue still occur?
Author
Member

No just test with todays build

my "nethood" and other system folder do not contain the icon

No just test with todays build my "nethood" and other system folder do not contain the icon
Bastien Montagne was unassigned by Aaron Carlisle 2015-02-18 19:09:46 +01:00
Aaron Carlisle self-assigned this 2015-02-18 19:09:46 +01:00
Aaron Carlisle removed their assignment 2015-02-18 19:12:55 +01:00
Bastien Montagne was assigned by Aaron Carlisle 2015-02-18 19:12:55 +01:00
Bastien Montagne was unassigned by Aaron Carlisle 2015-02-19 02:02:05 +01:00
Aaron Carlisle self-assigned this 2015-02-19 02:02:05 +01:00
Aaron Carlisle changed title from Empty folders do not contain go back arrow to Some System Folders do not contain go back arrow 2015-02-19 02:03:45 +01:00
Aaron Carlisle removed their assignment 2015-02-19 02:03:45 +01:00
Bastien Montagne was assigned by Aaron Carlisle 2015-02-19 02:03:45 +01:00
Author
Member

I think the best option for this is to prevent users from going into these folders. I found that other programs such as Google chrome have the same problem. Google Chrome can be used to explore a computers directories and has the same result when going into these system folders. As for the error message I request that it doest produce a small window such as other areas in blender. I think that the error message should extend down from the header then extend back up after users have time to see and read the message so about 5 seconds.

I think the best option for this is to prevent users from going into these folders. I found that other programs such as Google chrome have the same problem. Google Chrome can be used to explore a computers directories and has the same result when going into these system folders. As for the error message I request that it doest produce a small window such as other areas in blender. I think that the error message should extend down from the header then extend back up after users have time to see and read the message so about 5 seconds.
Member

This (getting more information about folders) isn't supported yet and can be considered as a todo IMHO

This (getting more information about folders) isn't supported yet and can be considered as a todo IMHO

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Grrr… Fixed by 114d1b23d2.

Grrr… Fixed by 114d1b23d2.
Author
Member

hurray

hurray
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
3 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#43113
No description provided.