Crash when selecting a text element, after having converted a PDF to SVG

Summary:

Crash when selecting a text element, after having converted a PDF to SVG

Steps to reproduce:

  • open a 2-page PDF with Inkscape 1.3
  • Everything looks ok (except on the second page where lots of characters were not converted)
  • Change the toolbar icon size to 200%
  • Add text elements to complete the PDF form
  • Select a converted text element on the second page with the Node tool
  • Crash

What happened?

  • Try to reopen the saved svg document
  • ALL the text element added after the PDF->SVG convertion are now at the top of the document, and with a tiny font
  • Try moving such element; this crash report

What should have happened?

No crash No save corruption The toolbar icon are back to 100% instead of 200%

Sample attachments: The Crash log:

 0# Inkscape::Application::crash_handler(int) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
 1# 0x00007FD2E143F0C0 in /usr/lib/x86_64-linux-gnu/libc.so.6
 2# 0x00007FD2E1491184 in /usr/lib/x86_64-linux-gnu/libc.so.6
 3# raise in /usr/lib/x86_64-linux-gnu/libc.so.6
 4# abort in /usr/lib/x86_64-linux-gnu/libc.so.6
 5# 0x00007FD2E18E1F9D in /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 6# Inkscape::UI::Widget::ColorICCSelectorImpl::_updateSliders(int) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
 7# Inkscape::UI::Widget::ColorICCSelector::_colorChanged() in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
 8# Inkscape::UI::SelectedColor::setColorAlpha(SPColor const&, float, bool) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
 9# Inkscape::UI::Widget::PaintSelector::setColorAlpha(SPColor const&, float) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
10# Inkscape::UI::Widget::FillNStroke::performUpdate() in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
11# Inkscape::UI::Dialog::FillAndStroke::selectionChanged(Inkscape::Selection*) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
12# Inkscape::Selection::_emitChanged(bool) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
13# Inkscape::UI::Tools::SelectTool::root_handler(_GdkEvent*) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
14# Inkscape::UI::Tools::ToolBase::tool_root_handler(_GdkEvent*) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
15# 0x00007FD2E3611CBC in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
16# Inkscape::CanvasItemDrawing::handle_event(_GdkEvent*) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
17# Inkscape::UI::Widget::CanvasPrivate::emit_event(_GdkEvent const*) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
18# Inkscape::UI::Widget::CanvasPrivate::process_event(_GdkEvent const*) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.0.0
19# Gtk::Widget_Class::button_release_event_callback(_GtkWidget*, _GdkEventButton*) in /app/bin/../lib/inkscape/../libgtkmm-3.0.so.1
20# 0x00007FD2DF4A6C07 in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
21# 0x00007FD2E12FB65A in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
22# g_signal_emit_valist in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
23# g_signal_emit in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
24# 0x00007FD2DF77BAD4 in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
25# 0x00007FD2DF61FB80 in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
26# gtk_main_do_event in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
27# 0x00007FD2DFD33BC1 in /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
28# 0x00007FD2DFD90FEE in /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
29# g_main_context_dispatch in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
30# 0x00007FD2E1F132A8 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
31# g_main_context_iteration in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
32# g_application_run in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
33# main in inkscape
34# 0x00007FD2E142954A in /usr/lib/x86_64-linux-gnu/libc.so.6
35# __libc_start_main in /usr/lib/x86_64-linux-gnu/libc.so.6
36# _start in inkscape
System info Inkscape 1.3 (0e150ed6c4, 2023-07-21)
GLib version:     2.76.3
GTK version:      3.24.38
glibmm version:   2.66.1
gtkmm version:    3.24.5
libxml2 version:  2.10.4
libxslt version:  1.1.37
Cairo version:    1.16.0
Pango version:    1.50.14
HarfBuzz version: 5.2.0

OS version:       GNOME 44 (Flatpak runtime)

Version info

Inkscape 1.3 (0e150ed6c4, 2023-07-21)