W dniu 09.12.2018, nie o godzinie 19∶08 +0100, użytkownik Adam Borowski
napisał:
> On Sun, Dec 09, 2018 at 06:26:53PM +0100, Marek Mosiewicz wrote:
> > W dniu 09.12.2018, nie o godzinie 18∶08 +0100, użytkownik Adam
> > Borowski
> > napisał:
> > > * Package name    : birdtray
> > > * URL             : https://github.com/gyunaev/birdtray
> > >   Description     : system tray notifications for Thunderbird
> > > Birdtray provides systray notifications for Thunderbird.  It
> > > displays
> > > the count of unread mail, hides the Thunderbird window when not
> > > in use,
> > > and restores it on clicking the tray icon.  It also provides a
> > > context
> > > menu with commands such as starting composing a new mail.
> > > .
> > > It is a nasty hack -- an external process looking at
> > > Thunderbird's
> > > insides, it suffers from problems like noticing new mails only
> > > after a
> > > delay, having to restart Thunderbird just to hide its window, etc
> > > --
> > > you'd want to use an extension like firetray instead -- but, it
> > > is
> > > likely that support for Thunderbird extensions will be dropped
> > > soon,
> > > possibly by the time you read these words.
> > Is it not simpler and much more effective to communicate with
> > Thunderbird via XPCOM ?
> 
> That's part of XUL -- if that's gone, so goes XPCOM.  Both are gone
> from
> Firefox since 57+, but have so far been retained in
> Thunderbird.  Alas,
> upstream is deliberating whether to drop or not -- with signs
> randomly
> pointing to droppage or not.  I don't know anything about Mozilla's
> internal
> politics (I'm only blindly packaging something I need), but as I
> understand
> it is a serious effort for the Thunderbird team to keep XUL after
> sabotage
> done by Mozilla's quantumization -- and as undermanned as they are,
> it's
> pretty likely they'll need to drop despite their wishes.
> 
> According to birdtray's upstream, the next best way to communicate is
> accessing Mork (.msf) files.
> 
> I guess the upstream could explain more.  And yeah, it's better when
> a
> packager knows something about the stuff he's packaging so if someone
> with a
> clue would be willing to help, it'd be deeply appreciated.
I took look into birdtray on github https://github.com/gyunaev/birdtray
/blob/master/src/modelnewemails.cpp and it seems to use Qt which seems
to unreasonable in this case as Thunderbird AFAIK uses GTK https://supp
ort.mozilla.org/pl/questions/1124868 and Qt would be bit unnecessery
dependency.


I do not know, maybe DBus is still option.https://utcc.utoronto.ca/~cks
/space/blog/unix/FirefoxDBusRemoteControl?showcomments 
There was plugin which used DBus from inside Thunderbird as internal
extension https://github.com/tanwald/gnome-shell-extension-thunderbird-
integration/blob/master/thunderbird-
integration%40tanwald.net/extension.js . But maybe this DBus event
still exists and can be communiated from separate process.

Ahoy ! 
> 
> 
> Meow!

Reply via email to