Bug 422291

Summary: Preview of XMPP URI's in KMail
Product: [Applications] kmail2 Reporter: Thomas Thiers <tthiers+kdebugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: tthiers+kdebugs
Priority: NOR Keywords: reproducible, usability
Version: 5.14.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: xmpp:username@server.tld
Latest Commit: Version Fixed In: 5.71.0
Attachments: Screenshot of message view incl. XMPP URI's

Description Thomas Thiers 2020-05-31 11:20:54 UTC
Created attachment 128951 [details]
Screenshot of message view incl. XMPP URI's

SUMMARY

STEPS TO REPRODUCE
Open and view a received non-html message including an XMPP URI. 

OBSERVED RESULT
Detects XMPP URI as an email address by omitting the 'xmpp:' and trailing parts,
see attached screenshot.
Clicking opens email editor.

EXPECTED RESULT
Is supposed to detect and underline the full XMMP URI (or Jabber ID).
Clicking should open an XMPP application.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200528
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Kernel Version: 5.6.14-1-default
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4700HQ CPU @ 2.40GHz
Memory: 7,7 GiB
Comment 1 Laurent Montel 2020-05-31 19:44:23 UTC
Git commit 71a73ee17f26e3f48ccbe77ba8bac0a986b2af0d by Laurent Montel.
Committed on 31/05/2020 at 19:44.
Pushed by mlaurent into branch 'master'.

Fix Bug 422291 - Preview of XMPP URI's in KMail

FIXED-IN: 5.71.0

(fixed in kmail 5.15.0 by default or 5.14.x when distro will depend
against this framework)

M  +11   -0    autotests/ktexttohtmltest.cpp
M  +4    -2    src/lib/text/ktexttohtml.cpp

https://invent.kde.org/frameworks/kcoreaddons/commit/71a73ee17f26e3f48ccbe77ba8bac0a986b2af0d