Took a stab at writing some code for this, but:

a) I can't seem to find any way of listening for the esc keypress on the
post page. Best I was able to do is listen for esc keypresses in the
textarea itself, and then I was able to go back from there. So, eg, if
you click on the post button and then type Esc, nothing happens. But if
you then click into the textarea, then type esc, then it jumps you back
to the timeline.

b) worse, once you press Esc to get back to the timeline, all the other
keyboard shortcuts stop working -- you can no longer navigate by arrow
keys or expand messages with the enter key.

I'm going to escalate this to the toolkit level because I think it's
dumb that only certain widgets are able to capture the key input events.
If I register an "onEscapePressed" handler on the logical widgets, it
just silently ignores my attempts.

** Branch linked: lp:~robru/friends-app/esc-key

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1166331

Title:
  "esc" should go back

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friends-app/+bug/1166331/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to