"Find Missing Files" case sensitivity on windows #51432

Closed
opened 2017-05-07 14:49:01 +02:00 by Richard Erhardt · 4 comments

Windows 7 64-bit
GeForce GTX 960
2.78c Windows 32 bit

Operation "Find Missing Files" in External Data menu failes to find a file that is different by filename case to the searched missing filename. Example: The missing file inside blender is named "tex.png", and there is an existing file on the system called "TEX.png", Blender will not find it using the "Find Missing Files" operator.

Reproduce:

  • Unpack the archive and keep folder structure
  • Open test.blend, which has an image named "tex.png" assigned to all faces of the cube. In this directory, the file is not available
  • Use "Find Missing Files" to search in the subdirectory "subdir", where a file named "TEX.png" exists
  • Blender reports "Could not find 'tex.png' inside [...]"

BlenderBug.zip

Why this is a bug:
Windows files and folder can have case sensitive names, but they are not distincted by case unlike linux. Two files "a.txt." and "A.txt" cannot coexist in one folder. Using any filebrowser (also Blenders filebrowser!) will return the file even if the case is wrong. In the above testfile I can replace the missing texture the following way, without correcting the filename case:

  • In Blenders UV Image Editor click "Image" -> "Open Image"
  • Navigate to "subdir"

Click "Open Image"

Blenders filebrowser does work correctly with case-sensitivity, but "Find Missing Files" does not.

Windows 7 64-bit GeForce GTX 960 2.78c Windows 32 bit Operation "Find Missing Files" in External Data menu failes to find a file that is different by filename case to the searched missing filename. Example: The missing file inside blender is named "tex.png", and there is an existing file on the system called "TEX.png", Blender will not find it using the "Find Missing Files" operator. Reproduce: - Unpack the archive and keep folder structure - Open test.blend, which has an image named "tex.png" assigned to all faces of the cube. In this directory, the file is not available - Use "Find Missing Files" to search in the subdirectory "subdir", where a file named "TEX.png" exists - Blender reports "Could not find 'tex.png' inside [...]" [BlenderBug.zip](https://archive.blender.org/developer/F591084/BlenderBug.zip) Why this is a bug: Windows files and folder can have case sensitive names, but they are not distincted by case unlike linux. Two files "a.txt." and "A.txt" cannot coexist in one folder. Using any filebrowser (also Blenders filebrowser!) will return the file even if the case is wrong. In the above testfile I can replace the missing texture the following way, without correcting the filename case: - In Blenders UV Image Editor click "Image" -> "Open Image" - Navigate to "subdir" # Click "Open Image" Blenders filebrowser does work correctly with case-sensitivity, but "Find Missing Files" does not.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @dimali

Added subscriber: @dimali

This issue was referenced by 1cfc48192c

This issue was referenced by 1cfc48192c8555642f9fa6c03d96f558b46a0430

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#51432
No description provided.