Skip to main content
JabbyPandaUA
Inspiring
January 24, 2011
Question

Does Text Layout Framework have a special section at open Adobe JIRA?

  • January 24, 2011
  • 1 reply
  • 640 views

Currently scrolling through "components" drop down menu at https://bugs.adobe.com/jira/secure/CreateIssue.jspa and could not find it.

BTW, just created an new issue, present starting from Flex 4 SDK and till nowdays (Flex 4.5.xxxxx)  -

"Scrolling using Keyboard.UP key displays a text with a wrong top padding"

https://bugs.adobe.com/jira/browse/SDK-29229

This topic has been closed for replies.

1 reply

Adobe Employee
January 24, 2011

Thanks for reporting this! But I think the behavior you've found, although maybe not what you wanted, is "as designed".

This issue is a little more complicated than it first appears. When you are advancing the cursor up or down, TLF scrolls to keep the cursor in view. When you reach the top line, the top of the line is aligned with the top of the visible portion of the container. If we aligned it so that the padding was visible, the padding might push out the text if it was large enough, so that you would see only the padding, and not the text. Since our goal is to keep the text visible, we decided to align to the top of the line. If you want to scroll all the way back up, you can use the mouse wheel or scroll bar to do that. This behavior is consistent with what was done in TLF 1.0 and 1.1.

- robin

JabbyPandaUA
Inspiring
January 25, 2011

   While I can understand that Vellum AKA TLF was not designed to handle this issue, Flex SDK can intelligently track this use case by keyboard event listeners and apply the correct "verticalScrollPosition" value to RichEditableText instance.

   You see, back in 2008 Peter deHaan had stumbled upon this issue in 2008 (!) https://bugs.adobe.com/jira/browse/SDK-17733  and I am expecting more keyboard-savvy people to be caught by surprise when they do the basic things such as scrolling the text up and down in Flex 4.0+ based app.

ps

What about Text Layout Framework and special section at Adobe JIRA targeted specifically at this software?

Adobe Employee
January 25, 2011

There is no special section for TLF in Flex's Jira bugbase. This is something we'd like to do, we just haven't gotten to it yet.

As far as the scrolling goes, although it is true that Flex could institute its own behavior in this case, I think you'd have the same issues in Flex. You have to make sure that the line is still visible when you scroll to the top of the padding, which is above the top line. Depending on how the padding is set, there will always be cases where you can't scroll back to 0 using the up arrow key. Unless, I guess, you treat the padding as a line, and go up to the top of the padding on an up arrow at the top line. But that may leave the cursor not visible.

- robin