What-did-you-plugin-dialog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 26, 2013 at 10:51:14PM +0100, Damir Jeli? wrote:
> On Tue, Nov 26, 2013 at 10:25:29PM +0100, David Henningsson wrote:
> > 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.
> 
> I'm not sure if the GSoC project implemented this spec but that would be
> another reason to use the code already provided and merge the GSoC
> project.
> 
> > 
> >  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.)
> > 
> 
> The GSoC project has support for AppIndicator[1] (this is used in
> Unity, right?), so another reason to reuse it.
> 

Would be nice to include the link. :p

[1] https://github.com/SliMM/pulseaudio/commit/b56a57ee0daf4a882f5a94e135dd40a102263046


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux