Starting with application=... doesn't seem to be working

Bug #1334231 reported by Sebastien Bacher
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Online Accounts: GNOME Control Center
Confirmed
Undecided
Unassigned
gnome-control-center-signon (Ubuntu)
Confirmed
Undecided
Unassigned
unity-control-center (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The issue happens on trusty. If you run "unity-control-center credentials application=shotwell", the online account dialog without any visible app specific selection.

Should it open on the "add" page with the filter set on the application specified?

Note that it could be an issue in u-c-c and how it calls the panel as well

Revision history for this message
Alberto Mardegan (mardy) wrote :

I added a couple of debugging lines in u-c-c-signon, and here's the result:

==========
unity-control-center -v credentials -- application=shotwell
(unity-control-center:27615): credentials-cc-panel-DEBUG: Loaded
(unity-control-center:27615): Gtk-DEBUG: Connecting to session manager
** (unity-control-center:27615): DEBUG: Enabling debugging
** (unity-control-center:27615): DEBUG: Extra argument: application=shotwell
(unity-control-center:27615): credentials-cc-panel-DEBUG: cc-credentials-preferences.vala:107: no params
credentials-cc-panel-Message: cc-credentials-accounts-model.vala:259: Error loading icon 'vimeo': Icon 'vimeo' not present in theme
credentials-cc-panel-Message: cc-credentials-providers-model.vala:109: No desktop app info found for application name: com.ubuntu.developer.webapps.webapp-facebook_webapp-facebook
credentials-cc-panel-Message: cc-credentials-providers-model.vala:109: No desktop app info found for application name: uoa-integration-tests
credentials-cc-panel-Message: cc-credentials-providers-model.vala:109: No desktop app info found for application name: com.ubuntu.developer.knitzsche.oa-2_oa-2
credentials-cc-panel-Message: cc-credentials-providers-model.vala:109: No desktop app info found for application name: it.mardy.account-tester_account-tester
credentials-cc-panel-Message: cc-credentials-providers-model.vala:109: No desktop app info found for application name: com.ubuntu.reminders_reminders
(unity-control-center:27615): credentials-cc-panel-DEBUG: cc-credentials-account-details-page.vala:239: No configuration widget for provider windows-live
(unity-control-center:27615): credentials-cc-panel-DEBUG: Startup argument given: application=shotwell
==========

It looks like our plugin is "constructed" and *then* the "argv" property is set. Our code assumes that this is a construct property.
I'm not sure whether this assumption is correct, but since this used to work, it's very likely that something changed in u-c-c.

Changed in gnome-control-center-signon:
status: New → Confirmed
Changed in gnome-control-center-signon (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in unity-control-center (Ubuntu):
status: New → Confirmed
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.