Hi

Hi,

I’m experiencing some weirdness with widgets when duplicating desktops, which looks like a bug. I’ve tried several times and the following reproduces consistently on my phone:

If I have a desktop with widgets, and I duplicate it (via lightning settings->configure desktops), I see the widgets on both desktops, but on one of them, usually the original, they are unresponsive (i.e. no response to taps, do not update).

I couldn’t find any way to recover from this short of recreating the widgets.

If I try to fix it by deleting the new desktop, it only gets worse. At first I can still see the widgets on the original desktop, but if I restart the launcher (via “Restart app” lightning action), the widgets become completely broken and show the “couldn’t find widget” message.

I also tried taking a backup before duplicating the desktop and reverting to it after duplicating, but this gives me the same result (“couldn’t find widget”).

I’m running Android 4.4.2 if it makes any difference.

]]>

3 Commentsto Hi

  1. Anonymous says:

    < ![CDATA[

    In theory the cloned widget should display a “Couldn’t find the widget, tap to pick another one”, so that the user can pick or create a new one. Lightning merely duplicate the geometry and style attributes. Fully cloning a widget isn’t possible as the provider app may keep data for the widget, and Lightning has no access to these data.


    What you are experiencing looks like a bug in the desktop cloning operation. It seems that the new widget is keeping the same Android widget link (you need to know that Android keeps track of widgets, and apps ask Android when needing to display a widget). This doesn’t explain why the second one is unresponsive (I’m pretty sure it should work because this is how it worked in the past) but this explain why widgets are broken when you delete one of the desktops : Lightning ask to delete the widget once, the Android system then removes its own widget data, and when the widget is displayed again on the other desktop, Android replies that the widget doesn’t exist anymore.


    As a workaround, what you try is to enter edit mode in the cloned desktop, and manually select “Choose another widget” on each cloned widget.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Thanks for the thorough reply!


    Your suggested workaround followed by restarting LL fixed the issue.


    I will no longer live in fear of accidently cloning my desktop and messing up all of my widgets 🙂

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Thanks, I have one more bug to fix 🙂

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *