dynamic loading of extensions

Bug #670355 reported by Seif Lotfy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Won't Fix
Wishlist
Unassigned

Bug Description

When wanting to use a new extension one has to restart zeitgeist. Problem with that is that all monitors are then gone.
My suggestion would be to be able to dynamically load extension by monitoring the extensions directories and pulling in the new extension on runtime.

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: [Bug 670355] [NEW] dynamic loading of extensions

2010/11/3 Seif Lotfy <email address hidden>:
> Problem with that is that all monitors are then gone.

Apps should be able to handle this, Zeitgeist restarting is something
that can happen.

--
Siegfried-Angel Gevatter Pujals (RainCT)
Free Software Developer       363DEAE3

Revision history for this message
Markus Korn (thekorn) wrote :

The fact that all monitors are gone when restarting zeitgeist is not an argument, because there is not guarantee that the zeitgeist daemon will run forever, so if you connect a monitor to the daemon, you have to handle the case of a daemon restart/shutdown, aka reconnecting the monitors after the restart.
I don't like the overall idea of watching extension folders for new extensions, because I consider the fact that a new extension is added a very rare one.

Revision history for this message
Seif Lotfy (seif) wrote :

an extension added might be rare but lets say someone installs gnome-activity-journal via software-center. He will never be able to get it to work unless he restarts the session or zeitgeist. IMHO this is not inviting to users and especially non-techies. Either we restart Zeitgeist upon installation of new extension automatically or we load new extensions in dynamically.

Changed in zeitgeist:
importance: Undecided → Wishlist
Revision history for this message
Markus Korn (thekorn) wrote :

Restarting of zeitgeist after installation the GAJ package requires no user action, because GAJ does the right thing (tm), in its package install process a SIGHUB signal is send to zeitgeist, which shuts the daemon down. - If this is not the case right now, it's a bug in the packaging of GAJ.

And to make one thing a bit clearer, there is not need to 'restart' the daemon, all we have to do is to *stop* the daemon, the daemon will then start again whenever needed.

Revision history for this message
Markus Korn (thekorn) wrote :

ups, pressed 'post comment' to early, from my POV this bug is 'won't fix'

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Dynamic loading is tricky with dbus services and all - i'm not sure it's such a good idea.

And fwiw - libzeitgeist detects when the daemon comes and goes and reinstates any monitors it has running - so restarting the daemon is not an issue for libzeitgeist customers

Revision history for this message
Seif Lotfy (seif) wrote :

ok since we already have 3* -1 I am changing the bug to "won' fix"

Changed in zeitgeist:
status: New → Won't Fix
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.