[pulseaudio-discuss] What-did-you-plugin-dialog

David Henningsson david.henningsson at canonical.com
Tue Nov 26 13:25:29 PST 2013


On 11/26/2013 06:47 PM, Damir Jelić wrote:
> On Tue, Nov 26, 2013 at 11:39:42AM +0100, David Henningsson wrote:
>> Hi,
>>
>> I talked to Tanu and Arun last week about my what-did-you-plugin-dialog,
>> and got some push back about my way of popping up the dialog.
>>
>> So, instead, what do you think of this solution - does this provide a
>> good separation between PulseAudio and the GUI process:
>>
>>  * The dialog will be popped up through DBus activation. We define some
>> DBus name, e g org.pulseaudio.WhatDidYouPlugIn - and when accessing this
>> name, the process will be started by DBus.
>>  * There will be DBus methods for popping up and killing the dialog, and
>> a signal back when the user selects something in the dialog (or cancels it).
>>
>> Second, we will create a new pulseaudio sub-project, pa_popup_dialogs or
>> something. This will contain the current dialog (it's designed by
>> Canonical, but it's nothing Ubuntu specific about it), and our
>> recommended solution by upstream. If gnome, kde, or some other DE wants
>> to write their own themed dialog, they will just install their own
>> solution instead, which we will communicate with through the
>> org.pulseaudio.WhatDidYouPlugIn name/interface. (I have some test code
>> using zenity too, but that will be dropped.)
>>
>> Thankful for a quick ack/nak on this.
>>
> 
> Hi David.
> 
> Did you take a look at the "Desktop Notifications Specification"[1]. It
> seems to somewhat overlap with your idea.

Yes, and ruled it out due to the following reasons:

 1) The GSoC project that implemented this specification was never merged.

 2) Unity, Ubuntu's standard shell, does not support the dialog part of
the spec. (It is possible that the GSoC project dealt with this somehow,
not sure.)

 3) Automatically made dialog boxes are seldom beautiful enough to
satisfy the designers.


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


More information about the pulseaudio-discuss mailing list