Summary: | for monospace fonts bold does not work | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Erik Quaeghebeur <bugs.kde.org> |
Component: | general | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a.samirh78, gisk+kdebugs, mike.d.lui, miro.kropacek, nate, plasma-bugs, ssergiienko.s, torres.soldado |
Priority: | NOR | ||
Version: | 5.11.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=378523 | ||
Latest Commit: | Version Fixed In: |
Description
Erik Quaeghebeur
2018-01-31 22:03:00 UTC
I can confirm this bug on latest ArchLinux with Plasma 5.11.5, and add important things. Both in Konsole and in Kate font change picker UI even doesn't have an option to set bold style for Monospace. BUT when I directly select "Hack" font with bold style in Kate - it works fine and it's persistent after restarting Kate. When I do the same with Konsole - font works only till I restart Konsole(but it's saved correctly in profile anyway - "Font=Hack,12,-1,5,75,0,0,0,0,0,Bold") Info: Fonts in system - only default Noto-fonts + ttf-hack Konsole, Kate - v17.12.1 and you have the issue if you run kate/konsole in openbox? (In reply to David Edmundson from comment #2) > and you have the issue if you run kate/konsole in openbox? To be clear: are you asking us to install openbox and test in openbox? Yes. More precisely, I'm asking you to test without loading the Plasma QPT. Unsetting envs XDG_CURRENT_DESKTOP and KDE_FULL_SESSION would also suffice (In reply to David Edmundson from comment #2) > and you have the issue if you run kate/konsole in openbox? The issue is *not* present when run in openbox. (It is when run in KDE/Openbox, but presumably that won't surprise you.) This also happens to me with Konsole 17.12.2. I want to save the profile font to bold. The saved profile at $HOME/.local/share/konsole/ has the right settings: """ [Appearance] ColorScheme=WhiteOnBlack Font=Hack,9,-1,5,75,0,0,0,0,0,Bold [General] Name=New Profile Parent=FALLBACK/ """ But after restarting the application the font is always regular. That means that whenever I start the application (normally once for yakuake which uses konsole afaik) I have to set the font again. I don't know if it is relevant but looking at strace I see: """ close(12) = 0 openat(AT_FDCWD, "/usr/share/fonts/TTF/Hack-Bold.ttf", O_RDONLY) = 12 fcntl(12, F_SETFD, FD_CLOEXEC) = 0 fstat(12, {st_mode=S_IFREG|0644, st_size=318100, ...}) = 0 mmap(NULL, 318100, PROT_READ, MAP_PRIVATE, 12, 0) = 0x7f9d84154000 close(12) = 0 openat(AT_FDCWD, "/usr/share/fonts/TTF/Hack-Regular.ttf", O_RDONLY) = 12 fcntl(12, F_SETFD, FD_CLOEXEC) = 0 """ As expected overwriting the actual font file is the workaround I am currently using.. The issue in c#6 is being tracked in bug 391445, let's keep issues separate for now. These reports could all be side effects of the upstream change to QFont, which is tracked in bug 378523. Though they be separate issues... I can confirm the same behaviour on Archlinux. Plasma 5.12.3 Frameworks 5.44.0 Qt 5.10.1 If I choose "Monospace" as font for, eg., konsole or kate, the bold is rendered, but not with every other font. That happens even with DejaVu Sans Mono, which is strange, because in my fontconfig it's the preferred font for Monospace. Another strange issue is that the Font Styles from which I can choose when I select Monospace don't comprehend the bold style, but only Normal, Italic and Oblique. Qt 5.9.4 fixes this for me. (Gentoo recently updated from 5.7.) So I'm closing this. Anyone with Qt>=5.9.4 that still has an issue (Stefano?): most likely it is another bug, so please file another bug. (In reply to Erik Quaeghebeur from comment #9) > Qt 5.9.4 fixes this for me. (Gentoo recently updated from 5.7.) So I'm > closing this. Anyone with Qt>=5.9.4 that still has an issue (Stefano?): most > likely it is another bug, so please file another bug. I just did it, opened for konsole, although it happens also in kate and kwrite. |