Emerald crashes when requested to hide itself

Bug #376008 reported by Dan Quade
58
This bug affects 12 people
Affects Status Importance Assigned to Milestone
emerald (Ubuntu)
Invalid
Undecided
Unassigned
maximus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Setting Compiz to hide window decorations for maximized windows (in CCSM --> Window Decorations --> Decoration windows: !(state=maxvert | maxhorz) ), Emerald will crash when it is maximized, instead of just hiding itself (like Metacity does).

This is the message it crashes with:

(emerald:6969): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GdkDrawable'

(emerald:6969): Gdk-CRITICAL **: gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed
Segmentation fault

This bug is especially irritating for users of the Window Applets: http://www.gnome-look.org/content/show.php?content=103732

Dan Quade (danquade)
description: updated
Revision history for this message
Manolis Kapernaros (kapcom01) wrote :

i just want to add that it crashes 90% of the times that i restore a maximized window and when it doesnt crash the title bar's buttons (close, minimize...) dissapear. I can still click them but they are not visible. There is just an empty title bar, and if i minimize and restore then they appear again.

But as i said 90% it will crash..

Changed in emerald (Ubuntu):
status: New → Confirmed
Revision history for this message
deFINE (define) wrote :

I have the same bug:

define@dv5:~$ emerald
/home/define/.themes/Infinity on high/gtk-2.0/gtkrc:578: error: invalid string constant "terminal", expected valid string constant

(emerald:31170): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GdkDrawable'

(emerald:31170): Gdk-CRITICAL **: gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed
Ошибка сегментирования
define@dv5:~$

Revision history for this message
IEHBR (pastuchov) wrote :

sorry. new on this bug tracker. got this bug on ubuntu netbook 10.4 while trying to use compiz, emerald. than I try to minimize window by double click on applet [Window Applets: http://www.gnome-look.org/content/show.php?content=103732]. every time. but without running [maximus / Maximus windowdown management] (then it is close) - it seems to be ok.

sorry for my english

Revision history for this message
Tobias Baldauf (technopagan) wrote :

I just experienced this bug (Emerald crashing in combination with Window-applets, set to hide decorations for maximized windows) and decided to play around a little. My relevant setup is:

Intel GMA 950
Ubuntu 10.10 64bit,
Default Compiz
Default Emerald
Window Applets 0.2.8

I disabled the setting in Window Applets to hide decorations for maximized windows, went to Compiz Settings Manager and set "!state=maxvert" for window decorations. This solved Emerald crashing. Things now work as expected: On maximize, decorations are removed and the window can be controlled via Window Applets. On restore, Emerald decorations return - without any crashes.

Setting the Window Applets key to remove decorations on maximized windows again makes Emerald crash once more. This behaviour is reproduceable.

Revision history for this message
Dan Quade (danquade) wrote :

Thank you sharing the wonderful workaround Tobias! It will definitely solve the problem for Window Applets, however the actual bug in Emerald still remains. Apparently Emerald gets confused specifically by horizontal maximization.

Revision history for this message
Huy L (lenhuy-corp) wrote :

-- Just deactivate the option 'Use Button Fade' in the Emerald Settings.

mine never crashed since.

Revision history for this message
Dinin (dinin2) wrote :

Huy L's workaround works perfectly. Thanks!

Revision history for this message
Huy L (lenhuy-corp) wrote :

No Problem :))

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maximus (Ubuntu):
status: New → Confirmed
Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in emerald (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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