-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Details for the issue
the issue is that given some xml content in a cell, the "edit database cell" view will not render the content as text, only as binary data, claiming that the content is an image and so cannot display the text.
*i think" this bug is triggered if a cell starts with the xml header followed by valid xml data.
Useful extra information
looking at https://github.com/sqlitebrowser/sqlitebrowser/blob/master/src/EditDialog.cpp
there is a check to guess the type of cell contents, using "checkDataType(data)".
that function first checks to see if an image library can read the contents of the cell.
one assumes that the SVG image reader sees valid xml and says yes I can read that.
from that point on the cell is considered an image, and will not display text.
I'm opening this issue because:
- DB4S is crashing
- [ x] DB4S has a bug
- [ x] DB4S needs a feature
- DB4S has another problem
I'm using DB4S on:
- Windows: ( version: ___ )
- [ x] Linux: ( distro: ___ )
- Mac OS: ( version: ___ )
- Other: ___
I'm using DB4S version:
- 3.10.1
- 3.10.0
- [x ] 3.9.1
- Other: ___
I have also:
- Tried out the latest nightly version: https://github.com/sqlitebrowser/sqlitebrowser#nightly-builds
no but have looked up issue in main branch - [ x] Searched for an existing similar issue: https://github.com/sqlitebrowser/sqlitebrowser/issues?utf8=%E2%9C%93&q=is%3Aissue%20