[squeak-dev] Another oddity
Marcel Taeumel
marcel.taeumel at hpi.de
Thu Jun 11 06:55:34 UTC 2020
I just tried something. Biggest challenge is to turn off that time-out list filters have because text fields do not reset their contents after a delay. That's an interesting puzzle. :-D
Best,
Marcel
Am 11.06.2020 08:32:21 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
Hi, there.
Yes, it was the simplest way to implement key-press response with sync between textfield and list-filter state. It occasionally bugs me too. See ListChooser >> #filterEvent:for: and the end of #buildWith:.
One could forward #textEdited: from the input field to set the list's item filter. Yet, there is no way to forward a "filter changed" event to the text field. Well, you could choose to only install the keyboard-event filter for the list morph and combine that with #textEdited:. Then you would spread the sync code across 2 methods, but you could improve the user experience. :-)
Best,
Marcel
Am 10.06.2020 18:15:03 schrieb karl ramberg <karlramberg at gmail.com>:
I can confirm this bug in Squeak Trunk 6 19722
Best,
Karl
On Tue, Jun 9, 2020 at 2:06 PM Trygve Reenskaug <trygver at ifi.uio.no [mailto:trygver at ifi.uio.no]> wrote:
Smalltalk version 'Squeak5.3'
* I open a new browser from WorldMenu
* I write ctrl-f in upper-left pane
* Browser asks: Class name or fragment?
* I write Pbject
* I place text cursor just after the P
* I key in backspace, O
* result PbjecO
Text cursor placement seems to be ignored.
--Trygve
--
The essence of object orientation is that objects collaborate to achieve a goal.
Trygve Reenskaug mailto: trygver at ifi.uio.no [mailto:%20trygver at ifi.uio.no]
Morgedalsvn. 5A http://folk.uio.no/trygver/ [http://folk.uio.no/trygver/]
N-0378 Oslo http://fullOO.info [http://fullOO.info]
Norway Tel: (+47) 468 58 625
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200611/c9d6a146/attachment.html>
More information about the Squeak-dev
mailing list
|