Skip to content

The text-anchor is wrong when changing text alignment while the text is selected

Summary:

If you select the text then change the alignment, the text anchor doesn't budge, or goes to a completely different place.

Correct Incorrect
螢幕錄製_20250127_051756 螢幕錄製_20250127_051940

Steps to reproduce:

  • open Inkscape
  • type text or use the Lorem Ipsum generator
  • change alignment without selecting the text (correct)
  • select all text
  • change alignment

What happened?

The text-anchor doesn't budge and the placement goes wonky.

What should have happened?

The same as with unselected text.

Version info

Inkscape 1.4 (e7c3feb, 2024-10-09)

                      Compile  (Run)
    GLib version:     2.64.6
    GTK version:      3.24.20 (3.24.20)
    glibmm version:   2.64.2
    gtkmm version:    3.24.2
    libxml2 version:  2.9.10
    libxslt version:  1.1.34
    Cairo version:    1.16.0 (1.16.0)
    Pango version:    1.44.7 (1.44.7)
    HarfBuzz version: 2.6.4 (2.6.4)

    OS version:       Slackware 15.0 x86_64 (post 15.0 -current)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information