[bug3] open by double click open db second time

Jochen Peters j.peters at valentina-db.de
Wed Dec 14 12:02:57 CST 2005


>
> * I have open in vstudio some db
> * quite studio (so next open it self open that db)
>
> * now I double click db in windows
>     this start vstudio to open db
>
> OPS, now vstudio show that db 2 times:
>
>     - first because from prefs
>     - second because of double click

This will lead to a crash - sooner or later - i guess ..:-)

Well - so vStudio must add some check if db is already opened.
I wonder: Kernel opens db as read/write, right? And this works
two times?
Well - in any case we must have some check - because i remember on
OS X we can get problems with this.
On the other hand: Can't this check be moved into the kernel itself?
It seems to be usefull for all products..



-- 
Best regards,
Jochen Peters
PIIT GmbH

--------------------------
http://www.valentina-db.de


More information about the Valentina-studio mailing list