Page MenuHomePhabricator

In Entry edited text dosent scroll(due to this entry's cursor gets out of screen)
Closed, ResolvedPublic

Description

If we edit long text in entry, entry dosent scroll up to edited text, due to this entry cursor gets out of screen.
From this we didnt able to edit entry text.

anand.km created this task.Aug 3 2016, 1:47 AM

This issue occurs mainly when we change the text font on focused entry state(when font is same in both state, focused, unfocused then issue dosent occurs).

Thanks for reporting. I will build the example files and report soon.

herdsman lowered the priority of this task from High to Pending on user input.Aug 3 2016, 11:31 PM

Hi,
I don't understand. What is supposed to happen in this test?
Attached screenshot of how it runs on my machine.

Issue is when entry is unfocused last string it shows in above screen shoots string is like( ....16171819) ,which is correct, but when entry gets focused then string in entry shows like (14151617) ,1819 cuts out of screen due to this cursor is also out of screen.
Expected behaviour should be when focus is on entry then entry cursor should be inside entry viewport so that user can able to edit the text.

anand.km raised the priority of this task from Pending on user input to High.Aug 3 2016, 11:50 PM

Hi, thanks for the information.

However, I can't get it to work like in the screenshot you attached.
Please provide steps on how to use the test.

Waiting for input.

Just move focus using arrow keys from entry to button to entry.
When entry gets focused, the end part of text and cursor is not displayed, but when entry gets unfocused, end part of text is displayed normally.

So, I guess the issue is when entry gets focused and if font has been changed, textblock is not recalculating as per new font?

"Tab" key will also work to move focus from button to entry

anand.km added a comment.EditedAug 7 2016, 9:17 PM

please apply this patch , which changes the font file on focused and unfocused entry.
Modified in entry.edc file (group { name: "elm/entry/base/default")