Am Freitag, 19. Oktober 2012, 14:07:29 schrub James C. McPherson: > On 19/10/12 09:29 PM, Tobias Ellinghaus wrote: > > Am Freitag, 19. Oktober 2012, 12:10:31 schrub Christian Tellefsen: > ... > > >> Sqlite already detects that another process has locked the library. > >> It prints a bunch of warnings to console, but dt continues to work. > >> > >> I see two approaches: > >> a) exit darktable with an error complaining there's already an instance > >> running > > > > FIXED > > An alternative is to pop up a message box with a slap: > > Hey bozo, you've left darktable running in the corner, with pid $X. > No changes you make in this session will be written to the database. > HTH, YMMV, kthxbai > > > or something :) > > >> b) switch to the already running darktable process (like lots of other > >> software, e.g. Firefox) > > > > That will need some IPC. Some day I will add DBUS support to darktable > > ... > > ugh, please don't - it violates the principle of least surprise. > Much, much better to exit with a warning.
I want dbus for general remote controlling. Maybe in general dt should just quit, but if you call it with a special argument (or just use "qdbus org.darktable.service /darktable import %s" as your open-with command) it could be a nice feature. > cheers, > James Tobias
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel