aachyee / google-desktop-sdk

Automatically exported from code.google.com/p/google-desktop-sdk
0 stars 0 forks source link

Scrollable text box cursor position set to wrong line; and lines do not wrap #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Scenario: 
I have a text box ("Description" field) 12 lines deep. I enter 30 lines 
(text of each line is an just a number 1-30) which causes the scroll bar 
to render.

I save the text field, close the panel. When I re-open the Description 
panel, the text renders correctly with the scroll bar. Line 1 is the 
topmost line. I click on line 3 to position my cursor to edit line 3. The 
text box scrolls itself and sets my cursor on line 22.

I use the scroll bar to scroll back up to view line 3, positioning line 
three to be the topmost line in view. I click to put the cursor on line 3 
and the box scrolls itself down and sets the cursor on line 20. This is 
repeatable.

I add text to line 1 that extends beyond the box right boundary. It does 
not wrap. This is repeatable. This is a second bug- probably related.

I save the text, close the control. 

I reopen the Description panel. It renders correctly except line 1 does 
not wrap (bug). I again click on line 3 to position the cursor; the box 
scrolls itself down and sets the cursor on line 22. I suspect setting to 
line 22 rather than line 20 has to due with the additional text added on 
line 1.  This is repeatable.

Text lines should wrap and cursor should position on line/character on 
which user clicks.

Original issue reported on code.google.com by joelstevick@usmobilesoft.com on 15 Aug 2008 at 6:21

GoogleCodeExporter commented 8 years ago
Actually, I just noticed that this is a duplicate of issue #29.

Any idea when this will be fixed?

Original comment by joelstevick@usmobilesoft.com on 15 Aug 2008 at 7:47