Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Text values are truncated to 32767 bytes if edited directly in the table widget #1281
Details for the issue
Text values are truncated to 32767 bytes if edited directly in the table widget.
Useful extra information
Steps to reproduce:
I'm opening this issue because:
I'm using DB4S on:
I'm using DB4S version:
I have also:
added a commit
Dec 31, 2017
The limit is in the QLineEdit class which is used as an editor inside the table view: https://doc.qt.io/qt-5/qlineedit.html#maxLength-prop
I have just pushed a commit which increases the size limit (unfortunately there doesn't seem to be a way to disable it entirely) and which doesn't allow writing data back into the database if the increased limit is still passed. Does that work for you?
Perfect! This is working for me. I don't think it's an issue not being able to remove the maximum if the truncation problem is avoided. These long texts are better edited in the cell editor. In fact, I discovered this while playing around with SVG files for the XML mode editor. At first I didn't know what I've done to break the images