← Back to team overview

touch-packages team mailing list archive

[Bug 1443424] [NEW] Header blocks key press events from reaching it's Page

 

Public bug reported:

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 
                  page to refresh it's content, but if I clicked on the header 
                  instead of the content of the Page, it won't work
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://paste.ubuntu.com/10815509/
08:39 < zsombi_> mhall119: we should have sthing in the header, like 
                 Keys.forwardTo: []

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: High
     Assignee: Tim Peeters (tpeeters)
         Status: Triaged


** Tags: convergence

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Tim Peeters (tpeeters)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1443424

Title:
  Header blocks key press events from reaching it's Page

Status in ubuntu-ui-toolkit package in Ubuntu:
  Triaged

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 
                    page to refresh it's content, but if I clicked on the header 
                    instead of the content of the Page, it won't work
  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://paste.ubuntu.com/10815509/
  08:39 < zsombi_> mhall119: we should have sthing in the header, like 
                   Keys.forwardTo: []

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1443424/+subscriptions


Follow ups

References