https://bugs.kde.org/show_bug.cgi?id=518466
Bug ID: 518466
Summary: Thai filenames, that Spectacle produces, cannot be
sent to `trash:/`
Classification: Frameworks and Libraries
Product: frameworks-kio
Version First 6.24.0
Reported In:
Platform: Fedora RPMs
URL: https://discuss.kde.org/t/which-kde-bugzilla-component
-is-applicable-for-application-independent-trash-probl
ems/45903?u=rokejulianlockhart
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: Trash
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 191227
--> https://bugs.kde.org/attachment.cgi?id=191227&action=edit
A Screenshot Of The Error Within Dolphin
# SUMMARY
My installation of `spectacle-6.6.3-2.fc43`'s image naming format is
`@{'Date'='<yyyy><MM><dd>T<HH><mm><ss><tt>'; 'Type'='Photo';
'Origin'='<title>'}#`. This has never been a problem, until I needed to
screenshot the URI that is cited within
https://github.com/plaintextoffenders/plaintextoffenders/issues/36#issue-4194869402,
wherein solely `<title>` appears to become problematic.
Specifically, Spectacle produces `@{'Date'='20260402T151117+0100';
'Type'='Photo'; 'Origin'='ซื้อหวยออนไลน์ ไม่มีขั้นต่ำ เว็บหวยออนไลน์ จ่ายจริง
บาทละ 900 —
Firefox Nightly'}#.png`, which, when I attempt to `move` to `trash:/` (even via
Dolphin or Gwenview), fails:
> ~~~
> RokeJulianLockhart@Beedell:~$ dolphin $HOME/Pictures/Screenshots/
> kf.kio.workers.trash: Creating trash for "/" failed - no permission?
> "Could not write to file
> /home/RokeJulianLockhart/.local/share/Trash/info/@{'Date'='20260402T151117+0100';
> 'Type'='Photo'; 'Origin'='ซื้อหวยออนไลน์ ไม่มีขั้นต่ำ เว็บหวยออนไลน์
> จ่ายจริง บาทละ 900 — Firefox Nightly'}#.png.trashinfo."
> ~~~
What's strange is that that error may be irrelevant, for:
~~~
#!/usr/bin/env sh
$file=$(mktemp) && \
touch $file && \
kioclient move $file trash:/
kioclient ls trash:/ | grep "$file"
~~~
...demonstrates that the file has been successfully transferred, yet it also
produces:
> kf.kio.workers.trash: Creating trash for "/" failed - no permission?
# STEPS TO REPRODUCE
~~~
#!/usr/bin/env sh
touch "@{'Date'='20260402T151117+0100'; 'Type'='Photo'; 'Origin'='ซื้อหวยออนไลน์
ไม่มีขั้นต่ำ เว็บหวยออนไลน์ จ่ายจริง บาทละ 900 — Firefox Nightly'}#.png" && \
kioclient move "@{'Date'='20260402T151117+0100'; 'Type'='Photo';
'Origin'='ซื้อหวยออนไลน์ ไม่มีขั้นต่ำ เว็บหวยออนไลน์ จ่ายจริง บาทละ 900 —
Firefox
Nightly'}#.png" trash:/
~~~
# OBSERVED RESULT
I am unable to delete such a file:
> ~~~
> kf.kio.workers.trash: Creating trash for "/" failed - no permission?
> kioclient: Could not write to file
> /home/RokeJulianLockhart/.local/share/Trash/info/@{'Date'='20260402T151117+0100';
> 'Type'='Photo'; 'Origin'='ซื้อหวยออนไลน์ ไม่มีขั้นต่ำ เว็บหวยออนไลน์
> จ่ายจริง บาทละ 900 — Firefox Nightly'}#.png.trashinfo.
> ~~~
# EXPECTED RESULT
I should be able to delete any file with that name.
# SOFTWARE/OS VERSIONS
> ~~~
> Operating System: Fedora Linux 43
> KDE Plasma Version: 6.6.3
> KDE Frameworks Version: 6.24.0
> Qt Version: 6.10.2
> Kernel Version: 6.19.10-200.fc43.x86_64 (64-bit)
> Graphics Platform: Wayland
> ~~~
# ADDITIONAL INFORMATION
Originally discussed at
https://discuss.kde.org/t/which-kde-bugzilla-component-is-applicable-for-application-independent-trash-problems/45903/3?u=rokejulianlockhart.
--
You are receiving this mail because:
You are watching all bug changes.