Skip to content

[qt6] font widget has issues with some font names typed into it #65001

@freeshrugsxd

Description

@freeshrugsxd

What is the bug or the crash?

The font widget behaves very weirdly when you type font names into it. Not all fonts are affected but I cannot, for example, type names like Open Sans, Roboto or Tahoma, while some other names work and autocomplete.

I don't know how to better describe it so here's a short screencast:

open_sans.mp4

For some reason, it always sets the text to Tahoma when the issue occurs. When you completly empty the text it sets itself to MS Sans Serif, though I believe it has always done that.

The behaviour is erratic and confusing and makes it hard to use this widget efficiently.

Note that I used the on screen keyboard only for the purpose of showing the keys I pressed. The widget behaves the same when I type with a regular keyboard.

Steps to reproduce the issue

  1. try to type name of random fonts into the font widget

Versions

QGIS Versions
QGIS-Version3.44.6-Solothurn
QGIS-Codeversionfb066c58058
 
Bibliotheken
Qt-Version6.8.1
Python-Version3.12.12
GDAL-Version3.12.1 — Chicoutimi
PROJ-Version9.7.1
EPSG-Registraturdatenbankversionv12.029 (2025-10-03)
GEOS-Version3.14.1-CAPI-1.20.5
SQLite-Version3.50.4
PDAL-Version2.9.0 (kompiliert)
2.9.3 (laufend)
PostgreSQL-Client-Version17.3
SpatiaLite-Version5.1.0
QWT-Version6.3.0
QScintilla2-Version2.14.1
BS-VersionWindows 11 Version 25H2
 
Aktive Python-Erweiterungen
db_manager0.1.20
grassprovider2.12.99
MetaSearch0.3.6
processing2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

Does not happen in Qt5-QGIS

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions