[haiku-bugs] Re: [Haiku] #16642: [regression] BTextControl: broken horizontal scroll when text don't fit text field

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 06 Dec 2020 06:26:11 -0000

#16642: [regression] BTextControl: broken horizontal scroll when text don't fit
text field
---------------------------------+----------------------------
  Reporter:  X512                |      Owner:  nobody
      Type:  bug                 |     Status:  new
  Priority:  normal              |  Milestone:  Unscheduled
 Component:  Kits/Interface Kit  |    Version:  R1/Development
Resolution:                      |   Keywords:
Blocked By:                      |   Blocking:
  Platform:  All                 |
---------------------------------+----------------------------
Description changed by X512:

Old description:

This is hrev54752.

This is regression caused by hrev54549.

Steps to reproduce:

1. Open some application with BTextControl.
2. Type someting that don't fit to text control space.
3. Hold left allow key until caret will be at first character.
4. Text will be still scrolled horizontally so text beginning will be at
center.
5. When scrolling by pressing and holding mouse button, text can be
scrolled to the right so it became not visible at all.

Bug is also present in Tracker file name edit field.

New description:

 This is hrev54752.

 This is regression caused by hrev54549.

 Steps to reproduce:

 1. Open some application with BTextControl.
 2. Type someting that don't fit to text control space.
 3. Hold left allow key until caret will be at first character.
 4. Text will be still scrolled horizontally so text beginning will be at
 center.
 5. When scrolling by pressing and holding mouse button, text can be
 scrolled to the right so it became not visible at all.

 Bug is also present in Tracker file name edit field.

 [[Image(BTextControl scroll.png)]]

--
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16642#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: