FossifyOrg / Clock

Combination of a beautiful clock with widget, alarm, stopwatch & timer, no ads
https://www.fossify.org
GNU General Public License v3.0
181 stars 12 forks source link

the alarm only shows a notification and doesn't ring nor vibrate when screen is on. #66

Closed aless3 closed 3 months ago

aless3 commented 3 months ago

Checklist

Affected app version

1.0.0

Affected Android/Custom ROM version

Nameless-AOSP 13.0, built 20231121

Affected device model

oneplus 8t

How did you install the app?

GitHub releases

Steps to reproduce the bug

  1. go to the alarms tab
  2. set an alarm for the current time+1min, so that will ring in a minute
  3. do nothing and wait for them alarm without letting the device lock
  4. the notification of the alarm comes and you can dismiss/snooze it as normal, but makes no sound and no vibration, it's just the notification

Expected behavior

  1. go to the alarms tab
  2. set an alarm for the current time+1min, so that will ring in a minute
  3. do nothing and wait for them alarm without letting the device lock
  4. the alarm rings as usual

Actual behavior

the notification of the alarm comes and you can dismiss/snooze it as normal, but makes no sound and no vibration, it's just the notification

Screenshots/Screen recordings

No response

Additional information

works if the screen is locked, and Google clock works correctly even if the screen is not locked

Aga-C commented 3 months ago

Do you mean that you don't have a sound at all when notification appears on the screen, or that sound stops when you open the notification drawer? I'm asking because when I have a screen turned on, I have a notification sound, but it disappears after opening the notification drawer.

aless3 commented 3 months ago

the notification automatically, I think it's a normal notification, no sound at all. the attached video shows where I am when the alarm starts and no sound nor vibration appears.

https://github.com/FossifyOrg/Clock/assets/7838139/94f73e43-2603-4dc8-b97d-f2e4081b98f3 (if not attached correctly I can re upload it in other ways, but I'm not sure what the best way would be)

I did some tests, but I don't know the correct terminology, sorry for that. If some term is unclear I will try to further explain what I mean.

the timers have the same problem (scheduled 5s in the future for testing purposes)

if I lock the device but then re enter the home screen, it still doesn't work

if I lock the device and press the power button the "open the screen", like where you swipe and the insert the password, it doesn't work

if I lock the device and keep the screen "off" it works

so the terms I used at the start of the issue "locked phone" may be incorrect (if it's locked but the screen is on it still doesn't work), in case feel free to correct me on the terminology to use

aless3 commented 3 months ago

ok, I'm an idiot

my phone has a settings called "notification sound if active", and it was disabled (still doesn't explain why or how other alarm apps ignore that)

now everything works, sorry for having bothered you for nothing @Aga-C