Hi Scott,

Thanks for pointing out these issues that I wasn't aware of. I guess
the best is to add support for these events in libayatana-appindicator, 
then. I already filed a bug there, I'll try to make a PR when I find
some time.

Best,
Valentin

On Tue, 2019-01-15 at 21:39 +1100, Scott Leggett wrote:
> On 2019-01-04.13:36, Valentin Blot wrote:
> > Current implementation of AppIndicator does not handle click events
> > or
> > modifiers. A middle click on the icon of pasystray is supposed to
> > toggle mute, but this is not possible with the AppIndicator
> > implementation. I filed a bug to AppIndicator but in the meantime
> > it
> > would be better to fallback to the GtkStatusIcon implementation,
> > which
> > is done with the attached patch.
> 
> Hi Valentin, thanks for the bug report.
> 
> Unfortunately this issue is not so simple to fix.
> 
> I cannot switch back to GtkStatusIcon for the following reasons:
> 
> * it has accessibility issues [0]
> * it doesn't work in some modern desktop environments[1];
> AppIndicator
>   support is more widespread
> * it is deprecated upstream [2]
> 
> As I commented in the upstream bug report [3], I believe it is
> possible
> to handle middle-click using AppIndicators, but this is something
> that
> should be fixed upstream.
> 
> I'm not sure how other click events and modifiers can be supported
> using
> AppIndicators.
> 
> [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861387
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827458
> [2] 
> https://developer.gnome.org/gtk3/stable/GtkStatusIcon.html#GtkStatusIcon.description
> [3] 
> https://github.com/christophgysin/pasystray/issues/102#issuecomment-453489596
> 

Reply via email to