I installed Fedora-Workstation-netinst-x86_64-24_Alpha-1.7.iso and added the other desktops after the installation using "dnf groupinstall ...". When starting konsole in the lxqt desktop, konsole defaults to the proportional font "DejaVu Sans" which makes konsole unusable. Of course the font can be changed in the setup of konsole to fix that, but it is not nice that the default is bad. When using the kde desktop, konsole uses "monospace" by default, which works.
Created attachment 1150465 [details] wrong-default-font-for-konsole-in-lxqt.png
You should not use Workstation image to install LXQt, it's primary goal is to install default desktop (GNOME). LXQt is no official spin currently and partly maintained as individual packages and in comps group. What happens if you install from Server netinstall image? # dnf group install lxqt I'm not even sure if we'd already some default (fonts) configuration at all.
The same problem occurs when using the Hawaii desktop, konsole defaults to the proportional font "Dejavu Sans".
LXQt and Hawaii are two separate individual desktops and have nothing to do with each other. Your issue seems obviously not to be related to the common base Qt5, I guess more towards a configuration issue. Please report anything related about Hawaii in a new bug. What happens if you use QTerminal? QTerminal is considered to be more common for LXQt environments. No idea for Hawaii. Maybe we can ask the maintainer of konsole why it uses some individual font on other desktops. Reassigning.
Konsole's code includes this for selecting default/fallback font: setProperty(Font, QFontDatabase::systemFont(QFontDatabase::FixedFont)); so, a little surprising that could ever result in selecting Dejavu Sans
(In reply to Rex Dieter from comment #5) > Konsole's code includes this for selecting default/fallback font: > > setProperty(Font, QFontDatabase::systemFont(QFontDatabase::FixedFont)); > > so, a little surprising that could ever result in selecting Dejavu Sans Yes, it works when using the KDE desktop, but not when using LXQt or Hawaii.
(In reply to Raphael Groner from comment #4) > What happens if you use QTerminal? QTerminal is considered to be more common > for LXQt environments. No idea for Hawaii. qterminal-qt5 works.
(In reply to Raphael Groner from comment #4) > What happens if you use QTerminal? QTerminal is considered to be more common > for LXQt environments. No idea for Hawaii. konsole seems to be the default terminal for Hawaii,it starts when clicking on the terminal icon at the bottom of the Hawaii desktop.
Fwiw, it appears that qterminal hard-codes a Monospace default (rather than relying on Qt to query a system default like konsole does) qterminal-0.6.0/src/config.h:#define DEFAULT_FONT "Monospace" I suppose we consider doing the same in konsole at least until we can figure out why QFontDatabase::systemFont(QFontDatabase::FixedFont) fails
Curious, do either lxqt or hawaii provide Qt5 platform plugins? It's possible they may be setting an invalid font. repoquery seems to show that they do, provided by lxqt-qtplugin and hawaii-workspace packages respectively. After installing both of those packages, and manually specifying use of these platformthemes (though I'm currently running kde/plasma), I can now reproduce the problem: QT_QPA_PLATFORMTHEME=hawaii konsole => fail QT_QPA_PLATFORMTHEME=lxqt konsole => fail QT_QPA_PLATFORMTHEME=kde konsole => happy Re-assigning to lxqt-qtplugin (since this bug started wrt use on lxqt, probably good idea to poke hawaii-workspace similarly)
Perusing lxqt-qtplugin code, it appears to want to read fixedFont key from: /etc/xdg/lxqt/lxqt.conf // FixedFont fixedFontStr_ = settings.value(QLatin1String("fixedFont")).toString(); if(!fixedFontStr_.isEmpty()) { fixedFont_.fromString(fixedFontStr_); } else, doesn't set a fixedFont at all? Anyway, looks like a /etc/xdg/lxqt/lxqt.conf exists in lxqt-common pkg. current contents: [General] theme=Fedora icon_theme=oxygen single_click_activate=false tool_button_style=ToolButtonTextBesideIcon [Qt] font="Sans,10,-1,5,50,0,0,0,0,0" doubleClickInterval=400 style=Oxygen wheelScrollLines=3 [Mouse] cursor_theme=Oxygen_White So 2 issues: 1. lack of fixedFont key, adding fixedFont="Monospace,10,-1,5,50,0,0,0,0,0" to /etc/xdg/lxqt/lxqt.conf in [Qt] section fixes test-case for me. 2 lxqt-plugin lacks a dependency on lxqt-common (owner of lxqt.conf)
Each Qt desktop usually have a platform theme plugin, Hawaii sure does and as far as I remember Plasma and LxQt do too. As a matter of fact a setting for fixed fonts might be missing from Hawaii. I'll take a deeper look.
bug #1331455 filed for hawaii-workspace
I can implement the necessary changes
lxqt-common-0.10.0-10.fc24 lxqt-qtplugin-0.10.0-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cef689f239
Please note that an user may use rpmconf to fully apply the new configuration entry into its current (custom) file, because it's marked %config(noreplace). Also, a relogin may be necessary.
lxqt-common-0.10.0-10.fc24, lxqt-qtplugin-0.10.0-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-cef689f239
lxqt-common-0.10.0-10.fc24, lxqt-qtplugin-0.10.0-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.