The string typed into the search bar is passed to service scripts as the third argument of the populate function. This string has '%20' appended to the end of it, which could interfere with a script's processing of the string. An easy workaround is for the script to use filter.slice(0,-3), but Amarok should pass the string to the script verbatim in the first place. Reproducible: Always Steps to Reproduce: 1. Type string in search bar for a scripted service. 2. Make scripted service display this string, for example by putting Amarok.debug(filter); in the populate function. Actual Results: String has '%20' at the end. Expected Results: String is passed to the script verbatim.
To be clear, the issue here is not that there is %20 instead of a space. The issue is that there is a space at the end even though it isn't typed into the search bar.
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Uh, Amarok is a dead project at this point. I'm surprised the bugs haven't all been closed already.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!