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 636869 - confusing 'flickr' option
confusing 'flickr' option
Status: RESOLVED DUPLICATE of bug 707569
Product: gnome-control-center
Classification: Core
Component: Background
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
3.10
Depends on:
Blocks:
 
 
Reported: 2010-12-09 13:04 UTC by Matthias Clasen
Modified: 2014-02-13 14:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2010-12-09 13:04:33 UTC
I have this 'Flickr' option in the side bar of the panel, which just shows an empty bar, and is confusing me. I think we need to either

- hide the flickr option unless an account is set up

or

- explain how to set one up in the empty area
Comment 1 Bastien Nocera 2010-12-10 16:46:37 UTC
I think it might be a libsocialweb bug, as I can't seem to get it to show anything, even though I have an account setup.
Comment 2 Bastien Nocera 2010-12-13 16:27:44 UTC
OK. It's actually normal when there's no account setup, or you don't have contacts in flickr, or your contacts didn't upload anything.

We'd need to add a search entry at the top of the scrolled view, and do something like:

diff --git a/panels/background/bg-flickr-source.c b/panels/background/bg-flickr-source.c
index 2e164e6..e34fee3 100644
--- a/panels/background/bg-flickr-source.c
+++ b/panels/background/bg-flickr-source.c
@@ -145,14 +145,17 @@ bg_flickr_source_init (BgFlickrSource *self)
 {
   GnomeDesktopThumbnailFactory *thumb_factory;
   BgFlickrSourcePrivate *priv;
+  GHashTable *params;
 
   priv = self->priv = FLICKR_SOURCE_PRIVATE (self);
 
   priv->client = sw_client_new ();
   priv->service = sw_client_get_service (priv->client, "flickr");
+  params = g_hash_table_new (g_str_hash, g_str_equal);
+  g_hash_table_insert (params, "text", "My search term");
   sw_client_service_query_open_view (priv->service,
-                                     "feed",
-                                     NULL,
+                                     "x-flickr-search",
+                                     params,
                                      _query_open_view_cb,
                                      self);
+  g_hash_table_unref (params);

Where "My search term" would be the search term entered in the search entry.

This would be matching the mockups at:
http://live.gnome.org/Design/SystemSettings/Background
Comment 3 Bastien Nocera 2011-02-14 15:51:11 UTC
As discussed on IRC, we'll probably want to use the user's photo streams instead of implementing a search, which would mean removing that search.
Comment 4 André Klapper 2011-08-24 13:20:06 UTC
Removing GNOME Target as per IRC discussion with hadess on #gnome-hackers.
You can use Target Milestones for project specific planning (you can set them up yourself if you are listed as module maintainer in Bugzilla).
Comment 5 Laurent Pointecouteau 2012-11-07 23:47:54 UTC
How does this "Flickr" tab is supposed to work ? I just discovered this with the upgrade to GNOME 3.6, and it just shows me a blank space. Terminal gives me those error messages : 

** (gnome-control-center:3617): WARNING **: sw-client-service.c:917: Error calling OpenView on service flickr: Method "OpenView" with signature "sa{ss}" on interface "com.meego.libsocialweb.Query" doesn't exist


(gnome-control-center:3617): background-cc-panel-WARNING **: Could not connect to Flickr service

Where am I supposed to configure this ? I guess the background picker should tell me about that, when I'm clicking on the "Flickr" tab for the first time.
Comment 6 Matthias Clasen 2012-11-09 14:23:11 UTC
You are probably using Ubuntu - they heavily patch the control-center, including this. There's no flickr support in the upstream background panel at this point afaik.
Comment 7 Bastien Nocera 2012-11-09 14:40:40 UTC
(In reply to comment #6)
> You are probably using Ubuntu - they heavily patch the control-center,
> including this. There's no flickr support in the upstream background panel at
> this point afaik.

It's there if you compile with libsocialweb.
Comment 8 Laurent Pointecouteau 2012-11-09 14:45:23 UTC
(In reply to comment #6)
> You are probably using Ubuntu - they heavily patch the control-center,
> including this. There's no flickr support in the upstream background panel at
> this point afaik.

Actually, I'm using Arch Linux. I also have libsocialweb already installed.
Comment 9 Matthias Clasen 2012-11-09 23:31:13 UTC
(In reply to comment #7)
> 
> It's there if you compile with libsocialweb.

I had no idea !
Comment 10 Gil Forcada 2013-01-13 13:39:59 UTC
The good solution (R) would be to make gnome-online-accounts have a flickr account (#678151), right?

But if that takes long for whichever reason, it would be nice to either hide it completely if the libsocialweb does not have a flickr account, or as suggested in the description it tells the user how to make this tab display some images to choose.
Comment 11 Bastien Nocera 2013-01-13 17:15:15 UTC
(In reply to comment #10)
> The good solution (R) would be to make gnome-online-accounts have a flickr
> account (#678151), right?

And have libsocialweb use it too.

> But if that takes long for whichever reason, it would be nice to either hide it
> completely if the libsocialweb does not have a flickr account, or as suggested
> in the description it tells the user how to make this tab display some images
> to choose.

The default is to disable libsocialweb, so unless it's explicitely enabled, the user won't see the tab. I think that's good enough until we have the 2 problems mentioned above fixed.
Comment 12 Debarshi Ray 2014-02-13 14:57:58 UTC
We are replacing libsocialweb with Grilo, which also supports Flickr and integrates with GOA.

*** This bug has been marked as a duplicate of bug 707569 ***