[Cuis-dev] [IMPROV] StringRequestMorph with buttons

Luciano Notarfrancesco luchiano at gmail.com
Thu Jan 4 13:51:50 PST 2024


Oh, I see, makes more sense now, thanks for explaining! And good point
about being able to enter Text.
In general, I’ve never liked very much the way we request user input with
popups like StringRequestMorph, and the disconnect from the tool that it
originated from. In some cases I’d rather avoid the popup and solve it
within the tool… for example I’d like to rename temporary variables or
arguments by double clicking to select it and writing a new name (as other
IDEs do).

On Fri, Jan 5, 2024 at 01:17 Gerald Klix <cuis.01 at klix.ch> wrote:

> At my working PC I do have a keyboard.
> But I often add extension categories, which has the following
> workflow:Select a method category (with a left click).
>
>    1. Right click for the pop-up menu.
>    2. Left click on the extension category menu item
>    3. Left click on the appropriate menu item.
>    4. Now a StringRequestMorph appears and I have to switch to the
>    keyboard.
>
> Given that the remaining work is just drag and drop,
> this need to press Enter on the keyboard became more and more annoying.
>
> I never tried Cuis/Haver on my wife's surface book in tablet mode,
> but I suppose I would have to activate the on-screen-keyboard
> just to press Enter.
>
> I hope this is reason enough for this this change.
>
> Concerning the StringRequestMorph as such:
> I would love to add a super-class called TextRequestMorph,
> which will be used to enter help texts.
> With the existing implementation you can format
> the text entered. The formatting will be thrown away,
> when the entered text is answered, which is a pity.
>
> There are other issues:
> If you never close the request morph, it will exist for ever,
> even if the browser that created it, is gone.
>
>
> Best Regards,
>
> Gerald
>
>
>
> On 1/4/24 7:00 PM, Luciano Notarfrancesco via Cuis-dev wrote:
>
> Perhaps we can make it a preference?
> Or perhaps we should replace the StringRequestMorph with something entirely
> different if the computer doesn’t have a keyboard? I never thought someone
> would use it without a keyboard, how do you input characters in it without
> a keyboard?
>
> Cheers,
> Luciano
>
> On Thu, Jan 4, 2024 at 22:18 Gerald Klix via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
>
>
> Hi all, Hi Juan,
>
> The current implementation of the StringRequestMorph
> is hard to use with a mouse or a touch-pad,
> because you need a keyboard to accept or
> discard the input.
> Therefore I added two tiny buttons to
> accept or cancel the input.
>
> I hope you like it.
>
>
> HTH and Best Regards,
>
> Gerald
> --
> Cuis-dev mailing listCuis-dev at lists.cuis.sthttps://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240105/372fa157/attachment.htm>


More information about the Cuis-dev mailing list