Small bug in AM 1.36

Post your questions and help other users.

Moderators: MURTUMA, Martin

Posts: 131
Joined: 28 May 2016 21:06

Small bug in AM 1.36

Postby Econdoc » 03 Nov 2018 17:12

On my Samsung Galaxy Tab S3 tablet (Android 8.0.0), the connectors (lines) for all Automagic flows are no longer visible in Dark mode. The connectors work okay in light mode.
I do not have this problem on other devices.

User avatar
Posts: 1606
Joined: 21 Jul 2017 18:50

Re: Small bug in AM 1.36

Postby Desmanto » 03 Nov 2018 19:41

Seem the missing connector bug randomly hit some devices, especially in Oreo. A simple reboot usually fix it, but somehow it can still appear intermittently.
Index of Automagic useful thread List of my other useful posts (and others')

Posts: 6
Joined: 30 Oct 2018 19:03

Re: Small bug in AM 1.36

Postby akela » 03 Nov 2018 20:10

It's definitely a bug in AM 1.36. Rebooting and switching to the light theme are temporary. Toggling between dark and light theme may show the connector lines at first, but when I start touching and editing the flow, the lines disappear for good. They are there, but invisible.

Here is my WORKAROUND that fixes it permanently:

1. Backup all the flows/widgets (Automagic Settings --> Send flows/widgets).
2. UNINSTALL completely AM (first, make sure to disable "Admin device functions" in AM settings).
3. Restart the phone.
4. Re-install AM from Play Store.
5. Restore all the flows/widgets (Automagic Settings --> Import flows/widgets).

With a clean reinstallation, the connector lines are now displayed permanently.
Last edited by akela on 14 Jan 2019 13:54, edited 2 times in total.

User avatar
Posts: 335
Joined: 21 Oct 2017 13:36
Location: The Netherlands

Re: Small bug in AM 1.36

Postby digitalstone » 03 Nov 2018 20:26

What a peculiar issue.
It's as if a different "lineDrawMethod" (to C-Sharpify it) was used in the new light theme which the classic one wasn't written.
The older method seems not welcome with certain phones.
If this is the case, then maybe the classic theme could use this newer method of line drawing.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

User avatar
Posts: 4244
Joined: 09 Nov 2012 15:23

Re: Small bug in AM 1.36

Postby Martin » 05 Nov 2018 15:27

There was actually no change in drawing lines with 1.36 but switching the theme restarts the app process which might help to temporarily workaround the issue. I suspect that the bug is caused by some internal error of the ROM but since I never hit this issue myself I'm not sure and did not yet have a chance to analyze the cause.
It seems to mostly affect devices with Android 8.0 so far. Maybe the issue is already fixed in newer versions of Android or maybe there are just not enough users on newer Android versions so no one reported it yet.
A reboot usually helps to fix this issue. Turning off hardware acceleration in the workaround section might also help. If anyone can reproduce the issue I would be glad to get a system bug report, maybe I can identify the cause in the bug report (see system settings->'developer options' to take a bug report and please send the report to info@automagic4android.com).

Regards,
Martin

Posts: 9
Joined: 27 Oct 2016 19:31

Re: Small bug in AM 1.36

Postby niftea » 05 Nov 2018 20:05

I had the same problem. Invisible lines in the flows after upgrade to 1.36. I have Oreo 8.0.
Rebooting only helped temporarily, then it happened again.

As already suggested, uninstall and reinstall AM fixed the issue.

User avatar
Posts: 4244
Joined: 09 Nov 2012 15:23

Re: Small bug in AM 1.36

Postby Martin » 21 Nov 2018 21:16

I've got a bug report that shows that the system optimizes and deoptimizes the method that draws the flow quite frequently. Honestly I have no idea what this means but it could indicate a problem in the optimizing compiler of Android 8.0 and could also explain why uninstall/reinstall helps. At least there have been quite a lot of changes in Android 8.0 in this area: https://source.android.com/devices/tech/dalvik/improvements
I'll try to implement a workaround in the next EAP build. Would be great if anyone affected by the problem could test 1.37 once I publish an EAP build.

Regards,
Martin

Posts: 9
Joined: 20 May 2013 18:42

Re: Small bug in AM 1.36

Postby dgiorgi » 04 Jan 2019 18:37

I have the same problem.

Step to reproduce:
1)set light theme (the lines are ok)
2)set the dark theme (the lines are ok)
3)move the flow with your finger (the lines are no longer visible)
4)set light theme (the lines are ok)
5)set the dark theme (the lines are ok)
6)move the flow with your finger (the lines are no longer visible)

Only the continuous lines are hidden, the arrows are visible, the dotted lines are visible.

Automagic 1.36.0
Android 8.0
Sony Xperia F5321
Attachments
Screenshot2.png
Screenshot2.png (79.5 KiB) Viewed 651 times
Screenshot1.png
Screenshot1.png (80.25 KiB) Viewed 651 times

Posts: 9
Joined: 20 May 2013 18:42

Re: Small bug in AM 1.36

Postby dgiorgi » 04 Jan 2019 18:51

Today, after recharging my smartphone, the problem no longer appears. :o

User avatar
Posts: 4244
Joined: 09 Nov 2012 15:23

Re: Small bug in AM 1.36

Postby Martin » 06 Jan 2019 21:00

I've made a small change in the EAP build of version 1.37 that might fix this strange issue but I can not confirm that the fix works since I was not able to reproduce the problem on any of my devices yet.

Next

Return to User Help / Bug Reports

Who is online

Users browsing this forum: No registered users and 15 guests