Bug 475234

Summary: Ghostwriter reverts the specified font family on every relaunch
Product: [Applications] ghostwriter Reporter: Chromer <downloader030>
Component: generalAssignee: megan.conkle
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 23.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chromer 2023-10-05 06:39:19 UTC
SUMMARY
ghostwriter font will be reverted to default on every relaunch.
and user must set the desired font everything he/she launch the app.

Even if you create a new window while there is already a windows with a set font, new window font setting is default !!!

STEPS TO REPRODUCE
1. Set a font in > Settings > Font > Family
2. Restart the ghostwriter
3. Font is reverted to default.

OBSERVED RESULT
Set font reverts to default.

EXPECTED RESULT
Stay on set font.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110
Qt Version: 5.10.15

ADDITIONAL INFORMATION
Comment 1 megan.conkle 2024-07-07 01:39:36 UTC
Git commit ce0ff54cd800db0acc75e496f8789fea72f22ba5 by Megan Conkle.
Committed on 07/07/2024 at 01:38.
Pushed by wereturtle into branch 'master'.

Fix syntax highlighting with unicode characters

Applied yet another hacky fix to the syntax highlighting issue that keeps
cropping up with various combinations of unicode characters. Cross your fingers!

Also noticed a few other bugs happened to be fixed either by this change
or by previous refactoring during the port to Qt6.
Related: bug 487636, bug 482078, bug 485691

M  +5    -1    .gitignore
M  +3    -0    CHANGELOG.md
M  +2    -7    src/editor/markdowneditor.cpp
M  +70   -6    src/editor/markdownhighlighter.cpp
M  +3    -6    src/markdown/cmarkgfmapi.cpp
M  +2    -2    src/markdown/markdownnode.cpp
M  +15   -6    src/markdown/markdownnode.h
A  +604  -0    widgets.qss

https://invent.kde.org/office/ghostwriter/-/commit/ce0ff54cd800db0acc75e496f8789fea72f22ba5