AsteroidOS / asteroid

Build script for AsteroidOS, an open-source operating system for smartwatches
http://asteroidos.org
GNU General Public License v2.0
882 stars 64 forks source link

BUG: Some confirmation buttons not working, as well as touch after screen off #63

Closed Atrate closed 6 years ago

Atrate commented 6 years ago

Issue updated in my comment

Anthias nightly from 7th of May, fully replaced WearOS

I have just flashed AsteroidOS on my Asus Zenwatch 1 and I am having a pretty big issue, that is, the watch displays the select language screen, but nothing can be selected.

I can scroll through the list of languages without a problem, but the select button-arrow doesn't do anything. I've tried tapping everywhere and doing stuff with the watch button, but nothing works.

I have been able to ssh into the watch, so maybe it could be possible to set some kind of property so the language selection screen doesn't pop up?

FlorentRevest commented 6 years ago

Hi MegaArthur, this is unfortunate! I don't have an anthias to try it out but I would like to know if this could be a generic touch screen problem or something wrong in the first run dialog that could potentially affect other watches. Could you share logs from journalctl --no-pager user@1000 ? You can skip the first run dialog by setting the dconf value /org/asteroidos/launcher/firstRunDone to true.

Atrate commented 6 years ago

logs.zip

(There are two log files inside, one is a log from the root account (just "journalctl") and the other one from ceres ("journalctl -u user@1000"))

It seems that the issue is the same with many other buttons that are the same kind of ones as the "select language" one, like the stopwatch reset button.

After getting past the lang select screen, the watch works fine except for the fact that this issue happens after turning the screen off. The screen edges light up when touching, but nothing can be dragged, no gestures can be made. It is still possible to dismiss notification and dialog boxes, though.

Oh, and also the screen can only be turned on with the anthias's button, not with a double tap on the screen.

Also, the screen doesn't turn off automatically.

@FlorentRevest Have these issues been reported before?

Atrate commented 6 years ago

@FlorentRevest Is there any way I can help? For example test bugfixes and provide logs?

FlorentRevest commented 6 years ago

Unfortunately, I don't notice anything wrong in the logs you uploaded. The "touchscreen not working after sleep" issue has been confirmed by other users but this "confirmation buttons not working" surprisingly hasn't been encountered by anyone else. Could you just confirm if it still happens with this image: https://release.asteroidos.org/1.0/anthias/ ?

Atrate commented 6 years ago

The new release doesn't seem to have fixed it, and the buttons still don't work, same happens for the calculator app, some digits can be pressed, and some cannot.

EDIT:

Turning the watch on with bluetooth disabled seems to fix no touch after lock. but double tapping the screen doesn't turn it on.

Turning BT on AFTER booting doesn't make the screen break.

EDIT2:

I think I was just stupid, it does turn on after holding the display for ~0.5 secs, sorry.

EDIT3:

Turning BT AFTER booting doesn't ACTUALLY turn BT on, just the visual switch.

EDIT4:

The watch completely discharged overnight and now BT just turns itself back on when rebooting, making it again impossible to use the watch after screen lock.

It is possible to disable BT though, using hciconfig.

Atrate commented 6 years ago

@FlorentRevest Any progress in diagnosing the issue?

FlorentRevest commented 6 years ago

Hi @MegaArthur, unfortunately I don't have the watch to investigate that issue (it only affects anthias) and given its complexity, I'm afraid I won't be able to solve it without the watch.

timttmy commented 6 years ago

I have a spare Zenwatch 1 I would like to donate to the project to get this bug fixed. @FlorentRevest would you accept the donation? If so please tell me where to send it. :)

FlorentRevest commented 6 years ago

Hey @timttmy! Sure, that could work.This is very kind of you. I can't promise I will be able to fix the bug but I can definitely give it a closer look if I have the watch. Feel free to drop me an email or an IRC private message and I'll reply with my address.

timttmy commented 6 years ago

Done! :)

FlorentRevest commented 6 years ago

Regarding the "touch after screen off doesn't work" part of this issue, please refer to: https://github.com/AsteroidOS/meta-anthias-hybris/issues/1#issuecomment-406745180

Atrate commented 6 years ago

I think the second part of the issue might be a hardware problem with my watch, so I'll close the issue, but also suggest one thing: maybe a switch in the settings or dconf that could change the position of buttons slightly? I know I'm just asking for myself, but, if at any point you'd have nothing to do, then maybe this?

FlorentRevest commented 6 years ago

We can't take into account every hardware problems ever. If you want to change the interface you can edit the QML and recompile Asteroid ;)