Unintentional Limit in StringRequest()

Report any Hollywood bugs here
Post Reply
PEB
Posts: 168
Joined: Sun Feb 21, 2010 2:28 am

Unintentional Limit in StringRequest()

Post by PEB » Sat Sep 16, 2017 9:24 am

There seems to be a limit to the length of a string that can be received through StringRequest().
At least on OS4, that limit seems to be 1023.

I'm guessing that this is not intentional. Can it be fixed in the next version of Hollywood?

User avatar
airsoftsoftwair
Posts: 2484
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Unintentional Limit in StringRequest()

Post by airsoftsoftwair » Mon Sep 25, 2017 6:45 pm

The problem is that on all Amiga platforms the string requester functions operate on static buffers so there has to be a limit. I could of course raise this to 4096 or to an even higher value. What do you need? On Windows, MacOS, and Linux the limit can of course be removed completely but on Amiga platforms there needs to be a limit.

PEB
Posts: 168
Joined: Sun Feb 21, 2010 2:28 am

Re: Unintentional Limit in StringRequest()

Post by PEB » Mon Sep 25, 2017 11:42 pm

I actually only need the limit removed on the Android version.
Since there's no RapaGUI option for Android, I'm using StringRequest() to allow the user to input text, edit, copy, and paste.

User avatar
airsoftsoftwair
Posts: 2484
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Unintentional Limit in StringRequest()

Post by airsoftsoftwair » Tue Sep 26, 2017 7:38 pm

Okay, this is possible:

Code: Select all

- Change: StringRequest() had a limit of 1024 characters; on AmigaOS and compatibles Hollywood still
  imposes this limit but on all other platforms it has been removed

PEB
Posts: 168
Joined: Sun Feb 21, 2010 2:28 am

Re: Unintentional Limit in StringRequest()

Post by PEB » Tue Sep 26, 2017 11:59 pm

Thanks!

Post Reply