android icon indicating copy to clipboard operation
android copied to clipboard

Clicking the "Log to file" notification starts a new activity on every click

Open ammarraisafti opened this issue 5 years ago • 3 comments

Actual behaviour

After activating the "Log to file" feature, then enter the application via the notifications available in the status bar. Supposedly, the application runs normally, and does not continuously display new pages.

Expected behaviour

When entering the application via notifications available on the status bar, this application constantly displays new pages.

According to my analysis, this problem occurs because of a memory leak. And it must be repaired immediately, so that no fatal errors occur in the future.

Step to reproduce

  • Install and open the application.
  • Sign In using the account that you have previously created. If you do not have an account, you must first sign up.
  • Go to application settings, activate the "Log to file" feature. You will find a notification in the status bar.
  • Enter the application via available notifications on the status bar.
  • Then you will find problems like I have experienced.

Information

  • Device: Nubia n2 lite
  • Android version: 8.1.0
  • Application version: 1.4.9

Recording of the bug

https://youtu.be/RidRMp-cB4k

ammarraisafti avatar Jun 26 '19 17:06 ammarraisafti

Thanks for reporting, and thanks for the video. It made understanding what you're reporting very easy.

I acknowledge that this is an issue, but I disagree about your assessment of this being a severe one. It's a very minor inconvenience that is only triggered when enabling debug functionality (log to file). It's actually quite a common issue with apps because how activity handling works. It would be great to fix it at some point, but it's definitely not a priority at this stage.

Again, thanks for reporting, but if I were you, I wouldn't worry too much about this.

tasn avatar Jun 26 '19 17:06 tasn

Thank you very much for your response. I agree with your opinion. This is a very small inconvenience, and this problem is common. However, I am very worried about this activity if it continues to occur, and is caused by a memory leak. Hopefully that's not the cause.

Once again, thank you very much for your initiative to fix it at some point. I am very glad to hear it.

Best regard.

ammarraisafti avatar Jun 26 '19 19:06 ammarraisafti

It's not caused by a memory leak. It just that every time you click on this notification it starts a new instance (Activity) of the settings page. Think of it as if you're on the desktop and just clicking on an icon multiple times. It's just the same application opening multiple times. No leak or anything of that sort.

tasn avatar Jun 26 '19 19:06 tasn