[7.8] too limiting: #guaranteeSafe:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[7.8] too limiting: #guaranteeSafe:

Reinout Heeck-2

The following method massages the global paste buffer contents before
using it in several VW widgets.


InputfieldView class>>guaranteeSafe: aText
     "Make sure aText is editable by an InputField.
     The current rule is convert Character cr to Character space and
limit input to
     a maximum of 1024 characters."



We find the hard-coded limit a bit too low for these times: we have
various settings UIs where we paste rather long URLs  and various other
long IDs into single-line input fields.

Some of these get shortened without warning :-/

In our images we upped the limit to 100k for now, I suggest Cincom
increases the cutoff at least by a factor ten.


R
-


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] too limiting: #guaranteeSafe:

Michael Lucas-Smith-2
Thanks. I'll have to review cross platform paste buffer limitations before I do that, but it's an interesting idea. Noted.

Cheers,
Michael

On Jul 31, 2012, at 7:58 AM, Reinout Heeck <[hidden email]> wrote:

>
> The following method massages the global paste buffer contents before
> using it in several VW widgets.
>
>
> InputfieldView class>>guaranteeSafe: aText
>     "Make sure aText is editable by an InputField.
>     The current rule is convert Character cr to Character space and
> limit input to
>     a maximum of 1024 characters."
>
>
>
> We find the hard-coded limit a bit too low for these times: we have
> various settings UIs where we paste rather long URLs  and various other
> long IDs into single-line input fields.
>
> Some of these get shortened without warning :-/
>
> In our images we upped the limit to 100k for now, I suggest Cincom
> increases the cutoff at least by a factor ten.
>
>
> R
> -
>
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc