RotaryFocusObject losing focus after opening a tool bar

I’m trying to use a IRotaryFocusable object along a ToolbarItems, But I’m having a hard time understanding the RotaryfocusObject. In the gif below, I show this situation where the BezelInteractionPage loses focus after opening a tool bar.

gif: https://imgur.com/a/mENIIcA

Here is the xaml of the main page, nothing has been changed in the code behind:

<?xml version="1.0" encoding="utf-8" ?>
<c:BezelInteractionPage
    x:Class="RotaryFocusProblem.Views.MainPage"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:c="clr-namespace:Tizen.Wearable.CircularUI.Forms;assembly=Tizen.Wearable.CircularUI.Forms"
    xmlns:res="clr-namespace:RotaryFocusProblem.Resources"
    RotaryFocusObject="{Reference slider}">

    <c:BezelInteractionPage.Content>
        <Grid>
            <Label
                Text="{x:Static res:AppResources.MainPageTitle}"
                VerticalOptions="CenterAndExpand"
                HorizontalOptions="CenterAndExpand" />
        </Grid>
    </c:BezelInteractionPage.Content>

    <c:CircleSurfaceView>
        <c:CircleSurfaceView.CircleSurfaceItems>
            <c:CircleSliderSurfaceItem
                x:Name="slider" />
        </c:CircleSurfaceView.CircleSurfaceItems>
    </c:CircleSurfaceView>

    <c:BezelInteractionPage.ToolbarItems>
        <c:CircleToolbarItem
            Text="Test" />
    </c:BezelInteractionPage.ToolbarItems>

</c:BezelInteractionPage>

Little problems like these tend to make me lose focus too!

How could I get the focus back on this slider?
Thank you

Hello @apo1605379890,

I am very sorry to hear about your issue. Based on the screen recording, this seems like the known issue Tizen.CircularUI #350.

I would like to request you to update your Tizen.Wearable.CircularUI, via the Nuget Package Manager, and try again. If your issue still persists, please comment on the existing issue or open a new issue on Github.

PS: If you find this answer helpful please press the “like” button so that others can find it more easily.

Best Regards,
Shuvo
Samsung Developer Program

1 Like

Thank you very much, updating the CircularUI to 1.5.2 fixed it!

1 Like