Bug 405504 - "st" string in text field is converted to Unicode ligature
Summary: "st" string in text field is converted to Unicode ligature
Status: RESOLVED FIXED
Alias: None
Product: KBibTeX
Classification: Applications
Component: User interface (show other bugs)
Version: 0.8.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Fischer
URL:
Keywords:
: 406692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-15 22:16 UTC by glyphimor
Modified: 2019-05-30 20:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.9
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description glyphimor 2019-03-15 22:16:21 UTC
SUMMARY

After entering text containing 1 or more instances of the string "st" into a field, each instance is converted into the Unicode ligature character 'st' (U+FB06, decimal 64262, https://www.fileformat.info/info/unicode/char/fb06/index.htm). For example, after entering text containing "justice", it appears as "justice", and the element doesn't appear when filtering on "justice".

STEPS TO REPRODUCE
1. Add a new element, or edit an existing element.
2. Enter the string "st" into any text field.
3. Click on a different tab, or click OK, or change the pulldown menu to "Source Code" and back to "Plain Text".

OBSERVED RESULT

Each "st" string appears as the Unicode ligature character 'st'. The element doesn't appear when filtering for "st".

EXPECTED RESULT

Each "st" string appears as "st". The element appears when filtering for "st".


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.54.0
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION

If you enter "justice" into a text field, then change the dropdown from "Plain Text" to "Source Code", it appears as "{justice}". That is, there's no ligature. Possibly "st" is stored correctly, but displayed incorrectly? Although searching for "st" still fails.
Comment 1 Thomas Fischer 2019-03-17 13:58:34 UTC
Due to a refactoring of code, this problem does no longer exist in KBibTeX 0.9 (Git branch kbibtex/0.9) and current master branch. Please test yourself by using the quick run instructions:
https://userbase.kde.org/KBibTeX/Development#Quick_Start_to_Run_KBibTeX_from_Git

Run script run-kbibtex.sh with the following invocation:
bash run-kbibtex.sh https://anongit.kde.org/kbibtex.git kbibtex/0.9
Comment 2 glyphimor 2019-03-20 06:05:26 UTC
Confirmed, that new version works fine. Thanks -- will look forward to it.
Comment 3 Thomas Fischer 2019-04-30 20:54:30 UTC
*** Bug 406692 has been marked as a duplicate of this bug. ***