Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Run when app is open" UX can be is confusing - "open" means "running" here #4213

Open
1 task done
Yobo7000 opened this issue May 19, 2024 · 23 comments
Open
1 task done
Labels
android Related to Android app

Comments

@Yobo7000
Copy link

Yobo7000 commented May 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Platform

Android

OS version

LineageOS 20

App version

5.7.*

Current Behavior

SimpleX keeps communication with SMP servers while notifications disabled and battery usage "restricted"

Expected Behavior

imo this is nasty behavior and I'd like to disable any network communications while the app is closed

Steps To Reproduce

  1. set notifications to "allow only when the app is open"
  2. disable app's battery usage in the app settings
  3. close the app
  4. monitor network traffic using "pcapdroid" or something similar
    -> you will see that SimpleX is doing that nasty things regardless of all options are set to stop it

Relevant log output

no log for this issue
@Yobo7000 Yobo7000 added bug Something isn't working triage labels May 19, 2024
@Narasimha-sc
Copy link
Collaborator

Narasimha-sc commented May 20, 2024

how do you close the app, do you fully shutdown it within Android shutdown apps menu or do you just close its window?

@Yobo7000
Copy link
Author

how do you close the app, do you fully shutdown it within Android shutdown apps menu or do you just close its window?

I just close it and it kinda keeps running on the background but imo this is still unwanted behavior

@Narasimha-sc
Copy link
Collaborator

how do you close the app, do you fully shutdown it within Android shutdown apps menu or do you just close its window?

I just close it and it kinda keeps running on the background but imo this is still unwanted behavior

that is expected Android behavior, it does not shutdown apps after close, if they have any background process

@Yobo7000
Copy link
Author

Yobo7000 commented May 20, 2024

that is expected Android behavior, it does not shutdown apps after close, if they have any background process

all other apps I have doesn't communicate on the background or at least they have option to disable it. SimpleX is the only doing it so as far as I understand it is misfunction

@Narasimha-sc
Copy link
Collaborator

you can shutdown SimpleX Chat manually when you do not want it to do communication in the background, you can also disable the app

@Yobo7000
Copy link
Author

are you trolling me?

@Narasimha-sc
Copy link
Collaborator

I am not, just saying that this is expected behavior in Android devices and it would be non-intuitive for most users use-cases to make the app non-functional whenever it goes out of focus, yes it could be an option, but that's unlikely to have many uses...

@Narasimha-sc
Copy link
Collaborator

Android 13 has a shutdown app menu in its drawer menu, which could make this pretty easy for you to do manually

@Yobo7000
Copy link
Author

Yobo7000 commented May 21, 2024

I am not, just saying that this is expected behavior in Android devices and it would be non-intuitive for most users use-cases to make the app non-functional whenever it goes out of focus, yes it could be an option, but that's unlikely to have many uses...

fella you made just 2 commits in this project and you are already brave enough to speak like you are a developer and know something however I am pretty sure you just started to learn how to write functions in haskell but you still have no idea about proper software design.

please keep your ignorance beyond the keyboard and don't comment this this topic anymore. I started this topic for people who know what they are doing.

@serrq
Copy link

serrq commented May 22, 2024

@Yobo7000 Please express yourself with respect. If he also needs to learn Haskell language, this does not prevent him from expressing himself freely or from wrong a computer concept.

I invite everyone to be calm, and in particular to you, in making the most sincere apologies to the boy you have offended with your arrogance.

I no longer want reading or suffering very heavy atmospheres.

@epoberezkin

@nahuhh
Copy link

nahuhh commented May 22, 2024

...

  1. menu > Notifications > run when app is open
  2. Menu > shutdown

@Yobo7000
Copy link
Author

1. menu > Notifications > run when app is open
2. Menu > shutdown

that option doesn't have any effect

@nahuhh
Copy link

nahuhh commented May 23, 2024

1. menu > Notifications > run when app is open
2. Menu > shutdown

that option doesn't have any effect

After Menu > shutdown the app still runs in the background?

@amosstevens
Copy link

if the notification is turned off and the app is in background this is an unwanted behavior, someone shouldn't shutdown the application manually

@nahuhh
Copy link

nahuhh commented May 26, 2024

if the notification is turned off and the app is in background this is an unwanted behavior, someone shouldn't shutdown the application manually

Are you confirming that

  1. Select "run when app is open"
  2. Close app via swiping away from recent
    = app still running?

@Yobo7000
Copy link
Author

Are you confirming that

1. Select "run when app is open"

2. Close app via swiping away from recent
   = app still running?

I don't have such option "run when app is open".

I have all other apps running as expected. the problem about SimpleX looks like disabling notifications doesn't work at all so it keeps communicating even with that options is set off. another problem is that SimpleX doesn't care when you restrict battery for the app. it just keeps communicating rarely (when you leave traffic listening over night)

I guess SimpleX android app by design is supposed to work as I expect but those features aren't implemented well so this is kinda bug

@amosstevens
Copy link

if "runs when app is open" is selected and the app still communicate with the server when it's in background, it's an unwanted behavior

i have used pcap with the notification off on simplex, and it doesn't seems to connect to the server

i have simplex 5.8 beta 3
android 13, grapheneOS

@Yobo7000
Copy link
Author

i have used pcap with the notification off on simplex, and it doesn't seems to connect to the server

leave it for 24h

@nahuhh
Copy link

nahuhh commented May 26, 2024

simplex > menu > Setting > notification > notification service > run when app is open

0hlet44xkvq0m8o2.jpg

@Yobo7000
Copy link
Author

simplex > menu > Setting > notification > notification service > run when app is open

yes, friend. I got this option enabled and the app still makes connections

@epoberezkin
Copy link
Member

The confusion here is in the definition of "open" - whenever the app is present in Recents it is "open" technically, same as it can be opened on desktop, even if it is in background and you don't see its UI.

This term is used to mean "opened (possibly in background)" - as opposed to "active and in foreground".

We will reconsider the terminology in the UX, but in any case to make the app "closed" you need to swipe it up from recents - in this case, if this notification mode is selected, the app will not be communicating with the servers.

@epoberezkin epoberezkin added android Related to Android app and removed bug Something isn't working triage labels May 28, 2024
@epoberezkin epoberezkin changed the title [Bug]: SimpleX keeps server communication on the background "Run when app is open" UX can be is confusing - it means "running" May 28, 2024
@epoberezkin epoberezkin changed the title "Run when app is open" UX can be is confusing - it means "running" "Run when app is open" UX can be is confusing - "open" means "running" here May 28, 2024
@nahuhh
Copy link

nahuhh commented May 29, 2024

text change from run when app is open >> enabled when app is running

@Yobo7000
Copy link
Author

The confusion here is in the definition of "open" - whenever the app is present in Recents it is "open" technically, same as it can be opened on desktop, even if it is in background and you don't see its UI.

This term is used to mean "opened (possibly in background)" - as opposed to "active and in foreground".

We will reconsider the terminology in the UX, but in any case to make the app "closed" you need to swipe it up from recents - in this case, if this notification mode is selected, the app will not be communicating with the servers.

on LineageOS 20 when I swipe it up it still communicates, like the app doesn't closes completely even and keeps communicating. I tried all kind of settings and the only way I can stop it from communicating is to set background processes to zero in developer options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Related to Android app
Projects
None yet
Development

No branches or pull requests

6 participants