upscayl / upscayl

🆙 Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.

Home Page:https://upscayl.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows 11 image paths displayed incorrectly in tooltip if excessively long

IsaacHatton opened this issue · comments

Checklist

  • I have tried ALL of the steps mentioned in the troubleshooting guide.
  • I have searched for this in the issues tab.
  • My error involves vkEnumeratePhysicalDevices or vkCreateInstance, which means I should ignore the other issues and file this one despite the last checkbox.

Describe the Bug

Windows 11 image path with spaces displayed incorrectly

To Reproduce

Put an image in a folder called 'new folder'
Load it into Upscayl
Hover over set output folder
Path is displayed incorrectly'

Upscayl Version (or commit hash)

2.9.4

Platform

Windows

OS Version

Windows 11

GPU Name

Intel Iris Xe

Expected Behavior

Show full path

Screenshots

No response

Logs

Will upload if necessary for this bug report, but as this isn't a graphics or AI issue, I don't think it would help.

In the logs the path is shown correctly when the image loads into the app.

image
How would it be displayed incorrectly?

Apologies, I think I misunderstood the error, it happens with really long path lengths rather than due to the spaces.
image

Correct path in Explorer breadcrumbs and as displayed in PowerShell

C:\Users\REDACTED\Desktop\upscayl-test\qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnm\qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnm\qwertyuiopasdfghjklzxcvbnmq

However, Explorer's copy as path option copies the same string as what Upscayl shows.

There's a chance this is an operating system issue as well, as MS Paint struggles to "Save To" this location also.

Fixed in 2.11