#flash UI output

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

#flash UI output

Chris Muller-3
Hi Marcel, one thing I miss is the flash associated with search-string
not-found.  When I press Command+g and its not found, I want it to
flash, not change my selection.

In another example, I'm working on phasing out an instVar, I browse
references to it and eliminate the references one-by-one.  Now before
closing the window, I used to be able to arrow though and simply make
sure I get a flash on every press.  Now it doesn't flash so I really
have to look closely..

Reply | Threaded
Open this post in threaded view
|

Re: #flash UI output

marcel.taeumel
I think we should keep the interaction model consistent and simple. "Find again" selects the next match or nothing if nothing matches. Modifying that might break the (in-place) search/replace behavior.

What about doing both: clear the selection *and* flash?

Best,
Marcel

Reply | Threaded
Open this post in threaded view
|

Re: #flash UI output

Jakob Reschke-2
In reply to this post by Chris Muller-3
I would like to add here that neither Notepad, nor Visual Studio nor
Eclipse nor Vim change the selection when the search text could not be
found. Instead, they pop up modal dialogs, play an exclamation sound
and/or display "pattern not found" at the bottom. So at least, it is
not consistent with "the outside world" at the moment. The flash would
be an unintrusive indication of that state, although its meaning only
becomes clear on second thought for first time users (Well, what was
that? Ah, probably there are no more occurrences.), unlike in the
other editors.

Since not everyone likes modal dialogs and there is no general status
line in Squeak's text morphs,
another alternative could be to insert "no more occurrences found" (or
likewise) at the cursor position and make that selected (like the
"Nothing more expected ->" which appears before unbalanced brackets
when you Do or Print something in a workspace) and have it removed
with the next interaction (probably complicated to implement). But I
am quite sure someone will find this disrupting as well (not even sure
about myself), so maybe just take it as a brainstorming idea...

Is there a default means for non-disrupting UI notifications in
Squeak? Marcel's Vivide has short text messages appear briefly in the
lower right corner of a widget when list filtering yields no more
results or is cancelled. I could imagine something like this for
search string not found as well.

Best regards,
Jakob

2015-12-28 17:29 GMT+01:00 Taeumel, Marcel <[hidden email]>:

> I think we should keep the interaction model consistent and simple. "Find
> again" selects the next match or nothing if nothing matches. Modifying that
> might break the (in-place) search/replace behavior.
>
> What about doing both: clear the selection *and* flash?
>
> Best,
> Marcel
>
>
>
>
>
> --
> View this message in context: http://forum.world.st/flash-UI-output-tp4868595p4868679.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>