After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 522199 - Make cheese widget work again
Make cheese widget work again
Status: RESOLVED FIXED
Product: cheese
Classification: Applications
Component: general
unspecified
Other All
: Normal enhancement
: 2.26
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
: 594266 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-13 10:10 UTC by Joshua Lock
Modified: 2011-03-27 01:06 UTC
See Also:
GNOME target: 3.0
GNOME version: ---


Attachments
patch which brings dbus capabilities to cheese (15.48 KB, patch)
2008-08-13 17:50 UTC, Felix Kaser
none Details | Review
Add simple webcam widget (13.29 KB, patch)
2009-11-27 18:57 UTC, Bastien Nocera
none Details | Review
First pass at webcam widget for use in other applications (15.26 KB, patch)
2009-12-01 16:13 UTC, Bastien Nocera
committed Details | Review

Description Joshua Lock 2008-03-13 10:10:45 UTC
Now that Cheese is in Gnome it'd be awesome to integrate it into the desktop more.

I'd like to see an option to take photos using Cheese wherever my Gnome desktop and Gnome software want me to select an image; About Me, Pidgin, Empathy, other IM clients etc.

I'm not sure how this would be best achieved, any ideas?
Comment 1 daniel g. siegel 2008-03-13 12:28:20 UTC
conduit ;)  i had a talk with john stowers yesterday and he wants to get conduit into gnome. once that is achieved, there shouldnt be any problem to share the media files around
Comment 2 Joshua Lock 2008-03-13 12:49:44 UTC
Ok, sounds like a good start. I guess I should look at Conduit some more.
I'm not just thinking about sharing files though, I'd like to see something like OS X's choose icon widget [1] but also have an option in there to 'Take Photo' and launch cheese returning the image to the calling application.

What do you think? Am I making sense? :)


1. http://adiumx.com/images/blogpostimages/climagepicker.png
Comment 3 daniel g. siegel 2008-03-14 02:17:15 UTC
totally! we already planned such a feature by using dbus which could be used by empathy, gdm, gnome-about-me...
though we hadnt had the time to implement such a very cool feature
Comment 4 Joshua Lock 2008-03-14 07:16:48 UTC
Excellent! That will be really cool. 
The next step then will be a dbus interface for Cheese?
Comment 5 daniel g. siegel 2008-03-14 12:36:53 UTC
unfortunately i am no dbus expert, but i would love to have something like dbus in it. 

the idea was to open cheese by dbus in a "special mode", where a chosen picture can be returned. this could then be used for gdm, empathy and so on...
Comment 6 Bastien Nocera 2008-05-15 23:56:53 UTC
Isn't this the same as bug 531968?
Comment 7 Felix Kaser 2008-07-15 19:03:19 UTC
not exactly....

i would like to have this bug separate to the other one, because vincent was suggesting an autostart program which checks if there is a webcam and if the about-me picture is empty.

In my opinion this has (nearly) nothing to do with cheese, cheese would only be the provider of the new picture (possible via dbus or the future media manager).

I suggest closing the other bug, it's not a cheese issue.
Comment 8 Felix Kaser 2008-08-13 17:50:11 UTC
Created attachment 116512 [details] [review]
patch which brings dbus capabilities to cheese

this patch brings dbus capabilities to cheese! please review it... :D

it solves bug #527736 too, with dbus!
Comment 9 André Klapper 2009-02-16 18:40:44 UTC
any news here?
Comment 10 Felix Kaser 2009-02-16 19:31:21 UTC
I'm going to invest some time in the next few months...

What I think the best solution would be:
make a special file (if its possible somehow, anyone who knows that?) which starts cheese. So it would be possible to add the cheese-pic-folder as a "place" (bookmark) to gtk-file-chooser, the folder contains the pictures taken with cheese and this special file which gives the user the possibility to start cheese out of the file chooser. If this is not possible yet, it would be a great feature I think. I have seen such things on windows...probably some can remember the batch files from photoshop? you had the possibility to drag/drop files on the .bat file and the files have been converted.

I will definitely need some help with that because I'm no gio/gfs/whatever expert...
Comment 11 Alex Launi 2009-10-04 15:32:58 UTC
I think that this could be best accomplished via a very simple dbus api. The way I see this working is that cheese would have a dbus method to take a picture, and it would return a string with the path to the photo that it took.

Would work like this- <application> calls org.gnome.Cheese.take_photo(). Cheese would open and come to front, the user does whatever effects etc they desire, and takes a photo. After the photo has been taken, the user is presented with a dialog displaying the photo and asking if this is the photo they'd like to use for <application>, if they say no, they repeat the process until they're happy. When they say yes cheese closes, and the dbus method returns the path to the photo that was taken in the cheese session, and <application> continues with what it was doing.
Comment 12 Felix Kaser 2009-10-05 14:05:29 UTC
hey alex...what you say sounds good! We already thought of it but we didn't have the time to implement it...

would you like to implement your feature and post a patch?

about the preview dialog you're talking of...what do you think about including it in the live feed from the cam? after taking a picture you don't see the live preview but instead the picture that was just taken and two buttons (accept, try again)
Comment 13 daniel g. siegel 2009-10-05 14:38:30 UTC
sounds awesome!
Comment 14 Bastien Nocera 2009-10-05 14:48:53 UTC
(In reply to comment #11)
> I think that this could be best accomplished via a very simple dbus api.

The problem is that this requires every app to implement it. I still think it would be nicer to implement this as a new location in the file chooser, or as a stand-alone widget which would allow for both file selection and taking pictures.

MacOS X' account preferences have:
- a drop-down selection of the stock images + an item saying "Edit Image..."
- Edit Image spawns a new dialogue where recent Photobooth pictures appear, and a live view of the camera shows, with a button to take the picture
- A button at the bottom of the dialogue allows to select a single file in a file chooser

I'd like to see a drop-down widget that would replace the photo selection in most apps:

For a user management app/about-me, current picture would be a button popping up the dialogue mentioned above.

For other apps, the button would be a drop-down with either "Use account default" or "Other Image..." (which would popup the aforementioned dialogue).

A D-Bus API, whilst nice, wouldn't make it easier than simply using a widget from cheese.
Comment 15 daniel g. siegel 2009-10-05 15:10:35 UTC
(In reply to comment #14)
> (In reply to comment #11)
> > I think that this could be best accomplished via a very simple dbus api.
> 
> The problem is that this requires every app to implement it. 

maybe i didnt get it, but a cheese widget would also have to be implemented in every app, no?
Comment 16 Bastien Nocera 2009-10-05 15:22:42 UTC
It would have to be used in every app, but it would certainly be easier to have:
filename = cheese_photo_selection_get_filename (widget);
than complicated D-Bus code in every app.

Implementing pluggable "folders" for the filechooser would probably require each app that cares about the user's face to implement something similar.

Especially if you'd also want gravatar support as as been proposed for the control-center.
Comment 17 Bastien Nocera 2009-11-27 18:57:28 UTC
Created attachment 148615 [details] [review]
Add simple webcam widget

Add a webcam widget to allow applications to access webcams
without putting in too much work.
Comment 18 Bastien Nocera 2009-11-27 19:02:03 UTC
First pass at a webcam widget. Test application included as well.

I think this would be safe to commit once cleaned up.

Missing are:
- better errors when there's a problem with the webcam
- function to allow snapshotting (possibly saving those as pixbufs, rather than files)
- allow passing arbitrary filters through to the webcam pipeline
Comment 19 Bastien Nocera 2009-11-30 19:39:23 UTC
*** Bug 594266 has been marked as a duplicate of this bug. ***
Comment 20 Christian Persch 2009-12-01 13:04:14 UTC
+ * Licensed under the GNU General Public License Version 2
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.

That's self-contradictory. Is it 2-only, or 2+ ?
Comment 21 Bastien Nocera 2009-12-01 14:34:31 UTC
(In reply to comment #20)
> + * Licensed under the GNU General Public License Version 2
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> 
> That's self-contradictory. Is it 2-only, or 2+ ?

I cut'n'pasted from the other files, so best to file a new bug about that.
Comment 22 Bastien Nocera 2009-12-01 16:13:04 UTC
Created attachment 148831 [details] [review]
First pass at webcam widget for use in other applications
Comment 23 Bastien Nocera 2009-12-01 16:13:43 UTC
Comment on attachment 148831 [details] [review]
First pass at webcam widget for use in other applications

Attachment 148831 [details] pushed as c032a30 - First pass at webcam widget for use in other applications
Comment 24 Bastien Nocera 2009-12-01 16:17:12 UTC
Needs work being done as per comment 18, as well as setting a soname, and addition of pkg-config file.
Comment 25 Yann 2010-08-24 18:22:03 UTC
any news after 8 months ? 
I heard of something similar planned in next Ubuntu's installer (auto-detect webcam and proposes to take picture for the session avatar), is it related ?
Comment 26 Bastien Nocera 2011-01-23 21:41:22 UTC
The cheese video widget worked in December 2009 when I committed it. The problem is that it has since regressed.
Comment 27 Luciana Fujii 2011-02-10 20:48:56 UTC
It does work for me again. I fixed it to use the new CheeseCamera, with clutter-texture (https://bugzilla.gnome.org/show_bug.cgi?id=632337).

Are there still plans to use this?
Comment 28 Bastien Nocera 2011-02-11 01:36:38 UTC
(In reply to comment #27)
> It does work for me again. I fixed it to use the new CheeseCamera, with
> clutter-texture (https://bugzilla.gnome.org/show_bug.cgi?id=632337).
> 
> Are there still plans to use this?

It's already used in the gnome-control-center's user-accounts panel, but it's broken if you build with Cheese support, as it's not been ported to GTK+ 3.x yet.
Comment 29 Frederic Peters 2011-03-11 07:59:13 UTC
Could you someone confirm it's okay now, with the port to GTK+ 3 having been completed?
Comment 30 Matthias Clasen 2011-03-12 04:01:52 UTC
Bastien said its still broken, unfortunately.
Comment 31 Luciana Fujii 2011-03-12 04:36:27 UTC
What's broken? Can we fix it?

I have been only testing with cheese-test-chooser, and this seems to work for me, but I realize it probably doesn't test everything.
Comment 32 Bastien Nocera 2011-03-12 05:08:03 UTC
That's what I get from cheese-test-chooser. Cheese itself crashes in parsing the GOptions.

  • #0 glGetIntegerv
    from /usr/lib64/libGL.so.1
  • #1 ??
    from /usr/lib64/libclutter-gst-1.0.so.0
  • #2 g_type_create_instance
    at gtype.c line 1889
  • #3 g_object_constructor
    at gobject.c line 1615
  • #4 g_object_newv
    at gobject.c line 1479
  • #5 g_object_new_valist
    at gobject.c line 1596
  • #6 g_object_new
    at gobject.c line 1311
  • #7 cheese_camera_setup
    at cheese-camera.c line 1201
  • #8 setup_camera
    at cheese-widget.c line 325
  • #9 g_thread_create_proxy
    at gthread.c line 1897
  • #10 start_thread
    at pthread_create.c line 301
  • #11 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 115

I guess I'll try again once I've updated some more.
Comment 33 Bastien Nocera 2011-03-12 16:03:34 UTC
I get the same problem from the user-accounts panel when using a tarball version of cheese.
Comment 34 Frederic Peters 2011-03-17 22:29:37 UTC
Cheese, and gst-plugins-bad from git, vala 0.11.2 and clutter-gst 1.3.6 as tarballs, made it work for me.

But there is still a segfault in gnome-control-center,

Program terminated with signal 6, Aborted.
  • #0 raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #0 raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #1 abort
    at abort.c line 92
  • #2 g_assertion_message
  • #3 g_assertion_message_expr
    at gtestutils.c line 1369
  • #4 _cogl_xlib_get_display
    at ./winsys/cogl-xlib.c line 78
  • #5 _cogl_create_context_winsys
    at ./winsys/cogl-context-winsys.c line 103
  • #6 cogl_create_context
    at ./cogl-context.c line 127
  • #7 _cogl_context_get_default
    at ./cogl-context.c line 401
  • #8 cogl_features_available
    at ./cogl.c line 392
  • #9 _cogl_texture_2d_can_create
    at ./cogl-texture-2d.c line 171
  • #10 _cogl_texture_2d_new_with_size
    at ./cogl-texture-2d.c line 238
  • #11 cogl_texture_new_with_size
    at ./cogl-texture.c line 389
  • #12 clutter_texture_init
    at ./clutter-texture.c line 1291
  • #13 g_type_create_instance
    at gtype.c line 1889
  • #14 g_object_constructor
    at gobject.c line 1615
  • #15 g_object_newv
    at gobject.c line 1479
  • #16 g_object_new
    at gobject.c line 1308
  • #17 clutter_texture_new
    at ./clutter-texture.c line 2221
  • #18 cheese_widget_init
    at cheese-widget.c line 207
  • #19 g_type_create_instance
    at gtype.c line 1889
  • #20 g_object_constructor
    at gobject.c line 1615
  • #21 g_object_newv
    at gobject.c line 1398
  • #22 g_object_new
    at gobject.c line 1308
  • #23 cheese_widget_new
    at cheese-widget.c line 435
  • #24 cheese_avatar_chooser_init
    at cheese-avatar-chooser.c line 225
  • #25 g_type_create_instance
    at gtype.c line 1889
  • #26 g_object_constructor
    at gobject.c line 1615
  • #27 g_object_newv
    at gobject.c line 1479
  • #28 g_object_new
    at gobject.c line 1308
  • #29 cheese_avatar_chooser_new
    at cheese-avatar-chooser.c line 321
  • #30 webcam_icon_selected
    at um-photo-dialog.c line 293
  • #31 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #32 g_closure_invoke
    at gclosure.c line 767
  • #33 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #34 g_signal_emit_valist
    at gsignal.c line 2983
  • #35 g_signal_emit
    at gsignal.c line 3040
  • #36 gtk_widget_activate
    at gtkwidget.c line 6109
  • #37 gtk_menu_shell_activate_item
    at gtkmenushell.c line 1403
  • #38 gtk_menu_shell_button_release
    at gtkmenushell.c line 803
  • #39 gtk_menu_button_release
    at gtkmenu.c line 3489
  • #40 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #41 g_type_class_meta_marshal
    at gclosure.c line 878
  • #42 g_closure_invoke
    at gclosure.c line 767
  • #43 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #44 g_signal_emit_valist
    at gsignal.c line 2993
  • #45 g_signal_emit
    at gsignal.c line 3040
  • #46 gtk_widget_event_internal
    at gtkwidget.c line 6078
  • #47 gtk_widget_event
    at gtkwidget.c line 5794
  • #48 gtk_propagate_event
    at gtkmain.c line 2597
  • #49 gtk_main_do_event
    at gtkmain.c line 1872
  • #50 _gdk_event_emit
    at gdkevents.c line 71
  • #51 gdk_event_source_dispatch
    at gdkeventsource.c line 318
  • #52 g_main_dispatch
    at gmain.c line 2440
  • #53 g_main_context_dispatch
    at gmain.c line 3013
  • #54 g_main_context_iterate
    at gmain.c line 3091
  • #55 g_main_loop_run
    at gmain.c line 3299
  • #56 gtk_main
    at gtkmain.c line 1358
  • #57 gtk_application_run_mainloop
    at gtkapplication.c line 85
  • #58 g_application_run
    at gapplication.c line 1257
  • #59 main
    at control-center.c line 149

Comment 35 Bastien Nocera 2011-03-18 00:21:10 UTC
Works for me now, with an updated clutter-gtk, clutter-gst, clutter, and co.

I committed a patch to make the widget mostly work again (threading problems I believe), but there are still issues:
- the video is clipped instead of being scaled with black borders if necessary (which means that the picture once taken doesn't match)
- the preview (once the picture is taken) shows up with a blue background instead of black
- the flash makes the shell's panel disappear, which probably isn't that great a side-effect
- When used within the control-center's user-accounts, my machine hard-locks, probably not a cheese problem, but makes debugging difficult
Comment 36 Bastien Nocera 2011-03-18 00:37:56 UTC
And as it's used in the control-center [1], I get:

Clutter-CRITICAL **: Unable to retrieve the geometry of the foreign window: XGetGeometry() failed (status code: 0)

  • #0 raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #1 abort
    at abort.c line 92
  • #2 g_logv
  • #3 g_log
    at gmessages.c line 577
  • #4 clutter_x11_set_stage_foreign
    at x11/clutter-stage-x11.c line 1282
  • #5 gtk_clutter_embed_realize
    at ./gtk-clutter-embed.c line 278
  • #6 g_closure_invoke
    at gclosure.c line 767
  • #7 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #8 g_signal_emit_valist
    at gsignal.c line 2983
  • #9 g_signal_emit
    at gsignal.c line 3040
  • #10 gtk_widget_realize
    at gtkwidget.c line 4394
  • #11 cheese_widget_realize
    at cheese-widget.c line 362
  • #12 g_closure_invoke
    at gclosure.c line 767
  • #13 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #14 g_signal_emit_valist
    at gsignal.c line 2983
  • #15 g_signal_emit
    at gsignal.c line 3040
  • #16 gtk_widget_realize
    at gtkwidget.c line 4394
  • #17 gtk_widget_map
    at gtkwidget.c line 4164
  • #18 gtk_box_forall
    at gtkbox.c line 1721
  • #19 gtk_container_map
    at gtkcontainer.c line 3115
  • #20 g_closure_invoke
    at gclosure.c line 767
  • #21 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #22 g_signal_emit_valist
    at gsignal.c line 2983
  • #23 g_signal_emit
    at gsignal.c line 3040
  • #24 gtk_widget_map
    at gtkwidget.c line 4166
  • #25 gtk_notebook_map
    at gtknotebook.c line 1785
  • #26 g_closure_invoke
    at gclosure.c line 767
  • #27 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #28 g_signal_emit_valist
    at gsignal.c line 2983
  • #29 g_signal_emit
    at gsignal.c line 3040
  • #30 gtk_widget_map
    at gtkwidget.c line 4166
  • #31 gtk_box_forall
    at gtkbox.c line 1721
  • #32 gtk_container_map
    at gtkcontainer.c line 3115
  • #33 g_closure_invoke
    at gclosure.c line 767
  • #34 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #35 g_signal_emit_valist
    at gsignal.c line 2983
  • #36 g_signal_emit
    at gsignal.c line 3040
  • #37 gtk_widget_map
    at gtkwidget.c line 4166
  • #38 gtk_window_map
    at gtkwindow.c line 4671
  • #39 gtk_dialog_map
    at gtkdialog.c line 459
  • #40 g_closure_invoke
    at gclosure.c line 767
  • #41 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #42 g_signal_emit_valist
    at gsignal.c line 2983
  • #43 g_signal_emit
    at gsignal.c line 3040
  • #44 gtk_widget_map
    at gtkwidget.c line 4166
  • #45 gtk_window_show
    at gtkwindow.c line 4612
  • #46 g_closure_invoke
    at gclosure.c line 767
  • #47 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #48 g_signal_emit_valist
    at gsignal.c line 2983
  • #49 g_signal_emit
    at gsignal.c line 3040
  • #50 gtk_widget_show
    at gtkwidget.c line 3898
  • #51 gtk_widget_show
    at gtkwidget.c line 3875
  • #52 g_closure_invoke
    at gclosure.c line 767
  • #53 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #54 g_signal_emit_valist
    at gsignal.c line 2983
  • #55 g_signal_emit
    at gsignal.c line 3040
  • #56 gtk_widget_activate
    at gtkwidget.c line 6109
  • #57 gtk_menu_shell_activate_item
    at gtkmenushell.c line 1403
  • #58 gtk_menu_shell_button_release
    at gtkmenushell.c line 803
  • #59 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #60 g_closure_invoke
    at gclosure.c line 767
  • #61 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #62 g_signal_emit_valist
    at gsignal.c line 2993
  • #63 g_signal_emit
    at gsignal.c line 3040
  • #64 gtk_widget_event_internal
    at gtkwidget.c line 6078
  • #65 gtk_propagate_event
    at gtkmain.c line 2597
  • #66 gtk_main_do_event
    at gtkmain.c line 1872
  • #67 gdk_event_source_dispatch
    at gdkeventsource.c line 318
  • #68 g_main_dispatch
    at gmain.c line 2440
  • #69 g_main_context_dispatch
    at gmain.c line 3013
  • #70 g_main_context_iterate
    at gmain.c line 3091
  • #71 g_main_loop_run
    at gmain.c line 3299
  • #72 gtk_main
    at gtkmain.c line 1358
  • #73 g_application_run
    at gapplication.c line 1242
  • #74 main
    at control-center.c line 152

[1]: http://git.gnome.org/browse/gnome-control-center/tree/panels/user-accounts/um-photo-dialog.c#n287
Comment 37 Emmanuele Bassi (:ebassi) 2011-03-18 09:05:07 UTC
(In reply to comment #36)
> And as it's used in the control-center [1], I get:
> 
> Clutter-CRITICAL **: Unable to retrieve the geometry of the foreign window:
> XGetGeometry() failed (status code: 0)
> 

it could be a mismatched visual; clutter-gtk asks for ARGB visuals by default.

if this:

  export CLUTTER_DISABLE_ARGB_VISUAL=1

before launching g-c-c makes embedding work then it's the ARGB visual issue.
Comment 38 Bastien Nocera 2011-03-18 11:18:22 UTC
(In reply to comment #37)
> (In reply to comment #36)
> > And as it's used in the control-center [1], I get:
> > 
> > Clutter-CRITICAL **: Unable to retrieve the geometry of the foreign window:
> > XGetGeometry() failed (status code: 0)
> > 
> 
> it could be a mismatched visual; clutter-gtk asks for ARGB visuals by default.
> 
> if this:
> 
>   export CLUTTER_DISABLE_ARGB_VISUAL=1
> 
> before launching g-c-c makes embedding work then it's the ARGB visual issue.

Nope, same problem. I think it has to do with the order in which the widgets get realised, or maybe interaction with mutter.
Comment 39 Bastien Nocera 2011-03-18 14:52:41 UTC
Fixed the use in the control-center by calling gtk_clutter_init() unconditionally in the chooser widget's class init. Which leaves us with:

(In reply to comment #35)
> Works for me now, with an updated clutter-gtk, clutter-gst, clutter, and co.
> - the video is clipped instead of being scaled with black borders if necessary
> (which means that the picture once taken doesn't match)

This is a problem for cheese itself when used in CheeseCamera, as you might get a clipped preview instead of a resized one by default.

> - the preview (once the picture is taken) shows up with a blue background
> instead of black

That's easily fixable.

> - the flash makes the shell's panel disappear, which probably isn't that great
> a side-effect

Will poke shell people about it.
Comment 40 Bastien Nocera 2011-03-25 19:40:01 UTC
commit 6f2697c08165a594cd2cd0af7aa97a02298089fe
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Mar 24 18:01:32 2011 +0000

    lib: Make the flash not hide the gnome-shell panel
    
    By using the work area, rather than the fullscreen
    when it's available (X11 only).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=522199

commit e7e67cc0fab32b1784fc9e400a83962fa9799241
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Mar 24 17:36:40 2011 +0000

    lib: Don't crop the video preview
    
    But resize it, preserving aspect-ratio instead.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=522199

commit bf6adc935f05e27c79df3773161ddc3191b4ff54
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Mar 24 18:03:28 2011 +0000

    lib: Fix blue background in chooser widget
    
    By updating um-crop-area.[ch] from gnome-control-center.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=522199
Comment 41 daniel g. siegel 2011-03-26 06:44:06 UTC
in fall we removed the mx dependency as we were asked to. afaik mx is still not an approved dependency of gnome. is there any other way to fix this instead of using mx?

(In reply to comment #40)
> commit 6f2697c08165a594cd2cd0af7aa97a02298089fe
> Author: Bastien Nocera <hadess@hadess.net>
> Date:   Thu Mar 24 18:01:32 2011 +0000
> 
>     lib: Make the flash not hide the gnome-shell panel
> 
>     By using the work area, rather than the fullscreen
>     when it's available (X11 only).
> 
>     https://bugzilla.gnome.org/show_bug.cgi?id=522199
> 
> commit e7e67cc0fab32b1784fc9e400a83962fa9799241
> Author: Bastien Nocera <hadess@hadess.net>
> Date:   Thu Mar 24 17:36:40 2011 +0000
> 
>     lib: Don't crop the video preview
> 
>     But resize it, preserving aspect-ratio instead.
> 
>     https://bugzilla.gnome.org/show_bug.cgi?id=522199
> 
> commit bf6adc935f05e27c79df3773161ddc3191b4ff54
> Author: Bastien Nocera <hadess@hadess.net>
> Date:   Thu Mar 24 18:03:28 2011 +0000
> 
>     lib: Fix blue background in chooser widget
> 
>     By updating um-crop-area.[ch] from gnome-control-center.
> 
>     https://bugzilla.gnome.org/show_bug.cgi?id=522199
Comment 42 Bastien Nocera 2011-03-27 01:06:47 UTC
(In reply to comment #41)
> in fall we removed the mx dependency as we were asked to. afaik mx is still not
> an approved dependency of gnome. is there any other way to fix this instead of
> using mx?

Given more time, I'm sure somebody could cook up an aspect frame that didn't rely on Mx. For the time being, it was all that could be done.

Damien Lespiau went out of his way to get the aspect frame into an Mx branch, from an internal project, and though I was disappointed the feature wasn't in clutter proper, that's the best that could be done at the time.

Best file a separate bug about removing the mx dependency.