| [ Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]
STR #2830
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | Fl_Input is limited to 1023 bytes but not documented |
Version: | 1.3-feature |
Created By: | mingodad |
Assigned To: | AlbrechtS |
Fix Version: | 1.3.3 (SVN: v10123) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | mingodad 07:30 Apr 29, 2012 |
| Today I was making some tests with on application and tried to paste 3k bytes of text on a Fl_Input and discovered after looking the source code that Fl_Input only manage 1023 bytes (1024 with zero terminator) but the documentation doesn't mention any size limit.
Probably the documentation should be updated to reflect this for developers to know beforehand it's capabilities instead of discover it the hard way (when a user of the application try to input more than 1023 bytes), also multiline that is a FL_Input is limited to the same 1023 bytes. | |
|
#2 | matt 09:04 Apr 29, 2012 |
| Oh, I did not know! We should change the code to either make the buffer dynamic, or to cut the remaining chars off with a warning. I'd much prefer the first solution.... . | |
|
#3 | AlbrechtS 06:25 Nov 27, 2014 |
| Fixed in Subversion repository.
This has been fixed in FLTK 1.3.3 by Manolo, see svn r 10123.
The input size is now unlimited. Please upgrade to FLTK 1.3.3 or later. | |
[ Return to Bugs & Features ]
|
| |