kde-servicemenus icon indicating copy to clipboard operation
kde-servicemenus copied to clipboard

Newline character before file name

Open sicherist opened this issue 1 year ago • 7 comments

Hello and thank you for creating this add-on! I use it mainly to copy the filename, and a few days ago the behavior changed: Now every time I copy a file name, there is a new-line character in front of the file name. This is a problem when pasting into spreadsheets. Is anyone else seeing this problem?

Unfortunately I don't know what software update caused this, maybe dolphin changed something? I'm running Kubuntu 23.10, Dolphin 23.08.1

sicherist avatar Mar 07 '24 09:03 sicherist

Hi @sicherist , the problem has been introduced with the last version: now it copies more files at once keeping all them in the same "Klipper cell" and to avoid a mess I used the new line as a char separator. I just forgot to remove the first and useless new-line char from the output, I am going to fix it though!

fabiomux avatar Mar 07 '24 10:03 fabiomux

Added the 1.3.1-beta1 package in the KDE store, let me know if it is fixed :)

fabiomux avatar Mar 07 '24 10:03 fabiomux

Thank you very much! The beta-package fixed the issue. One other thing I noticed is that there is now always a "kdialog" popup, when I copy a filename. Is there a way to disable it?

sicherist avatar Mar 07 '24 13:03 sicherist

Thanks to you @sicherist :), I am going to fix this one too, probably shutting it down by default and using a shell variable to turn it on again!

fabiomux avatar Mar 07 '24 15:03 fabiomux

Added the 1.4.0-beta1, if everything works fine I will upload all of them as stable versions.

fabiomux avatar Mar 07 '24 15:03 fabiomux

Thank you very much, it works well! (I didn't test all the functions, just the "copy the name only"). In 1.4.0-beta1 there is no localization except Italian - I assume this is intentional?

sicherist avatar Mar 07 '24 16:03 sicherist

Ah sorry, being in hurry I forgot to double-check the filename, anyway all the localizations are up now! :)

fabiomux avatar Mar 07 '24 18:03 fabiomux