[Bug]: "Copy Path To Clipboard" function - No directory separators on Windows, loses subdirectories #15309
Closed
4 of 6 tasks
Labels
bug
Report of a confirmed bug
Checklist
What happened?
When attempting to copy the path of a checkpoint or Lora to clipboard using the "Copy Path To Clipboard" icon (either on the card, or on the tree view), the resulting data in the clipboard lacks any directory separators.
e.g.
E:A1111 Web UIStabilityMatrixDataPackagesStable Diffusion WebUImodelsStable-diffusion
I suspect this an escaping issue, since Windows uses the backslash as a directory separator, while python uses it for character escaping.
Steps to reproduce the problem
What should have happened?
The clipboard contents should contain a proper windows path to the location of the resournce. e.g
E:\A1111 Web UI\StabilityMatrix\Data\Packages\Stable Diffusion WebUI\models\Stable-diffusion\00. Favorites\Illustration
What browsers do you use to access the UI ?
Mozilla Firefox, Google Chrome, Other
Sysinfo
sysinfo-2024-03-18-18-41.json
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: