[haiku-bugs] Re: [Haiku] #8883: Text inputs don't follow Haiku "live update" UI paradigm.

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 13 Jul 2020 09:36:26 -0000

#8883: Text inputs don't follow Haiku "live update" UI paradigm.
-----------------------------+----------------------------
  Reporter:  jstressman      |      Owner:  stippi
      Type:  enhancement     |     Status:  new
  Priority:  normal          |  Milestone:  R1
 Component:  User Interface  |    Version:  R1/Development
Resolution:                  |   Keywords:
Blocked By:  3123            |   Blocking:
  Platform:  All             |
-----------------------------+----------------------------
Changes (by ttcoder):

 * cc: ttcoder (added)
 * type:  bug => enhancement

Comment:

That being said, I think we could reduce the problem by adding optional
 functionality to BTextView where it can send a "text changed" event after
 a short delay after the user last pressed a key

 This. I have quite a bit of code dealing with
 SetMessage()/SetModificationMessage() in my UI framework and was once
 tempted to add a one-fire BMessageRunner( MSG_INVOKED @ 500 ms ) that
 would be 'reset' on each keystroke, until it's no longer reset and finally
 sends its message, but never got around to it. Would be better if the
 BTextView/Control API is extended to do that on its own indeed.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/8883#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: