Can't launch Inkscape 0.92+devel ('min-height' causes crash in GTK 3.18)

Bug #1740850 reported by Carlos Guena
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Patrick Storz

Bug Description

When launching Inkscape 0.92 (inkscape.dev/trunk in Mint 18.3), I got the following error:
** (inkscape:4852): ERROR **: CSSProviderError::load_from_path(): /usr/share/inkscape/ui/style.css
(style.css:99:14'min-height' is not a valid property name)

After editing style.css commenting out all lines with 'min-height' the program launches fine.

Tags: gtk3 ui
Revision history for this message
Alvin Penner (apenner) wrote :

- could you attach a sample version of the file style.css, one which contains the min-height property?
- could you indicate, or do you remember, which actions you took in the gui that may have introduced this variable?

Revision history for this message
Carlos Guena (carlos-guena) wrote : Re: [Bug 1740850] Re: can't launch Inkscape 0.92
  • style.css Edit (2.8 KiB, text/css; charset="US-ASCII"; name="style.css")

Hello Alvin.
Here is the style.css attached.
I haven't touched the style.css until the error occurred.
After the error message I've tried to comment out the lines:

 99 /*min-height: 15px;*/
> 137 /*min-width: 0px;*/
> 138 /*min-height: 0px;*/
> 148 /*min-height: 24px;*/
>

and then the program launches without this error.

I don't know if it's relevant, but I also got one alert relating Harfbuzz
(because I am using Mint 18.3 - based on Ubuntu 16.04)

> Requires Harfbuzz 1.2.3 for visualizing alternative glyph OpenType tables.
> Compiled with: 1.0.1.
>

Thank you for your reply.

PS apologize my poor english.

2018-01-02 9:11 GMT-02:00 Alvin Penner <email address hidden>:

> - could you attach a sample version of the file style.css, one which
> contains the min-height property?
> - could you indicate, or do you remember, which actions you took in the
> gui that may have introduced this variable?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1740850
>
> Title:
> can't launch Inkscape 0.92
>
> Status in Inkscape:
> New
>
> Bug description:
> When launching Inkscape 0.92 (inkscape.dev/trunk in Mint 18.3), I got
> the following error:
> ** (inkscape:4852): ERROR **: CSSProviderError::load_from_path():
> /usr/share/inkscape/ui/style.css
> (style.css:99:14'min-height' is not a valid property name)
>
> After editing style.css commenting out all lines with 'min-height' the
> program launches fine.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/inkscape/+bug/1740850/+subscriptions
>

--

 [image: Formato] <http://www.formatografico.com.br>
Design Gráfico
Sites para Internet

11 2359 1891
11 99385 4989
http://formatografico.com.br

Revision history for this message
Patrick Storz (ede123) wrote : Re: can't launch Inkscape 0.92

@Carlos: It seems you're running an unstable development branch of Inkscape (0.92+devel) aka master aka trunk.
If this is not on purpose you should consider to switch to the stable branch (0.92.x), the latest stable version is Inkscape 0.92.2.

The issue you're experiencing was already mentioned at
https://gitlab.com/inkscape/inkscape/commit/032b8d6d039b93824ebd6312ad0a6bdd1ba2ba76#note_52614743
and seems to be a bug in older versions of GTK3. The stable branch still uses GTK2 and is not affected. A solution for the unstable branch has yet to be found.

summary: - can't launch Inkscape 0.92
+ Can't launch Inkscape 0.92+devel ('min-height' causes crash in GTK 3.18)
tags: added: gtk3
Revision history for this message
Carlos Guena (carlos-guena) wrote : Re: [Bug 1740850] Re: can't launch Inkscape 0.92

Thanks Eduard.

2018-01-02 10:33 GMT-02:00 Eduard Braun <email address hidden>:

> @Carlos: It seems you're running an unstable development branch of
> Inkscape (0.92+devel) aka master aka trunk.
> If this is not on purpose you should consider to switch to the stable
> branch (0.92.x), the latest stable version is Inkscape 0.92.2.
>
> The issue you're experiencing was already mentioned at
> https://gitlab.com/inkscape/inkscape/commit/032b8d6d039b93824ebd6312ad0a6b
> dd1ba2ba76#note_52614743
> and seems to be a bug in older versions of GTK3. The stable branch still
> uses GTK2 and is not affected. A solution for the unstable branch has yet
> to be found.
>
> ** Summary changed:
>
> - can't launch Inkscape 0.92
> + Can't launch Inkscape 0.92+devel ('min-height' causes crash in GTK 3.18)
>
> ** Tags added: gtk3
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1740850
>
> Title:
> Can't launch Inkscape 0.92+devel ('min-height' causes crash in GTK
> 3.18)
>
> Status in Inkscape:
> New
>
> Bug description:
> When launching Inkscape 0.92 (inkscape.dev/trunk in Mint 18.3), I got
> the following error:
> ** (inkscape:4852): ERROR **: CSSProviderError::load_from_path():
> /usr/share/inkscape/ui/style.css
> (style.css:99:14'min-height' is not a valid property name)
>
> After editing style.css commenting out all lines with 'min-height' the
> program launches fine.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/inkscape/+bug/1740850/+subscriptions
>

--

 [image: Formato] <http://www.formatografico.com.br>
Design Gráfico
Sites para Internet

11 2359 1891
11 99385 4989
http://formatografico.com.br

Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Xubuntu 16.04 (GTK 3.18).
Should you change the code so that it also works on old LTS versions (expected to be supported 5 years), or just target more recent Ubuntu versions with more recent GTK libraries? Knowing that 16.04 users still have the 0.92 branch available.

Changed in inkscape:
milestone: none → 0.93
status: New → Triaged
Revision history for this message
Patrick Storz (ede123) wrote :
Revision history for this message
Patrick Storz (ede123) wrote :

GTK+ 3.18 obviously still does not support the min-height property (so some tweaking might still be necessary design-wise), but at least Inkscape should not crash anymore because of that.

Changed in inkscape:
status: Triaged → Fix Released
assignee: nobody → Eduard Braun (eduard-braun2)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.