T12447: Use "QFontDatabase::FixedFont" instead of some font just "Monospace"

Thomas Fischer noreply at phabricator.kde.org
Mon Dec 30 12:29:27 GMT 2019


thomasfischer created this task.
thomasfischer triaged this task as "Normal" priority.

TASK DESCRIPTION
  File `src/manager/walletwidget.ui` specifies font "Monospace" to use for showing passwords. However, in case there is a font called "Monospace" installed on the system, this will be used instead of the default/system fixed-width font. If the "Monospace" font is broken or rendered incorrectly, passwords cannot be read from within the wallet manager.
  
  To fix this problem, set a fixed font in C++ code by invoking `setFont(QFontDatabase::systemFont(QFontDatabase::FixedFont))` which uses the fixed-width font as configured by the user.

TASK DETAIL
  https://phabricator.kde.org/T12447

To: thomasfischer
Cc: kde-utils-devel, thomasfischer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20191230/7574ab0d/attachment.html>


More information about the Kde-utils-devel mailing list