nproth / pin

A minimalistic note-taking app for android utilizing your phone's notification area.
GNU General Public License v3.0
116 stars 7 forks source link

quick settings tile not working #42

Closed petep0p closed 2 years ago

petep0p commented 2 years ago

I'm on Android 8.0, and i have p!n v1.2.11 for some reason, the quick settings tile no longer launches the app. it just absorbs the click and does nothing. setting p!n as an exception to battery optimization doesn't seem to solve it. the only way to get it to work is to remove it from the quick tiles and re-add it, but then it only works for the first click. any ideas? i didn't find this as a known issue, but maybe i missed something...

nproth commented 2 years ago

Thank you for the bug report. Indeed, a similar issue appears on my device, I just seldomly use the tile and had not noticed it. It seems that Android takes some time to load the app, I've seen up to 6 seconds. It would be great if you could verify whether this is the bug you are describing: Click the quick settings tile and then wait a few seconds without further interaction with the device. Because the app closes when its background is clicked, it might not be shown at all if that happens while the system still loads it.

petep0p commented 2 years ago

i just tried it and did nothing on the phone for 15 seconds, but it still never loaded.- peterwong. -------- Original message --------From: Nils Rothaug @.> Date: 2/13/22 2:50 PM (GMT-08:00) To: nproth/pin @.> Cc: petep0p @.>, Author @.> Subject: Re: [nproth/pin] quick settings tile not working (Issue #42) Thank you for the bug report. Indeed, a similar issue appears on my device, I just seldomly use the tile and had not noticed it. It seems that Android takes some time to load the app, I've seen up to 6 seconds. It would be great if you could verify whether this is the bug you are describing: Click the quick settings tile and then wait a few seconds without further interaction with the device. Because the app closes when its background is clicked, it might not be shown at all if that happens while the system still loads it.

—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

nproth commented 2 years ago

Strange, I looked through the code did not find any obvious causes. The implementation of the quick settings tile is in line with Android's documentation. In fact, it's just a few lines, which doesn't leave mich room for errors.

nproth commented 2 years ago

I reverted a recent change to the quick settings tile in the next version of p!n (v1.2.12). Please check whether this issue persists when the update arrives on F-Droid (might take a few days).

petep0p commented 2 years ago

will do! thanks!- peterwong. -------- Original message --------From: Nils Rothaug @.> Date: 2/18/22 1:58 PM (GMT-08:00) To: nproth/pin @.> Cc: petep0p @.>, Author @.> Subject: Re: [nproth/pin] quick settings tile not working (Issue #42) I reverted a recent change to the quick settings tile in the next version of p!n (v1.2.12). Please check whether this issue persists when the update arrives on F-Droid (might take a few days).

—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

petep0p commented 2 years ago

it opens from the quick settings tile now for me! thanks!i will note that it does take a couple seconds for the first launch, similar to what you were initially describing - but it does successfully launch. please let me know if you can use any further info from me and I'll be happy to send it along.- peterwong. -------- Original message --------From: gargasm @.> Date: 2/20/22 12:02 PM (GMT-08:00) To: nproth/pin @.>, nproth/pin @.> Cc: Author @.> Subject: Re: [nproth/pin] quick settings tile not working (Issue #42) will do! thanks!- peterwong.-------- Original message --------From: Nils Rothaug @.> Date: 2/18/22 1:58 PM (GMT-08:00) To: nproth/pin @.> Cc: petep0p @.>, Author @.> Subject: Re: [nproth/pin] quick settings tile not working (Issue #42) I reverted a recent change to the quick settings tile in the next version of p!n (v1.2.12). Please check whether this issue persists when the update arrives on F-Droid (might take a few days).

—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

nproth commented 2 years ago

Great! I fear there is not much I can do to reduce the launch times. At a guess they are caused by Android loading the app from storage.