Problema na interface gráfica

1. Problema na interface gráfica

João Paulo Ramos Rezende
jprrezende

(usa Debian)

Enviado em 28/01/2014 - 20:16h

Pessoal,

estou o seguinte problema: Instalei o Draftsight (software CAD) e a instalação aconteceu normalmente. Inicio o software e ele abre, entretanto alguns inconvenientes acontecem. Por exemplo, na janela de Opções os ícones de expansão da treeview (+) e (-) não aparecem, nem os radiobox e checkbox.
Então iniciei o draftsight via terminal e ele reporta muitos erros ao carregar as imagens do tema.

Postei este problema aqui na seção de programação em gtk pois percebi que o draftsight o utiliza (GDK).

Meu sistema é o Linux Mint 16 Cinnamon 64 bits. Abaixo os erros que estão aparecendo:


(DraftSight:7771): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.

** (DraftSight:7771): WARNING **: Pixbuf theme: Cannot load pixmap file /usr/share/themes/Mint-X/gtk-2.0/Bars/toolbarbg.png: Failed to load image '/usr/share/themes/Mint-X/gtk-2.0/Bars/toolbarbg.png': reason not known, probably a corrupt image file


(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

** (DraftSight:7771): WARNING **: Invalid borders specified for theme pixmap:
/usr/share/themes/Mint-X/gtk-2.0/Bars/toolbarbg.png,
borders don't fit within the image

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

** (DraftSight:7771): WARNING **: Invalid borders specified for theme pixmap:
/usr/share/themes/Mint-X/gtk-2.0/Bars/toolbarbg.png,
borders don't fit within the image

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DraftSight:7771): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed


E por aí vai.

Já chequei e todas as imagens que ele diz não conseguir carregar estão no endereço correto, a libpng12 está instalada.

Alguém tem alguma idéia?


  


2. Re: Problema na interface gráfica

André Canhadas
andrecanhadas

(usa Debian)

Enviado em 29/01/2014 - 01:05h

Cinnamon usa GTK3 e parece que seu tema instalado usa gtk2

Invalid borders specified for theme pixmap:
/usr/share/themes/Mint-X/gtk-2.0/Bars/toolbarbg.png,
borders don't fit within the image


3. Re: Problema na interface gráfica

Perfil removido
removido

(usa Nenhuma)

Enviado em 29/01/2014 - 10:27h

Troque o tema, pelo jeito há alguma incompatibilidade relacionada ao tema GTK usado.


4. Re: Problema na interface gráfica

Perfil removido
removido

(usa Nenhuma)

Enviado em 29/01/2014 - 10:38h

Outra coisa que pode estar acontecendo, é que nem todo tema (seja de janelas ou ícones) tem seu equivalente para todos os aplicativos.