bgribble/mfp

When editing a label, cursor disappears

Opened this issue · 1 comments

I am having a hard time nailing this down. I'm not sure if it's a bug in my code or just bitrot in Clutter.

  • Create a processor or message object.
  • Begin to type the contents (processor name or message body). Note that there's a blinking cursor.
  • Use the left arrow key to move the cursor backward. Note that the cursor disappears.
  • Type something to change the text. Cursor reappears at the expected edit position; it was there all along, just not visible.

I have put debugging messages into the Blinker class that blinks the cursor and the visibility is being set as expected, the cursor just isn't becoming visible.

This really makes no sense to me.

Workaround: When the cursor disappears, hold down Shift and hit the left cursor, then right. Somehow setting a wider selection resets this issue.