Migaku-Kanji-Addon
Migaku-Kanji-Addon copied to clipboard
[BUG] "Set custom story" pop-up dialog swallows spaces after periods
Not sure if this is even a bug in this add-on or in Anki or in Qt or if it's specific to Mac OS X or not. Maybe someone can try to reproduce?
Describe the bug When entering multiple sentences in the "Set custom story" pop-up dialog, the space (" ") after the period (".") at the end of the first sentence is being swallowed while typing. If you type two spaces, only one appears.
To Reproduce Steps to reproduce the behavior:
- Go to the back of any card.
- Click on 'Set custom story'
- Type "Hello. Test."
Expected behavior Input text field should display "Hello. Test.". Instead, it shows "Hello.Test." (missing space between "." and "T").
Desktop:
- OS and Version: Mac OS X 12.0.1
- Anki Version Version 2.1.35 (84dcaa86)
- Python 3.8.0
- Qt 5.14.2
- PyQt 5.14.2
Additional context Looks possibly related to https://bugreports.qt.io/browse/QTBUG-86995 and https://bugreports.qt.io/browse/QTBUG-86496.
Screenshots
Thank you for reporting this!