Small bug in AM 1.36
Moderator: Martin
Small bug in AM 1.36
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.
I do not have this problem on other devices.
Re: Small bug in AM 1.36
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')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Small bug in AM 1.36
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.
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 12:54, edited 2 times in total.
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: Small bug in AM 1.36
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.
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)
Re: Small bug in AM 1.36
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
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
Re: Small bug in AM 1.36
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.
Rebooting only helped temporarily, then it happened again.
As already suggested, uninstall and reinstall AM fixed the issue.
Re: Small bug in AM 1.36
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 ... provements
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
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
Re: Small bug in AM 1.36
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
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 (79.5 KiB) Viewed 18942 times
-
- Screenshot1.png (80.25 KiB) Viewed 18942 times
Re: Small bug in AM 1.36
Today, after recharging my smartphone, the problem no longer appears.
Re: Small bug in AM 1.36
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.