[dolphin] [Bug 485497] New: It is not possible to restore a file with a Cyrillic path when it was moved using QFile::moveToTrash

Roman Golubev bugzilla_noreply at kde.org
Sat Apr 13 19:01:26 BST 2024


https://bugs.kde.org/show_bug.cgi?id=485497

            Bug ID: 485497
           Summary: It is not possible to restore a file with a Cyrillic
                    path when it was moved using QFile::moveToTrash
    Classification: Applications
           Product: dolphin
           Version: 23.08.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: dr64.00 at mail.ru
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
If you move a file containing Cyrillic letters in the path using
QFile::moveToTrash Dolphin cannot restore it from the trash.

STEPS TO REPRODUCE
1. Select a file containing Cyrillic characters in its path;
2. Move a file to the trash using the standard Qt function QFile::moveToTrash;
3. Try to restore a file from the trash.

OBSERVED RESULT
An error message window appears:
The directory /home/user/???????/ does not exist anymore, so it is not possible
to restore this item to its original location. You can either recreate that
directory and use the restore operation again, or drag the item anywhere else
to restore it.

EXPECTED RESULT
Restoring a file "Text File.txt" to "/home/user/Проекты/" where it was
originally located.

SOFTWARE/OS VERSIONS
Operating System: Void 
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
The bug could not be reproduced in other file managers (nemo and pcmanfm-qt
have been tested).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list