-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Details for the issue
Addmittedly an odd case, but I thought I'd report it.
I'd attached two databases, and moved one table from one database to the other database. Worked fine. Saved both. This meant database 1 was now empty, as its tables had been moved.
Closing the databases and trying to attach the now empty database didn't work. DB4S asked what I'd want to call the attached database*, but it didn't appear in the 'Database Schema' tree. Additionally, if I clicked on 'Create Table', it only listed 'main' and 'temp' for a schema - the attached database didn't attach.
If it has to fail (no tables, indices, etc) then a message informing the user would be handy, with maybe (now I'm going too far....) an option to open that database instead (maybe in a different copy of DB4S?) so the attach could then be retried?
* As an additional issue/suggestion, would DB4S be able to pre-populate the 'Enter a name for the database' textbox with the filename of the database you just attached (sans extension).
If a name isn't given for an attached database, DB4S assumes Cancel has been clicked, rather than inform the user that they can't enter nothing. Again, some warning might be handy. (or disable the OK box if the textbox is empty)
Sorry for multiple issues per issue (if that makes sense...) but I didn't want to stuff up the issues screen with related issues...
Useful extra information
I'm opening this issue because:
- DB4S is crashing
- DB4S has a bug
- DB4S needs a feature
- DB4S has another problem
I'm using DB4S on:
- Windows: ( version: ___ )
- Linux: ( distro: ___ )
- Mac OS: ( version: ___ )
- Other: ___
I'm using DB4S version:
- 3.10.99 (nightly from 12 Sep)
- 3.10.0-beta*
- 3.9.1
- Other: ___
I have also:
- Tried out the latest nightly version: https://github.com/sqlitebrowser/sqlitebrowser#nightly-builds
- Searched for an existing similar issue: https://github.com/sqlitebrowser/sqlitebrowser/issues?utf8=%E2%9C%93&q=is%3Aissue%20