Header blocks key press events from reaching it's Page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Tim Peeters |
Bug Description
The Header component added to a Page in a PageStack will prevent key press events from reaching the underlying Page when it is the component that has keyboard focus.
08:35 < zsombi_> mhall119: key events should also go to non-focused items...
08:36 < zsombi_> mhall119: they don't seem to...
08:36 < mhall119> zsombi_: what I'm trying to do is catch an F5 key press on a
08:37 < zsombi_> mhall119: right, as keys seem to go only to the focused item,
in which case it'll be the header...
08:37 < mhall119> zsombi_: currently my code looks like
http://
08:39 < zsombi_> mhall119: we should have sthing in the header, like
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Tim Peeters (tpeeters) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: convergence |
We have a new PageHeader component, that will be used as a child of the Page, so there is no longer a need to forward the keys from the header to the Page. See https:/ /developer. ubuntu. com/en/ blog/2016/ 02/24/pageheade r-tutorial/ for a quick introduction how to use the PageHeader.