Bug 497987 - Font stylistic set alternatives do not save between sessions
Summary: Font stylistic set alternatives do not save between sessions
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: 24.12.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-28 14:56 UTC by roamingfox
Modified: 2024-12-28 14:56 UTC (History)
0 users

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


Attachments
Optional font features setting in question (164.60 KB, image/png)
2024-12-28 14:56 UTC, roamingfox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roamingfox 2024-12-28 14:56:59 UTC
Created attachment 176929 [details]
Optional font features setting in question

SUMMARY
Stylistic alternative options do not persist between sessions. That is to say setting a font in konsole and providing values for "Comma separated list of font features (e.g., liga, calt)" work in the current session (both in the sample box and in the terminal window), but cease to be set after re-launching konsole.

STEPS TO REPRODUCE
1. Create a new profile in konsole
2. Navigate to Appearance and select "Choose..." next to Font
3. Select a font with optional font features (FiraCode in my example)
4. Set some optional feature flags as described above (in my case `ss02,ss03,ss08`)
5. Note in the sample text box that the features work (e.g. ss02 sets the correct variant of greater than and less than )
6. Click OK -> Apply -> OK
7. Note that the set font features still work (e.g. in the terminal itself or in VIM etc)
8. close konsole completely
9. open konsole
10. Note that the set font features no longer work
11. Navigate back to font settings
12. Note that the text box that should contain the stylistic alternative feature flags is blank

OBSERVED RESULT
Optional font features work correctly in the current running konsole process, but not any subsequent processes.

EXPECTED RESULT
Optional font features are correctly saved and persist correctly.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.6-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10600K CPU @ 4.10GHz
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070/PCIe/SSE2


ADDITIONAL INFORMATION
This doesn't seem to affect kwrite, which correctly persists the setting as one would expect.

I also noticed that if it's entered exactly as the example shows (e.g. with a space after the comma), the settings dialogue will only contain the first item in the list. That is to say "ss03, ss08, ss02" immediately becomes "ss03" upon saving (and the bug still occurs making it blank after restarting).