Crashing While Working on Styles
Summary:
https://en.wikipedia.org/wiki/Wikipedia:Blank_maps When I open this map it is imported properly. Opening the selectors and CSS breaks them. Trying to add new CSS causes crashes.
Steps to reproduce:
- Download Map From https://upload.wikimedia.org/wikipedia/commons/4/4d/BlankMap-World.svg
- open Inkscape
- Open > Selectors and CSS
- First bug will Occur (CSS styling breaks and reverts to default -- Not a huge deal as it is easily fixable.
- However I get crashes making changes to the CSS
- I have tried two approaches to clear the CSS
- Deleting the CSS that shows up in inkscape
- Manually opening the file in a text editor and deleting the style tags and everything between them.
- Remove CSS using one of the above methods.
- Add new CSS selector
- Create the # of CSS values you need (important!)(I find if you create the values as you fill em out the crash happens less often)
- Fill out CSS values based on the css you deleted
- Eventually you will crash I usually crash on the first one .oceanxx { opacity: 1; fill: #ffffff; stroke: #000000; stroke-width: 0.5; }
- Specifically, after I create all 4 value slots, fill out opacity 1 and click on the the text box to enter fill
What happened?
<pre>
0# boost::stacktrace::basic_stacktrace<std::allocator<boost::stacktrace::frame> >::init(unsigned long long, unsigned long long) in libinkscape_base
1# Inkscape::Application::crash_handler(int) in libinkscape_base
2# 0x00007FF7CE5721B2 in inkscape
3# _C_specific_handler in ntdll
4# _chkstk in ntdll
5# _RtlRestoreContext in ntdll
6# _KiUserExceptionDispatcher in ntdll
7# _gtk_cell_area_get_type in libgtk_3_0
8# _gtk_cell_area_stop_editing in libgtk_3_0
9# _gtk_tree_view_convert_widget_to_bin_window_coords in libgtk_3_0
10# _g_closure_invoke in libgobject_2_0_0
11# _g_param_spec_variant in libgobject_2_0_0
12# _g_signal_emit in libgobject_2_0_0
13# _gtk_gesture_long_press_new in libgtk_3_0
14# _g_cclosure_marshal_VOID__BOXEDv in libgobject_2_0_0
15# _g_closure_invoke in libgobject_2_0_0
16# _g_param_spec_variant in libgobject_2_0_0
17# _g_signal_emit in libgobject_2_0_0
18# _gtk_glade_catalog_init in libgtk_3_0
19# _gtk_gesture_handles_sequence in libgtk_3_0
20# _gtk_gesture_rotate_get_angle_delta in libgtk_3_0
21# _gtk_event_controller_handle_event in libgtk_3_0
22# _gtk_requisition_free in libgtk_3_0
23# Gtk::Widget::on_button_press_event(_GdkEventButton*) in libgtkmm_3_0_1
24# Gtk::Widget_Class::button_press_event_callback(_GtkWidget*, _GdkEventButton*) in libgtkmm_3_0_1
25# 0x00007FFE3DDB2FA4 in libgtk_3_0
26# _g_closure_invoke in libgobject_2_0_0
27# _g_param_spec_variant in libgobject_2_0_0
28# _g_signal_emit in libgobject_2_0_0
29# _gtk_requisition_copy in libgtk_3_0
30# _gtk_lock_button_set_permission in libgtk_3_0
31# _gtk_main_do_event in libgtk_3_0
32# _gdk_event_free in libgdk_3_0
33# _gdk_win32_drag_context_get_type in libgdk_3_0
34# _g_clear_list in libglib_2_0_0
35# _g_get_monotonic_time in libglib_2_0_0
36# _g_main_context_iteration in libglib_2_0_0
37# _g_application_run in libgio_2_0_0
38# 0x00007FF7CE5739AB in inkscape
39# 0x00007FF7CE5712EE in inkscape
40# 0x00007FF7CE5713E6 in inkscape
41# _BaseThreadInitThunk in KERNEL32
42# _RtlUserThreadStart in ntdll
</pre>
<details><summary>System info</summary>
Inkscape 1.3.2 (091e20e, 2023-11-25, custom)
GLib version: 2.78.1
GTK version: 3.24.39
glibmm version: 2.66.6
gtkmm version: 3.24.8
libxml2 version: 2.11.5
libxslt version: 1.1.38
Cairo version: 1.18.0
Pango version: 1.50.14
HarfBuzz version: 8.2.2
OS version: Windows 11 21H2
</details>
Sample attachments:
Full size Wikipedia version This is a version of the svg that still causes crashes for me and has most of the data cut out.
Version info
Inkscape 1.3.2 (091e20e, 2023-11-25, custom)
GLib version: 2.78.1
GTK version: 3.24.39
glibmm version: 2.66.6
gtkmm version: 3.24.8
libxml2 version: 2.11.5
libxslt version: 1.1.38
Cairo version: 1.18.0
Pango version: 1.50.14
HarfBuzz version: 8.2.2
OS version: Windows 11 21H2
Edited by agm-114