I've got a custom menu item (ColumnLayout-based), where the items inside
are some custom button items. Each item is set up with KeyNavigation so
that active focus is moved up and down using the cursor keys.

If a button item's "enabled" property is set to false while having active
focus, it's not possible to move active focus with the keys anymore. The
item will not have active focus, and will not receive key events. The focus
scope will not pass active focus to any other item either, so you are
basically stuck. Using mouse or touch input is not always an option.

How is this supposed to work? The way this works now, custom javascript
focus handler code has to be added tailor made for a certain menu, everyone
will have to invent their own.

I would have hoped the focus scope could move active focus to the next item
in the focus chain, if the active item is disabled.

Cheers,
Ola
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to