https://bugs.kde.org/show_bug.cgi?id=507952

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
With all the respect I believe this is the expected result.

Widget auto detects links in copied text so they are formatted properly and can
be opened (sic!). Since in URI standard quotation mark is treated as a special
sign it must be percent encoded. Therefore proper file URI string will contain
```%22``` instead of ```"```.

This work as intended if you use dolphin to copy file - simply copy the file
you want a proper uri is available in clipboard so you can paste it wherever
its needed including notes widget. It automatically percent-encode the text if
needed. This applies to more then quotation mark sign. There whole bunch that
need to be encoded.

One can argue that invalid URIs should still be copied as they are without
formatting but it also opens gate to other problems like: "hey, I paste file://
(or https:// or whatever) link and it is not recognized".  Or if we treat such
invalid text as link anyway then "Hey, I click on the link and it does not
work". Therefore I see merits in current solution.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to