Bug 479792 - In "digiKam Properties" sidebar, double quotes in caption are displayed as "
Summary: In "digiKam Properties" sidebar, double quotes in caption are displayed as &q...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (other bugs)
Version First Reported In: 8.1.0
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-14 09:40 UTC by Hieu Van
Modified: 2025-07-22 14:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hieu Van 2024-01-14 09:40:06 UTC
For some reason, if I set the caption with the double quotes, for example:
``` A weekend with my "friend" in arms. ```
Then when I save, I see that in digiKam properties section, the double quotes have been HTML-escaped, like this:
``` A weekend with my "friend" in arms. ```
Comment 1 Hieu Van 2024-01-14 09:41:23 UTC
The double quotes stay intact in metadata though. Don't know if reporting this bug in this section is correct?
Comment 2 Maik Qualmann 2024-01-14 09:54:26 UTC
The problem cannot be reproduced here in digiKam-8.3.0, the properties sidebar was redesigned somewhat in digiKam-8.2.0. An AppImage for testing is available here:

https://files.kde.org/digikam/

Maik
Comment 3 Hieu Van 2025-07-16 11:27:59 UTC
I'll submit a patch for this
Comment 4 Maik Qualmann 2025-07-16 18:11:15 UTC
Git commit 45bd9570b3fae74d51000bff61372807aa4d1278 by Maik Qualmann.
Committed on 16/07/2025 at 18:09.
Pushed by mqualmann into branch 'master'.

fix shortening of title and caption in the properties tab
We can also allow more characters, since
the text doesn't wrap at 30 characters.
FIXED-IN: 8.8.0

M  +0    -3    core/libs/properties/itempropertiestab_p.h
M  +2    -2    core/libs/properties/itempropertiestab_setters.cpp

https://invent.kde.org/graphics/digikam/-/commit/45bd9570b3fae74d51000bff61372807aa4d1278
Comment 5 caulier.gilles 2025-07-21 14:58:28 UTC
Git commit f71d54bfccead96f931d042fc37cb4900b6df87c by Gilles Caulier.
Committed on 21/07/2025 at 14:57.
Pushed by cgilles into branch 'master'.

do not mix html-subset with \n

M  +3    -2    core/dplugins/generic/webservices/dropbox/dbplugin.cpp
M  +2    -2    core/dplugins/generic/webservices/imgur/imgurplugin.cpp
M  +1    -1    core/dplugins/generic/webservices/inaturalist/inatplugin.cpp
M  +1    -1    core/dplugins/generic/webservices/onedrive/odplugin.cpp
M  +1    -1    core/dplugins/generic/webservices/twitter/twitterplugin.cpp
M  +1    -1    core/dplugins/generic/webservices/unified/unifiedplugin.cpp

https://invent.kde.org/graphics/digikam/-/commit/f71d54bfccead96f931d042fc37cb4900b6df87c
Comment 6 caulier.gilles 2025-07-22 05:54:26 UTC
Git commit d40a9561010d29ae7477034618e226b97e64cd8d by Gilles Caulier.
Committed on 22/07/2025 at 05:53.
Pushed by cgilles into branch 'master'.

do not mix \n with html-subset

M  +7    -7    core/dplugins/editor/enhance/healingclone/healingclonetool.cpp
M  +4    -4    core/dplugins/generic/metadata/geolocationedit/geolocationeditplugin.cpp
M  +2    -2    core/dplugins/generic/metadata/metadataedit/metadataeditplugin.cpp
M  +4    -4    core/dplugins/generic/metadata/timeadjust/timeadjustplugin.cpp
M  +2    -2    core/dplugins/generic/tools/dngconverter/dngconverterplugin.cpp
M  +1    -1    core/dplugins/generic/tools/mediaserver/dmediaserverdlg.cpp
M  +2    -2    core/dplugins/generic/tools/ocrtextconverter/textconverterplugin.cpp
M  +2    -2    core/dplugins/generic/view/presentation/presentationplugin.cpp
M  +1    -1    core/dplugins/generic/webservices/box/boxplugin.cpp
M  +2    -2    core/dplugins/generic/webservices/filetransfer/ftplugin.cpp
M  +1    -1    core/dplugins/generic/webservices/flickr/flickrplugin.cpp
M  +4    -4    core/dplugins/generic/webservices/google/gsplugin.cpp
M  +1    -1    core/dplugins/generic/webservices/ipfs/ipfsplugin.cpp
M  +2    -2    core/dplugins/generic/webservices/mediawiki/mediawikiplugin.cpp
M  +1    -1    core/dplugins/generic/webservices/pinterest/pplugin.cpp
M  +1    -1    core/dplugins/generic/webservices/rajce/rajceplugin.cpp
M  +1    -1    core/dplugins/generic/webservices/smugmug/smugplugin.cpp
M  +12   -4    core/dplugins/generic/webservices/smugmug/smugwindow.cpp
M  +5    -4    core/libs/album/manager/albummanager_database.cpp
M  +1    -1    core/libs/database/engine/dbengineguierrorhandler.cpp
M  +4    -4    core/libs/database/utils/widgets/dbsettingswidget.cpp
M  +2    -2    core/libs/dplugins/setup/dpluginaboutdlg.cpp
M  +9    -9    core/libs/template/templatepanel.cpp

https://invent.kde.org/graphics/digikam/-/commit/d40a9561010d29ae7477034618e226b97e64cd8d
Comment 7 caulier.gilles 2025-07-22 14:56:23 UTC
Git commit 28dc17e14defea7d72cf4dcd31115280f7da4994 by Gilles Caulier.
Committed on 22/07/2025 at 14:55.
Pushed by cgilles into branch 'master'.

do not mix html-subset with \n

M  +1    -1    core/app/views/stack/welcomepageview.cpp
M  +1    -1    core/utilities/firstrun/collectionpage.cpp
M  +4    -4    core/utilities/setup/misc/setupmisc.cpp

https://invent.kde.org/graphics/digikam/-/commit/28dc17e14defea7d72cf4dcd31115280f7da4994