ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.33k stars 104 forks source link

sleek doesn't care about URL arguments #482

Closed auroraanna closed 1 year ago

auroraanna commented 1 year ago

Is it an actual bug? Yes, if I interpreted https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables correctly.

Did you check if the bug has already been reported? No, I didn't find an issue about it.

Describe the bug The .desktop file's Exec=sleek %U says that sleek can open URLs in the arguments but it just doesn't care at all about them. No output in the console related to them.

To Reproduce Steps to reproduce the behavior:

  1. sleek https://github.com/ransome1/sleek

Do you see any error entries in sleeks developer tools? Could not open developer tools with CTRL + SHIFT + I.

Expected behavior sleek does something with those URLs like opening them if they are todo.txt files.

Desktop (please complete the following information):

ransome1 commented 1 year ago

@auroraanna Maybe a copy and paste mistake. sleek is not suppose to open a URL, when you open it like you do in your example. If you remove the %U from the desktop file, does sleek still open? I have currently no access to a Linux system

auroraanna commented 1 year ago

yes, sleek still opens without

auroraanna commented 1 year ago

So, it was just added because of incompetence and can be removed? Sleek doesn't take any other arguments, right?

ransome1 commented 1 year ago

clearly incompetence