Ticket #1484736 (assigned Bugs)

Opened 9 months ago

Last modified 5 months ago

RC does not place cursor in the correct place with signature

Reported by: Slug Owned by: till
Priority: 10 Milestone: later
Component: User Interface Version: 0.1-rc2
Severity: minor Keywords:
Cc:

Description

If you start composing a new email, filling in the email address and then TAB down fill in the subject and then TAB down, if you have a signature RC places the cursor at the END of the signature forcing you the move the cursor back into the correct position above the signature.

Correct operation would be to place the cursor above the signature ready for typing of your message.

Slug

This is a dup of Ticket #1484735 (would not let me modify info) please close Ticket #1484735

Attachments

rcube_caret_position.patch (2.1 kB) - added by ulysses.almeida 8 months ago.
Patch to solve message´s caret position problem

Change History

follow-ups: ↓ 3 ↓ 4   Changed 8 months ago by till

  • owner set to till
  • status changed from new to assigned

Just curious, but is it possible to "position" the cursor in a textarea?

  Changed 8 months ago by thomasb

  • milestone changed from 0.1-stable to later

Not 0.1-stable

in reply to: ↑ 1   Changed 8 months ago by Slug

Replying to till:

Just curious, but is it possible to "position" the cursor in a textarea?

No, perhaps that was the wrong word to use. What I ment was to position it back to the top of the text area ..

Michael

in reply to: ↑ 1   Changed 8 months ago by ulysses.almeida

Replying to till:

Just curious, but is it possible to "position" the cursor in a textarea?

Yes, it is possible. On Fire Fox it is easy as possible, but on IE (7.0.5730.11 at least) it pends to mysticism.

I made a patch to solve this problem.

On Fire Fox it starts putting the caret at the beggining of textarea. If you change de focus to another object, the browser saves caret´s position, whe you return the focus using tabs, caret goes back to the saved position.

On IE, as I´m not a mystic master yet, it just put it at the beggining of message´s textarea. When using tabs to get message´s textarea focus, always the caret goes to the first textarea position. I found this link (http://www.bazon.net/mishoo/articles.epl?art_id=1292) with some sample code of this task on IE, but I was not able to make it work on RC.

PS: If this patch really solves the problem, I think this issue can be fixed sooner than later.

Changed 8 months ago by ulysses.almeida

Patch to solve message´s caret position problem

  Changed 5 months ago by thomasb

  • component changed from Interface to User Interface

What an ugly hack! We need a better patch.

Note: See TracTickets for help on using tickets.