Focus problem
#1
I've notice a focus problem on several dialogs on opening. When the dialog opens the focus is not on the <defaultcontrol> refereed on the top of the xml. You have to hit any key to get the focus. Is this a bug or some standard behavior ?. I could swear that was not happening in Eden but again maybe i am wrong.

This happens on the following dialogs :
  • DialogPeripheralManager.xml
  • DialogPictureInfo.xml
  • VisualisationPresetList.xml
and scripts :
  • script-RSS_Editor-setEditor.xml
  • script-RSS_Editor-rssEditor.xml


Tested with Confluence on Frodo Beta1


Cheers
Nessus
Reply
#2
It's a bug, problem existed also in Eden. Here's a solution you can use:

PHP Code:
<control type="button" id="21">
    <
onfocus>SetFocus(20)</onfocus>
    <
animation effect="fade" start="0" end="100" time="0" delay="50">Focus</animation>
</
control

Add a button which sets focus to the default control after 50ms. Works fine in my skin.
Image
Reply
#3
(2012-11-15, 14:34)`Black Wrote: It's a bug, problem existed also in Eden. Here's a solution you can use:

PHP Code:
<control type="button" id="21">
    <
onfocus>SetFocus(20)</onfocus>
    <
animation effect="fade" start="0" end="100" time="0" delay="50">Focus</animation>
</
control

Add a button which sets focus to the default control after 50ms. Works fine in my skin.

Yea.. i already did that.
Thanks the info Black. I never noticed in Eden.

Cheers
Nessus
Reply
#4
i've been wanting to trac this for months, but it slipped my mind each time :-)

http://trac.xbmc.org/ticket/13556
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
Aha... better late than never Smile

Cheers
Nessus
Reply
#6
I don't think there's anything we can do about the python one (or more correctly - I don't want to break stuff... :p )

The others should be doable though.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Focus problem0