Bug 409695 - pasting URI in composer doesnt add href in richtextmode
Summary: pasting URI in composer doesnt add href in richtextmode
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 5.10.3
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-10 17:54 UTC by Christo
Modified: 2019-07-12 05:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christo 2019-07-10 17:54:32 UTC
Pasting an (https://) URI into the composingeditor does not handle href in richtext-mode

STEPS TO REPRODUCE
1. paste an URI
2. send mail
3. URI recieved doesnot implement <a href and no option to allow it

OBSERVED RESULT

just a plaintext

EXPECTED RESULT

having a personal setting to parse URIs alng with its href (( , or enable behaviour :-)) 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.10.3
KDE Frameworks 5.55.0
Qt 5.9.7 (kompiliert gegen 5.9.7)
opensuse LEAP 15.1
Comment 1 Laurent Montel 2019-07-11 06:27:53 UTC
Indeed you're right
§I will look at how to fix it.
Comment 2 Laurent Montel 2019-07-11 06:53:59 UTC
Git commit f953a07ee13c3654939fd8922d765245a55f9afb by Laurent Montel.
Committed on 11/07/2019 at 06:53.
Pushed by mlaurent into branch 'master'.

Fix Bug 409695 - pasting URI in composer doesnt add href in richtextmode

FIXED-IN: 5.12.0

M  +17   -0    src/composer-ng/richtextcomposer.cpp

https://commits.kde.org/kpimtextedit/f953a07ee13c3654939fd8922d765245a55f9afb
Comment 3 Christo 2019-07-11 11:18:01 UTC
nice performance :-) what do you think to add

sftp://
fish://
tel:

as well ?

br
Comment 4 Christo 2019-07-11 11:20:53 UTC
(In reply to Christoph from comment #3)
> nice performance :-) what do you think to add
> 
> sftp://
> fish://
> tel:
> 
> as well ?
> 
> br

along with webdavs:// imaps:// :-D
Comment 5 Laurent Montel 2019-07-11 12:11:34 UTC
I will add them soon.
Comment 6 Laurent Montel 2019-07-12 05:00:06 UTC
Git commit 7e5fa67b0dc1f0623f947ffa7ee791d6ecd335e4 by Laurent Montel.
Committed on 12/07/2019 at 04:59.
Pushed by mlaurent into branch 'master'.

Add more protocol

M  +5    -0    src/composer-ng/richtextcomposer.cpp

https://commits.kde.org/kpimtextedit/7e5fa67b0dc1f0623f947ffa7ee791d6ecd335e4