-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Details for the issue
What did you do?
- Look at a data cell in binary.
- Select and attempt to copy,
What did you expect ?
Able to copy what I see.
What did you see instead?
a) if I select in either the text or the binary side, the other is also selected. This is OK.
b) However, the selection stops short of the address column, like this:

Note that the first "2" is selected, but the blue background doesn't cover the whole character cell. It is not possible to extend the selection to the address. (with either mouse or keyboard)
c) There is no right-click copy
d) If I copy with Control-C & paste elsewhere, I get the hex (but not the ASCII). And there are no spaces between the bytes. The address is not copied. E.g.
2e6e65772e2e2e6c6f67696e
I expected:
0000 2e 6e 65 77 2e 2e 2e 6c 6f 67 69 6e .new...login
e) If I export, I get just the text (and only Save as *.txt & *.* as export options):
.new...login
This seems to be a regression from #1438 -- I thought that had save as binary implemented, with save as text in the pipeline.
The data in this cell is actually text - I selected Binary to make sure than there is not glyph-aliasing going on. So perhaps you are choosing an export mode based on what you think the cell contents is, rather than what I selected. It's great to have you guess what the cell contents is & select a mode based on the guess.
But if I select Binary mode, I expect export to be .bin (binary) as an option. Just because something looks like text doesn't mean that I want it treated that way (e.g. line ending conversions.) In general, once the user selects a mode, DB4S should treat the data as specified by the user, not according to any guess it made.
(Context: I wanted to provide the hex dump as supporting data in a commit to another project.)
FWIW: The database is open read-only.
Useful extra information
The info below often helps, please fill it out if you're able to. :)
What operating system are you using?
- [x ] Windows: ( _version:_10 pro 1803 ___ )
- Linux: ( distro: ___ )
- Mac OS: ( version: ___ )
- Other: ___
What is your DB4S version?
- 3.10.1
- 3.10.0
- 3.9.1
- Other: _25-Jul
Did you also
- Try out the latest nightly version: https://github.com/sqlitebrowser/sqlitebrowser#nightly-builds
- Search for an existing similar issue: https://github.com/sqlitebrowser/sqlitebrowser/issues?utf8=%E2%9C%93&q=is%3Aissue%20