| Summary: | %aCurrent% symbol in user action transformed to wrong file name | ||
|---|---|---|---|
| Product: | [Applications] krusader | Reporter: | appdevsw <appdevsw> |
| Component: | general | Assignee: | Krusader Bugs Distribution List <krusader-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | krusader-bugs-null, nikita+kde, toni.asensi |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Using Ubuntu 18.04
Using Kubuntu 18.04 |
||
|
Description
appdevsw
2018-08-19 14:49:00 UTC
In my tests: a useraction that only does
touch %aCurrent%
works using the git version of Krusader (under Kubuntu 18.04 and under Ubuntu 18.04) and even if the name of the file has non us-ascii characters.
If it can be useful, under Kubuntu 18.04 the execution of
locale
here shows:
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=es_ES.UTF-8
LC_TIME=es_ES.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=es_ES.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=es_ES.UTF-8
LC_NAME=es_ES.UTF-8
LC_ADDRESS=es_ES.UTF-8
LC_TELEPHONE=es_ES.UTF-8
LC_MEASUREMENT=es_ES.UTF-8
LC_IDENTIFICATION=es_ES.UTF-8
LC_ALL=
> Platform: unspecified Linux
Can you give more information about your system, just in case?
Hi,
Thank you for looking at the problem.
I use Fedora 28, x64 , with Openbox.
Locale:
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
Sorry, but I should be more precise.
It’s about characters like: []()
Example:
real file name:
test []()&^%$~`=+{};,.txt
%aCurrent% :
test\ \[\]\(\)\&^%$~`=+\{\}\;,.txt
Hi, appdevsw, I've just tried it and it works even if the file is named
test []()&^%$~`=+{};,.txt
Created attachment 114560 [details]
Using Ubuntu 18.04
Created attachment 114561 [details]
Using Kubuntu 18.04
please export your action and attach here Here is the action: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE KrusaderUserActions> <KrusaderUserActions> <action name="touch"> <title>touch</title> <tooltip>touch</tooltip> <category>Przykłady</category> <description>touch</description> <command>touch "%aCurrent%"</command> </action> </KrusaderUserActions> I started to test it. Without "" it works properly. So I made a mistake when I used %aCurrent% in quotation marks. Sorry. Please close the bug. |