Changes between Initial Version and Version 1 of Ticket #56214, comment 4


Ignore:
Timestamp:
Apr 16, 2018, 10:33:17 AM (6 years ago)
Author:
Blokkendoos (Johan)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56214, comment 4

    initial v1  
     1Same Glib::ConvertError on OS X 10.10.5 with Macports Inkscape.
     2
     3I have built Inkscape 0.92.3 from source with Debug option and found that the error is related to Glib::ustring usage. Inkscape 0.91 gives the same error, so I assume something changed in Glib? Not being a programmer myself, don't know how to fix this, but maybe this info helps.
     4Regards,
     5Johan
     6
     7Details
     8=======
     9OS X 10.10.5
     10
     11Macports:
     12inkscape @0.92.2_2+x11 (active)
     13
     14glib Macports installed:
     15  dbus-glib @0.110_0 (active)
     16  geocode-glib @3.24.0_0 (active)
     17  glib-networking @2.54.1_0 (active)
     18  glib2 @2.56.0_0+x11 (active)
     19  glibmm @2.56.0_0+x11 (active)
     20  json-glib @1.2.8_0 (active)
     21  taglib @1.11.1_0 (active)
     22
     23Location of the first occurrence (resulting in ConvertError exception) is in src/widgets/text-toolbar.cpp at line 1792. Bypass using std::string results in the next occurrence at line 1378.
     24
     25{{{
     26        //Glib::ustring tooltip = Glib::ustring::format(_("Font size"), " (", sp_style_get_css_unit_string(unit), ")");
     27        std::string tooltip = _("Font size");
     28        tooltip += " (";
     29        tooltip += sp_style_get_css_unit_string(unit);
     30        tooltip += ")";
     31        ink_comboboxentry_action_set_tooltip ( fontSizeAction, tooltip.c_str());
     32}}}