Text alignment button for aligning left doesn't show up active anymore
Summary:
After changing a text's alignment from 'not left' to 'left', the button in the text tool controls bar doesn't update accordingly (it does at first, but then switches back to whatever has been used before).
I think this might have to do with inkscape!7243 (merged)
Steps to reproduce:
- open Inkscape
- type a text
- change the texts alignment from its original (likely left) value to center or right
- check that the text behaves correctly
- click on the left alignment button
- check that the text behaves correctly
What happened?
The tool controls do not behave correctly. The 'left alignment' button is only active right after I clicked on it, but then changes to the previous alignment. The text itself keeps the correct alignment.
What should have happened?
The button should update and always show the alignment of the selected text.
Version info
Inkscape 1.4.2 (949b72c8f1, 2025-11-27)
Compile (Run)
GLib version: 2.80.0
GTK version: 3.24.41 (3.24.41)
glibmm version: 2.66.7
gtkmm version: 3.24.9
libxml2 version: 2.9.14
libxslt version: 1.1.39
Cairo version: 1.18.0 (1.18.0)
Pango version: 1.52.1 (1.52.1)
HarfBuzz version: 8.3.0 (8.3.0)
OS version: Linux Mint 22.2
