(Usability) VFS should emit warning for Windows-native absolute path

Bug #1429241 reported by ellie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
Undecided
rdb

Bug Description

For incorrect case, panda/VFS emits a warning:

:express(warning): Filename is incorrect case: /c/users/jonas/appdata/local/temp
/tmptqzlsccrystalbutt_shaders_defaultvertex_glsl instead of /c/Users/jonas/AppDa
ta/Local/Temp/tmptqzlsccrystalbutt_shaders_defaultvertex_glsl

However, if given a C:\... native style absolute path, it just quietly fails (Filename.exists returns False etc). Instead, it should also emit a similar warning pointing the user in the correct direction similar to the case sensibility one.

Tags: windows
Revision history for this message
rdb (rdb) wrote :

This is a good suggestion. Not sure where this check would best be made, though - perhaps in the exists() implementation.

rdb (rdb)
tags: added: windows
Revision history for this message
rdb (rdb) wrote :

A warning is now issued. Thanks for the suggestion!

Changed in panda3d:
assignee: nobody → rdb (rdb)
milestone: none → 1.10.0
status: New → Fix Committed
rdb (rdb)
Changed in panda3d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.