SUMMARY When trying to open a document through the recent documents on the start page, on windows it will say the file doesn't exist and it puts file:/// before the path on windows. Also observed the path points to the wrong drive, it points to C drive but in my case the file is in the F drive. STEPS TO REPRODUCE 1. Open krita on windows 2. Try to open any file through the recent documents on the start page OBSERVED RESULT A warning popup saying the file doesn't exist showing the path "file:///C:/..." the drive letter was also wrong EXPECTED RESULT opening the file SOFTWARE/OS VERSIONS Windows: 10 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Did you move the file to another drive after saving?
(In reply to Tymond from comment #1) > Did you move the file to another drive after saving? no, it was always in the same drive since the file creation.
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information.
I want to add some info that might be relevant and some tests I just did. Even before installing krita at all I changed the location of windows default image folder from the drive C to F and I store all my kra files in a folder inside that one. I did 2 tests right now: 1)I saved a file inside my user folder in the F drive, created when I changed the path of the default image folder. Same result, it tries to find the file as it was in the drive C. 2)I saved a file in the drive F in a folder outside the ones created by windows, this time it worked fine, the image loaded without a problem. I hope this info helps
Hm, weird... The extra info should help, but I still haven't found a way to reproduce.
(In reply to Boudewijn Rempt from comment #5) > Hm, weird... The extra info should help, but I still haven't found a way to > reproduce. The way I think you can reproduce this bug is: 1) Change the location that one of the windows default folders (images,videos,documents, and so on...) points to. That can be done by right click and in the local tab you change the local to another drive. 2) Save the file inside the folder you changed the location it points to. 3) Try to open the file through the recent documents. What I also noticed is that the open recent in the file menu gets disabled, like there were no recent opened files at all.
Hm.... That would make it a bug in Qt, because it's Qt that handles finding the special folders, like Pictures. Let me search for something like that...
Commit 91bbbd5ffd, Qt 5.12.11. With Krita open, I used the Location panel to move the Videos folder from my account's home dir to the D: drive, then stored a KRA inside that folder (didn't navigate to D:\Videos, just selected Videos in the native file picker). Saved successfully and opened successfully from Recent Documents. Trying the same steps with the Qt dialog results in a successful roundtrip as well.