expose + workspace switcher

Bug #1102071 reported by Eugene Pankov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gala
Fix Released
Medium
Unassigned

Bug Description

Reproduce:
1. Bind expose to TL corner, bind workspace switcher to BL corner
2. Activate TL corner to trigger expose
3. Activate BL corner to trigger workspace switcher while expose is active
4. Desktop locks up until you activate TL corner again.

Solution: disable hot corners while expose is active

Note: if you trigger workspace switcher first, and expose later, everything goes ok, so order matters

Revision history for this message
Eugene Pankov (john-pankov) wrote :
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

We couldn't reproduce this bug in the latest current version (0.1-0~r279+pkg16~precise1). Could you check if it still happens to you?

Changed in gala:
status: New → Incomplete
Revision history for this message
Eugene Pankov (john-pankov) wrote :

Even worse, now (r279) I'm getting crash when trying to go into window or workspace overview:

(gdb) r --replace
Starting program: /usr/bin/gala --replace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeb591700 (LWP 26535)]
[New Thread 0x7fffe8a85700 (LWP 26554)]
[New Thread 0x7fffe30d5700 (LWP 26555)]
[Thread 0x7fffe30d5700 (LWP 26555) exited]
[New Thread 0x7fffe30d5700 (LWP 26556)]
[Thread 0x7fffe30d5700 (LWP 26556) exited]

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff4ff1fdb in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff4ff1fdb in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff4ff21b2 in g_log () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff661f894 in bamf_matcher_init (self=0x9ba980) at /build/buildd/bamf-0.2.124.2/./lib/libbamf/bamf-matcher.c:227
#3 0x00007ffff52c8957 in g_type_create_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4 0x00007ffff52ad0b9 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5 0x00007ffff52aec02 in g_object_newv () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff52af1ec in g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff661fa8a in bamf_matcher_get_default () at /build/buildd/bamf-0.2.124.2/./lib/libbamf/bamf-matcher.c:355
#8 0x000000000041b889 in gala_utils_get_icon_for_window (window=0xa347e0, size=64) at /build/buildd/gala-0.1/src/Utils.vala:63
#9 0x000000000042f412 in gala_window_thumb_construct (object_type=7501664, _window=0xa347e0)
    at /build/buildd/gala-0.1/src/Widgets/WindowThumb.vala:48
#10 0x000000000042fa24 in gala_window_thumb_new (_window=0xa347e0) at /build/buildd/gala-0.1/src/Widgets/WindowThumb.vala:33

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Oh, this is curiuos. Could you install "gala-dbg" package and try obtaining the backtrace again? It should be more readable this time.

Changed in gala:
status: Incomplete → New
Revision history for this message
Eugene Pankov (john-pankov) wrote :

gala-dbg is installed (as you can see things start to get bad at gala_utils_get_icon_for_window and down the stack to bamf_matcher_get_default in BAMF and beyond).
The only missing debug symbol is from libgobject, do you want me to install libgobject-dbg and try again?

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

There's no such thing as libgobject, it's actually a part of Glib, so the package you need is libglib2.0-0-dbg
If it's not installed, please install it and try again. Thanks!

Revision history for this message
Eugene Pankov (john-pankov) wrote :
Download full text (5.3 KiB)

Program received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=0x0, log_level=<optimized out>, format=0x7ffff66261e0 "Failed to open connection to bus: %s", args1=0x7fffffffd0b8)
    at /build/buildd/glib2.0-2.32.3/./glib/gmessages.c:765
(gdb) bt
#0 g_logv (log_domain=0x0, log_level=<optimized out>, format=0x7ffff66261e0 "Failed to open connection to bus: %s",
    args1=0x7fffffffd0b8) at /build/buildd/glib2.0-2.32.3/./glib/gmessages.c:765
#1 0x00007ffff4ff21b2 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>)
    at /build/buildd/glib2.0-2.32.3/./glib/gmessages.c:792
#2 0x00007ffff661f894 in bamf_matcher_init (self=0x7fffe4001c00) at /build/buildd/bamf-0.2.124.2/./lib/libbamf/bamf-matcher.c:227
#3 0x00007ffff52c8957 in g_type_create_instance (type=<optimized out>) at /build/buildd/glib2.0-2.32.3/./gobject/gtype.c:1892
#4 0x00007ffff52ad0b9 in g_object_constructor (type=<optimized out>, n_construct_properties=0, construct_params=0x0)
    at /build/buildd/glib2.0-2.32.3/./gobject/gobject.c:1849
#5 0x00007ffff52aec02 in g_object_newv (object_type=8451008, n_parameters=0, parameters=0x0)
    at /build/buildd/glib2.0-2.32.3/./gobject/gobject.c:1632
#6 0x00007ffff52af1ec in g_object_new (object_type=8451008, first_property_name=0x0)
    at /build/buildd/glib2.0-2.32.3/./gobject/gobject.c:1542
#7 0x00007ffff661fa8a in bamf_matcher_get_default () at /build/buildd/bamf-0.2.124.2/./lib/libbamf/bamf-matcher.c:355
#8 0x000000000041b889 in gala_utils_get_icon_for_window (window=0xbac2a0, size=64) at /build/buildd/gala-0.1/src/Utils.vala:63
#9 0x000000000042f412 in gala_window_thumb_construct (object_type=8112496, _window=0xbac2a0)
    at /build/buildd/gala-0.1/src/Widgets/WindowThumb.vala:48
#10 0x000000000042fa24 in gala_window_thumb_new (_window=0xbac2a0) at /build/buildd/gala-0.1/src/Widgets/WindowThumb.vala:33
#11 0x00000000004272ff in gala_window_overview_open (self=0x982740, animate=1, all_windows=0)
    at /build/buildd/gala-0.1/src/Widgets/WindowOverview.vala:571
#12 0x0000000000410407 in gala_plugin_perform_action (self=0x6648e0, type=GALA_ACTION_TYPE_WINDOW_OVERVIEW)
    at /build/buildd/gala-0.1/src/Plugin.vala:323
#13 0x000000000040ee26 in ___lambda55_ (_data2_=0xaa5f60) at /build/buildd/gala-0.1/src/Plugin.vala:197
#14 0x000000000040ee6d in ____lambda55__clutter_actor_enter_event (_sender=0xb08cd0, event=0x681e00, self=0xaa5f60) at Plugin.c:1569
#15 0x00007ffff744ce48 in _clutter_marshal_BOOLEAN__BOXED (closure=0xa2fce0, return_value=0x7fffffffdde0,
    n_param_values=<optimized out>, param_values=0x7fffffffde50, invocation_hint=<optimized out>, marshal_data=<optimized out>)
    at clutter-marshal.c:85
#16 0x00007ffff52a7ca2 in g_closure_invoke (closure=0xa2fce0, return_value=0x7fffffffdde0, n_param_values=2,
    param_values=0x7fffffffde50, invocation_hint=<optimized out>) at /build/buildd/glib2.0-2.32.3/./gobject/gclosure.c:777
#17 0x00007ffff52b8d71 in signal_emit_unlocked_R (node=<optimized out>, detail=0, instance=<optimized out>,
    emission_return=0x7fffffffe020, instance_and_params=0x7fffffffde50) at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3547
#18 0x00007fff...

Read more...

Revision history for this message
Tom Beckmann (tombeckmann) wrote :

It should be fixed now, please have another try and reopen if I'm wrong.

Changed in gala:
status: New → Fix Released
Revision history for this message
Eugene Pankov (john-pankov) wrote :

@Tom it doesn't crash now but the original bug (desktop lockdown) is still present.
P.S. I accidentally changed bug status

Changed in gala:
status: Fix Released → Won't Fix
Revision history for this message
Tom Beckmann (tombeckmann) wrote :

What revision is that? I may have asked too early :/
apt-cache show gala | grep Version

Changed in gala:
status: Won't Fix → New
Revision history for this message
Eugene Pankov (john-pankov) wrote :

It's 0.1-0~r282+r279+pkg16~precise1

Revision history for this message
Tom Beckmann (tombeckmann) wrote :

I think you'll get an upgrade to rev280 then soon, which should hopefully bring the fix.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Marking incomplete until tested on version 0.1-0~r280*

Changed in gala:
status: New → Incomplete
Revision history for this message
Eugene Pankov (john-pankov) wrote :

r280: the desktop isn't locked down anymore, but the instant jump between the window overview and workspace overview is still present. I suggest to disable hot corners while any kind of overview mode is active

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Then I'm marking this particular bug as fixed. I'd like to hear from Tom if he thinks it's a valid change. In the meanwhile feel free to open a new bug about it.

Changed in gala:
status: Incomplete → Fix Committed
Revision history for this message
Tom Beckmann (tombeckmann) wrote :

That's what I intended to happen. I don't think blocking is great, as you should still be able to close something with the same hotcorner, so why not open something else with another one?
Not having a transition is not so awesome, but I think it will work and not be worth the effort of writing one.

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Tom, I'd really like it if any overview hotcorner triggered when another overview was open simply closed whatever overview was open, then did the overview it was supposed to trigger.

Changed in gala:
milestone: none → luna-beta2
Cody Garver (codygarver)
Changed in gala:
status: Fix Committed → Fix Released
importance: Undecided → Medium
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.