Bug 445972 - Cannot set the default font in composer
Summary: Cannot set the default font in composer
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 5.19.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-23 12:19 UTC by Emanuele Spirito
Modified: 2022-04-25 18:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Recorded screen of the bug (part 1) (1.53 MB, video/x-matroska)
2021-11-23 12:25 UTC, Emanuele Spirito
Details
Recorded screen of the bug (part 2) (3.45 MB, video/x-matroska)
2021-11-23 12:28 UTC, Emanuele Spirito
Details
Recorded screen of the bug (part 3) (1.74 MB, video/x-matroska)
2021-11-23 12:30 UTC, Emanuele Spirito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele Spirito 2021-11-23 12:19:20 UTC
SUMMARY
I want to change the default font I use in writing a new email (body message). As I recorded in the video attached, in appearance settings I set both composer and equal spacing font to DejaVu Sans Mono (font size 13). Then when I open a new email the body font is Noto Sans. When I open the "View" menu, if I select "Use Fixed Font", the font becomes the one I chose. Til now, all worked as expected. BUT when I create a new email, the font is yet Noto Sans (the default one, not the one I chose) and, when I open the "View" menu, the "Use Fixed Font" feature is already chosen, but if I deselect it, the font becomes the one I chose. So every time I want to use the font I chose in the Kmail Appearance Settings, I need to open the view menu and toggle the "Use Fixed Font" feature. 


STEPS TO REPRODUCE
1. Open Kmail
2. Open Kmail Settings -> Appearance
3. Choose the font you want in composer and fixed font
4. Create a new email

OBSERVED RESULT
The font is not the chosen one

EXPECTED RESULT
The font is the chosen one

SOFTWARE/OS VERSIONS
Kmail version: 5.17.3 (21.04.3)
Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.14.17-301.fc35.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-1065G7 CPU @ 1.30GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Plus Graphics

ADDITIONAL INFORMATION
Comment 1 Emanuele Spirito 2021-11-23 12:25:09 UTC
Created attachment 143864 [details]
Recorded screen of the bug (part 1)
Comment 2 Emanuele Spirito 2021-11-23 12:28:50 UTC
Created attachment 143865 [details]
Recorded screen of the bug (part 2)
Comment 3 Emanuele Spirito 2021-11-23 12:30:51 UTC
Created attachment 143866 [details]
Recorded screen of the bug (part 3)
Comment 4 Emanuele Spirito 2021-11-23 12:31:40 UTC
Sorry for having cut the attached video into three parts, it's due to 4000 kB limit
Comment 5 Laurent Montel 2021-11-23 18:47:22 UTC
So you use html feature ok.
So if you activate "Use Fixed Font" for sure it will not use font from composer but the font "fixed width font" defined  in appearance settings

Is it not ok ?
Comment 6 Emanuele Spirito 2021-11-28 07:45:18 UTC
(In reply to Laurent Montel from comment #5)
> So you use html feature ok.
> So if you activate "Use Fixed Font" for sure it will not use font from
> composer but the font "fixed width font" defined  in appearance settings
> 
> Is it not ok ?

As you can see at the beginning of the first video, both the "composer" (that you've just said is irrilevant because I am using html feature) and the "fixed width font" are set to DejaVu Sans Mono. When I create a new email, I expect to see the body font already set to DejaVu Sans Mono because it is my "fixed width font", but in fact I see "Noto Sans". This doesn't happen until I toggle in the "View" panel the function "Use Fixed Font". 
I mean, how can I change the default font of a new email, so that when I create a new email that starts with the font I have selected (in my case DejaVu Sans Mono)?
Comment 7 Emanuele Spirito 2021-11-28 07:47:01 UTC
Errata: 
This doesn't happen until I toggle in the "View" panel the function "Use Fixed Font". 

Correct:
The font I chose appears only when I toggle in the "View" panel the function "Use Fixed Font".
Comment 8 Emanuele Spirito 2022-04-25 18:54:02 UTC
Still on kmail2 version: 5.19.2 (21.12.2)
It can be similar to this other bug? 
https://bugs.kde.org/show_bug.cgi?id=337656