Bug 500382

Summary: Editor font could optionally follows system's "Fixed width" font
Product: [Applications] kate Reporter: Julian <julian>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: christoph, waqar.17a
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Julian 2025-02-19 08:34:57 UTC
SUMMARY
Feature Request: Kate's editor font configuration could include an option to use the system "Fixed width" font.

There is precedent for this with Konsole and Kate's integrated terminal. Konsole's default profile follows the system font. New Konsole profiles default to the current font, but will no longer follow the system.

I think both a custom or inherited font choice make sense for this core app.

STEPS TO REPRODUCE
1. Change system "Fixed width" font.

OBSERVED RESULT
- Konsole (with default profile) and Kate's integrated terminal change to the new font when refreshed.

EXPECTED RESULT
- Kate's editor font to change to the new font by default.

SOFTWARE/OS VERSIONS
(general)

ADDITIONAL INFORMATION
Comment 1 Waqar Ahmed 2025-02-19 09:09:55 UTC
We use system fixed font by default as well. I am not sure about introducing a new option in the config for this and also watching the system font so that we can refresh when that changes.
Comment 2 Julian 2025-02-19 09:44:05 UTC
(In reply to Waqar Ahmed from comment #1)
> We use system fixed font by default as well. I am not sure about introducing
> a new option in the config for this and also watching the system font so
> that we can refresh when that changes.

Am I understanding correctly that when Kate starts for the *first* time it uses the system fixed font, but never checks again? I agree that watching for font changes doesn't sound great. Konsole doesn't seem to watch for changes while it runs either, rather it seems to check at startup. Is this approach more convincing?
Comment 3 Christoph Cullmann 2025-02-19 12:06:00 UTC
We use the default font on first start. We could try to store, if the user did really set it, and only then load it from the config. Then we would always use the current default font as fallback. But that seems to be overkill for me. Most applications save it just with the first config save.
Comment 4 Julian 2025-02-19 17:37:56 UTC
It does seem overkill if most applications do this, I was going entirely off my experience with Konsole's default profile experience. Thank you all for considering. Do I go ahead and close this now? This is my first time on bugs.kde
Comment 5 Christoph Cullmann 2025-03-24 17:49:43 UTC
I think we can close this, yes, I don't see we add some extra option for that.