Skip to content

Cursor misposition and text overlap in QGIS expression editor on Ultramarine Linux KDE Plasma (text after = overlays previous chars) #64949

@Drew1618-cell

Description

@Drew1618-cell

What is the bug or the crash?

When typing expressions in QGIS expression editor/field calculator (e.g., "function"12345"), characters like numbers/symbols after quotes/names appear overlaid at the position of the previous character. Backspacing moves the cursor abnormally left behind existing text, making editing impossible.

  • Steps tried: Several different combinations of the following environment values QT_QPA_PLATFORM=xcb;QT_STYLE=fusion;QT_AUTO_SCREEN_SCALE_FACTOR=0;QT_SCALE_FACTOR=1;QT_FONT_DPI=96 qgis (issue persists)
  • Installation: Both Flatpak and DNF repo versions affected

Current behavior
Text overlays previous chars (e.g., ="12345" stacks on "function"); cursor mispositions on backspace.

Image

Expected behavior
Normal sequential text insertion and cursor movement without overlap.

Steps to reproduce the issue

  1. Open QGIS on Ultramarine Linux KDE Plasma.
  2. Go to any expression editor (Layer Properties > Fields > Expression..., Field Calculator, etc.).
  3. Type something like `"function"="12345".
  4. Observe text after first few chars after the = sign (e.g., ="12345") overlapping previous position; backspace jumps cursor left.

Versions

QGIS version: 3.44.7-Solothurn
QGIS code branch: Release 3.44 (https://github.com/qgis/QGIS/tree/release-3_44)

Libraries:

  • Qt version: 5.15.18
  • Python version: 3.14.2
  • GDAL version: 3.11.5 (Eganville)
  • PROJ version: 9.6.2
  • EPSG Registry database version: v12.013 (2025-05-26)
  • GEOS version: 3.14.1-CAPI-1.20.5
  • SQLite version: 3.50.2
  • PDAL version: 2.9.3
  • PostgreSQL client version: 18.0
  • SpatiaLite version: 5.1.0
  • QWT version: 6.2.0
  • QScintilla2 version: 2.14.1
  • OS version: Ultramarine Linux 43 (KDE Plasma Edition)
  • KDE Plasma version: 6.5.5
  • Kernel: 6.18.9-200.fc43.x86_64
  • GPU/Driver: AMD/ATI Lucienne (rev c1)

Active Python plugins:

  • MetaSearch: 0.3.6
  • db_manager: 0.1.20
  • grassprovider: 2.12.99
  • processing: 2.12.99

Supported QGIS version

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

New profile

Additional context

  • Issue consistent across expression builders in QGIS.
  • No problems in other Qt apps or KDE text editors.
  • Both Flatpak and native DNF installs broken—likely KDE/Qt-Plasma font kerning/cursor sync issue.
  • QGIS LTR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!FeedbackWaiting on the submitter for answersGUI/UXRelated to QGIS application GUI or User Experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions