We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

I can't click or move radialMenu

Good night,

I have difficulty using RadialMenu on a particular device. 

I followed the examples of creation.

My Sony Xperia (Android 7.1.1) works correctly, when I click and drag RadialMenu I can move, when I click on the attached image it opens the items of radial menu.

But it isn't working on my Motorola One Action device (Android 9). When I click or try to drag nothing happens. It does not receive the touch actions.

Can you please help me?



22 Replies

HM Hemalatha Marikumar Syncfusion Team December 17, 2019 12:37 PM UTC

Hi José Donizete de Oliveira Júnior, 
  
Greetings from Syncfusion. 
 
We have validated your query with updated Nuget and tried to replicate the reported issue at our end in Android platform by created a sample, based on the provided information. Please find the sample from below link. 
 
 
We have also captured a video while testing the prepared sample, 
 
 
Note: Currently we don’t have that mentioned device, so we have tested Samsung SM-G950F (Android 9.0 – API 28) same API version. 
 
Can you please check with some other similar API device and let us know the details to us whether it can be replicated by some other device? 
  
This will be help us to investigate further and provide you with a better solution at the earliest. 
  
Regards, 
Hemalatha M. 



JD José Donizete de Oliveira Júnior December 17, 2019 06:22 PM UTC

Thanks for the quick response! Thanks also for the attached material.

It worked on other devices with same android. But the example link below works on the Motorola device:

https://github.com/syncfusion/xamarin-demos/tree/master/Forms/RadialMenu/RadialMenu/Samples/GettingStarted_RadialMenu

I believe then that I may have done something different than advised. Let me show you how I did it:

In Xaml:

<?xml version="1.0" encoding="utf-8" ?>
<radialMenu:SfRadialMenu xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:radialMenu="clr-namespace:Syncfusion.SfRadialMenu.XForms;assembly=Syncfusion.SfRadialMenu.XForms"
             x:Class="PneumaticDeveloper.Views.RadialMenu"
             BackgroundColor="Transparent"
                         
             CenterButtonRadius="35" RimColor="Black" SelectionColor="Blue"  RimRadius="70" 
             EnableCenterButtonAnimation="False" CenterButtonBackgroundColor="Black" CenterButtonBorderColor="Blue"
             CenterButtonBorderThickness="1">

    <radialMenu:SfRadialMenu.CenterButtonView>
        <Label Text="&#xf04b;" HorizontalOptions="CenterAndExpand" HorizontalTextAlignment="Center" 
               VerticalTextAlignment="Center" VerticalOptions="CenterAndExpand" TextColor="White" 
               FontSize="35" FontFamily="{StaticResource FontAwesomeSolid}" />
    </radialMenu:SfRadialMenu.CenterButtonView>

    <radialMenu:SfRadialMenu.Items>
        <radialMenu:SfRadialMenuItem x:Name="menuPlay" ItemTapped="PlayTap" ItemHeight="25" ItemWidth="25">
            <radialMenu:SfRadialMenuItem.View>
                <Label Text="&#xf04b;" TextColor="White" FontSize="20" FontFamily="{StaticResource FontAwesomeSolid}" />
            </radialMenu:SfRadialMenuItem.View>
        </radialMenu:SfRadialMenuItem>

        <radialMenu:SfRadialMenuItem x:Name="menuPause" ItemTapped="PauseTap" ItemHeight="25" ItemWidth="25">
            <radialMenu:SfRadialMenuItem.View>
                <Label Text="&#xf04c;" TextColor="White" FontSize="20" FontFamily="{StaticResource FontAwesomeSolid}" />
            </radialMenu:SfRadialMenuItem.View>
        </radialMenu:SfRadialMenuItem>

        <radialMenu:SfRadialMenuItem x:Name="menuStep" ItemTapped="StepTap" ItemHeight="25" ItemWidth="25">
            <radialMenu:SfRadialMenuItem.View>
                <Label Text="&#xf051;" TextColor="White" FontSize="20" FontFamily="{StaticResource FontAwesomeSolid}" />
            </radialMenu:SfRadialMenuItem.View>
        </radialMenu:SfRadialMenuItem>

        <radialMenu:SfRadialMenuItem x:Name="menuStop" ItemTapped="StopTap" ItemHeight="25" ItemWidth="25">
            <radialMenu:SfRadialMenuItem.View>
                <Label Text="&#xf04d;" TextColor="White" FontSize="20" FontFamily="{StaticResource FontAwesomeSolid}" />
            </radialMenu:SfRadialMenuItem.View>
        </radialMenu:SfRadialMenuItem>

        <radialMenu:SfRadialMenuItem x:Name="menuTime" ItemTapped="TimeTap" ItemHeight="25" ItemWidth="25">
            <radialMenu:SfRadialMenuItem.View>
                <Label Text="&#xf2f2;" TextColor="White" FontSize="20" FontFamily="{StaticResource FontAwesomeSolid}" />
            </radialMenu:SfRadialMenuItem.View>
        </radialMenu:SfRadialMenuItem>
    </radialMenu:SfRadialMenu.Items>
</radialMenu:SfRadialMenu>



In code behind:


[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class RadialMenu : SfRadialMenu
    {
        bool playPressed = false;
        bool pausePressed = false;
        bool stepPressed = false;

        public RadialMenu ()
{
InitializeComponent ();
            pausePressed = true;
            menuPause.BackgroundColor = Color.Blue;
        }

        void PlayTap(object sender, Syncfusion.SfRadialMenu.XForms.ItemTappedEventArgs e)
        {
            SfRadialMenuItem item = sender as SfRadialMenuItem;
            playPressed = !playPressed;
            if (playPressed)
            {
                Clear();
                playPressed = true;
                menuPause.BackgroundColor = Color.Black;
                pausePressed = false;
                item.BackgroundColor = Color.Blue;
                App.Current.virtualTime = 0.0f;
                App.Current.mainPage.StartSimilationTime();
                App.Current.simulation = true;
                App.Current.simulationPaused = false;
                App.Current.mainPage.SetStepMode(false);
                Close();
            }
            else
            {
                menuPause.BackgroundColor = Color.Blue;
                pausePressed = true;
                item.BackgroundColor = Color.Black;
                App.Current.simulation = false;
                App.Current.simulationPaused = true;
            }
        }

        void PauseTap(object sender, Syncfusion.SfRadialMenu.XForms.ItemTappedEventArgs e)
        {
            SfRadialMenuItem item = sender as SfRadialMenuItem;
            if (pausePressed) return;
            Clear();
            pausePressed = true;
            item.BackgroundColor = Color.Blue;
            App.Current.simulationPaused = true;
            App.Current.mainPage.SetStepMode(false);
        }

        void StepTap(object sender, Syncfusion.SfRadialMenu.XForms.ItemTappedEventArgs e)
        {
            SfRadialMenuItem item = sender as SfRadialMenuItem;
            stepPressed = !stepPressed;
            if (stepPressed)
            {
                Clear();
                stepPressed = true;
                pausePressed = false;
                item.BackgroundColor = Color.Blue;

                if (!App.Current.simulation)
                {
                    App.Current.virtualTime = 0.0f;
                    App.Current.mainPage.StartSimilationTime();
                    App.Current.simulation = true;
                    App.Current.simulationPaused = false;
                }

                App.Current.mainPage.SetStepMode(true);
                Close();
            }
            else
            {
                menuPause.BackgroundColor = Color.Blue;
                pausePressed = true;
                item.BackgroundColor = Color.Black;
                App.Current.simulation = false;
                App.Current.simulationPaused = true;
                App.Current.mainPage.SetStepMode(false);
            }

        }

        void StopTap(object sender, Syncfusion.SfRadialMenu.XForms.ItemTappedEventArgs e)
        {
            StopSimulation();
        }

        void TimeTap(object sender, Syncfusion.SfRadialMenu.XForms.ItemTappedEventArgs e)
        {
            PopupNavigation.Instance.PushAsync(new SimulationSpeed());
        }

void Clear()
        {
            playPressed = false;
            pausePressed = false;
            stepPressed = false;
            menuPlay.BackgroundColor = Color.Black;
            menuPause.BackgroundColor = Color.Black;
            menuStep.BackgroundColor = Color.Black;
            menuTime.BackgroundColor = Color.Black;
        }


And I use it like this:


RadialMenu x:Name="radialMenu"




Do I do something wrong? Thank you.



HM Hemalatha Marikumar Syncfusion Team December 18, 2019 11:06 AM UTC

Hi José Donizete de Oliveira Júnior, 
  
Thanks for the update. We have checked the sample with provided code snippet, still we were not able to reproduce the reported issue at our end. 
  
  
  
As we said in our previous update, we don’t have that actual device. 
  
We have tested with following device: 
 
·       Samsung SM-G950F (Android 9.0 – API 28)  
 
·       Moto G5s (Android 8.1 – API 27) 
  
Please let us know if you can replicate the same issue on another device. If yes share the device details to use. This will be help us to investigate further and provide you with a better solution at the earliest.  
 
Regards, 
Hemalatha M. 



JD José Donizete de Oliveira Júnior December 18, 2019 04:26 PM UTC

saudações,

Não consigo reproduzir o erro em outro dispositivo, mesmo que seja da mesma API. Somente neste dispositivo mencionado.    :(


JD José Donizete de Oliveira Júnior replied to Hemalatha Marikumar December 18, 2019 09:13 PM UTC

Hi José Donizete de Oliveira Júnior, 
  
Thanks for the update. We have checked the sample with provided code snippet, still we were not able to reproduce the reported issue at our end. 
  
  
  
As we said in our previous update, we don’t have that actual device. 
  
We have tested with following device: 
 
·       Samsung SM-G950F (Android 9.0 – API 28)  
 
·       Moto G5s (Android 8.1 – API 27) 
  
Please let us know if you can replicate the same issue on another device. If yes share the device details to use. This will be help us to investigate further and provide you with a better solution at the earliest.  
 
Regards, 
Hemalatha M. 


Greetings, I tested your sample on my device and it worked!

I tested my app on at least 10 devices to make sure I didn't make any basic mistakes. and only on Motorola One did not work.



JD José Donizete de Oliveira Júnior December 19, 2019 12:12 AM UTC

Hello again. Please note that touching a specific location works. In any other area not.

Again stressing that only on the mentioned device does this occur

Attachment: Video_Motorola_ee7063f3.rar


KG Kanimozhi Gunasekaran Syncfusion Team December 19, 2019 04:45 PM UTC

Hi José Donizete de Oliveira Júnior, 

Thanks for your update.

We are checking reported issue with high priority and will update you the status on December 20,2019. We appreciate your patience until then.

Regards,
Kanimozhi G



HM Hemalatha Marikumar Syncfusion Team December 20, 2019 12:19 PM UTC

Hi José Donizete de Oliveira Júnior,  
 
Thanks for your patience. 
 
We would like to let you know that we have worked for providing a general workaround solution to resolve the reported issue even work for specific device (Motorola One). But we were unable to provide that since we already have a touch sensible issue with that particular moto device which is already updated in public forum

Link:
https://forums.lenovo.com/t5/motorola-one-vision/Touch-sensitivity-issues-on-Motorola-one-vision/td-p/4498899. 
  
Please check and let us know if you have any other concern. 
  
Regards, 
Hemalatha M. 



JD José Donizete de Oliveira Júnior January 4, 2020 02:48 PM UTC

Grateful for the effort in resolving this issue. 

But before thinking of another alternative I made simple tests. Let me share with you.

Your samples worked perfectly on this motorola device. I created a new project with simple use of RadialMenu. It also worked perfectly. I created a page with simple RadialMenu in my real project, left it as the start page and the error occurred. So this error occurs in the specific project, but I found nothing wrong despite searching exhaustively. In a way there is some conflict that I can't see. Sorry about that.


HM Hemalatha Marikumar Syncfusion Team January 6, 2020 06:01 AM UTC

Hi José Donizete de Oliveira Júnior, 
 
Thank you for confirming the reported issue "Can't click RadialMenu" that has not occurred at your end and only with a specific project.  
 
Please check those and let us know if you need any further assistance.  
 
Regards, 
Hemalatha M 
 



JD José Donizete de Oliveira Júnior January 22, 2020 02:55 AM UTC

greetings

Forgive me for writing again on this topic. but I found something new. 

Depending on the orientation of the device, the radialMenu works or not. Here is an example video.

Attachment: video_f58c92e9.rar


Therefore, in order not to fail to serve my customers who have the mentioned device, I did the following:

                var device = DeviceInfo.Model;
                if(device.Equals("motorola one action")) RequestedOrientation = ScreenOrientation.ReverseLandscape;
                else RequestedOrientation = ScreenOrientation.SensorLandscape;

It was the best I could do for them without major changes


HM Hemalatha Marikumar Syncfusion Team January 22, 2020 11:35 AM UTC

Hi José Donizete, 
 
We are glad to hear that you have found a solution to this.  
 
However, since we do not have the device specified and do not reproduce at our end, we are unable to move forward to check the issue.  
 
If you have a chance to get more information about this, please let us know which will help us in the future. 
 
Regards, 
Hemalatha M. 
 



JD José Donizete de Oliveira Júnior February 4, 2020 01:16 PM UTC

Greetings,

This error occurred with a client with another device:

Xiaomi POCOPHONE F1

Android 9

Thanks.


HM Hemalatha Marikumar Syncfusion Team February 5, 2020 01:02 PM UTC

Hi Jose Donizete, 
  
Thanks for your update, 
  
Currently, we are validating the issue of “I can’t click or move RadialMenu” on Xiaomi POCOPHONE F1 device. We will update the complete status on 7th February 2020. 
 
Regards,
Hemalatha M. 



SP Sakthivel Palaniyappan Syncfusion Team February 9, 2020 02:00 PM UTC

Hi Jose Donizete,

Thanks for your patience.

We have fixed the reported issue of “I can’t click or move RadialMenu” on “Xiaomi on POCOPHONE F1” device. This fix will be available on 11th February 2020 weekly NuGet release.

Regards,
Sakthivel P. 



JD José Donizete de Oliveira Júnior February 12, 2020 04:51 PM UTC

Thank you, I am very happy with the solution. Also fixed for Motorola One Action. :)


SP Sakthivel Palaniyappan Syncfusion Team February 13, 2020 06:29 AM UTC

Hi Jose Donizete,

Thanks for your update.

We are glad to know that the reported issue has been resolved.

Please let us know if have any other queries.

Regards,
Sakthivel P. 



TM Tiziano Manni August 4, 2020 12:15 PM UTC

Hi,

i have the same problem on the Armor 6e device.. I updated the all library at the 18.2.0.47.

Can you please help me?


JD José Donizete de Oliveira Júnior August 4, 2020 12:35 PM UTC

Hi Tiziano


This problem really reoccurred. Many customers were complaining, especially with several Motorola devices. To "solve" I fixed the orientation in the position that the error does not occur.

RequestedOrientation = ScreenOrientation.ReverseLandscape




SS Suganya Sethuraman Syncfusion Team August 5, 2020 02:09 PM UTC

Hi Tiziano,

Currently we are in lockdown due to COVID-19, so we don’t have exact device to check your reported issue. We have tried to replicate the reported issue at our end by available device like Moto G4, we are afraid that we are not able to reproduce the issue at our end. Please use the below solution mentioned in the previous update.

RequestedOrientation = ScreenOrientation.ReverseLandscape

Please check with above solution and let us know whether the reported issue has been resolved or not. This will help us to further investigate and provide you with a better solution at the earliest possible time.

Regards,
Suganya Sethuraman.
 



TM Tiziano Manni August 13, 2020 02:51 PM UTC

Hi,
the workaround not worked for me. My device is Armor 6e.

The demo application (Syncfusion control explorer) work fine, but my application not. 
Can you please help me?



SS Suganya Sethuraman Syncfusion Team August 14, 2020 11:35 AM UTC

Hi Tiziano,

Currently we don't have the Amor 6 device. So can you please provide the below details to us, we can check this with GenyMotion custom emulator and let you know the details.
 
  
Display: 
Android version: 
Processor: 
ShowAndroidNavigationBar:

Image linkhttps://www.syncfusion.com/downloads/support/directtrac/general/ze/Details694727994

Regards,
Suganya Sethuraman.
 


Loader.
Live Chat Icon For mobile
Up arrow icon