Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1330150
Summary: | When using the lxqt desktop, konsole defaults to the proportional font "DejaVu Sans" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mike FABIAN <mfabian> | ||||
Component: | lxqt-qtplugin | Assignee: | Rex Dieter <rdieter> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 24 | CC: | helio, kde-sig, mfabian, pierluigi.fiorini, praiskup, projects.rg, rdieter, ti.eugene | ||||
Target Milestone: | --- | Keywords: | EasyFix | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | lxqt-qtplugin-0.10.0-4.fc24 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-07 11:46:35 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Mike FABIAN
2016-04-25 13:04:31 UTC
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. |