Bug 422291 - Preview of XMPP URI's in KMail
Summary: Preview of XMPP URI's in KMail
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.14.1
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL: xmpp:username@server.tld
Keywords: reproducible, usability
Depends on:
Blocks:
 
Reported: 2020-05-31 11:20 UTC by Thomas Thiers
Modified: 2020-05-31 19:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.71.0


Attachments
Screenshot of message view incl. XMPP URI's (37.62 KB, image/png)
2020-05-31 11:20 UTC, Thomas Thiers
Details

Note You need to log in before you can comment on or make changes to this bug.
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