Bug 396952

Summary: Cut and Paste Into Caption Has Incorrect Font Initially
Product: [Applications] digikam Reporter: hardy.public
Component: Usability-ClipboardAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: caulier.gilles
Priority: NOR    
Version: 5.9.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:
Attachments: Edit Metadata After Paste And Apply
Edit Metadata After Dismissal and Re-open

Description hardy.public 2018-07-29 10:30:52 UTC
Created attachment 114187 [details]
Edit Metadata After Paste And Apply

If I cut and paste some text from a browser into the Caption field, the web-page font carries across into the Caption even after Apply is clicked.

To correct, the Edit Metadata dialogue has to be dismissed and re-opened.
Comment 1 hardy.public 2018-07-29 10:31:15 UTC
Created attachment 114188 [details]
Edit Metadata After Dismissal and Re-open
Comment 2 Maik Qualmann 2018-07-29 10:51:41 UTC
Git commit 163b83960f5e76074799a240fd852d56f739cbac by Maik Qualmann.
Committed on 29/07/2018 at 10:50.
Pushed by mqualmann into branch 'master'.

use QPlainTextEdit for the caption field
FIXED-IN: 6.0.0

M  +2    -1    NEWS
M  +18   -18   core/utilities/metadataedit/exif/exifcaption.cpp

https://commits.kde.org/digikam/163b83960f5e76074799a240fd852d56f739cbac