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

Long loading on the initial "on-boarding" view (~5 minutes) #8957

Open
serious-angel opened this issue Dec 16, 2024 · 2 comments
Open

Long loading on the initial "on-boarding" view (~5 minutes) #8957

serious-angel opened this issue Dec 16, 2024 · 2 comments
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@serious-angel
Copy link

serious-angel commented Dec 16, 2024

Steps to reproduce

  1. Install the application from F-Droid;
  2. Launch the application;
  3. Press "Sign In" button.

Outcome

What did you expect?

A short or absence of any loading, and the form with inputs shown for username, password etc.

What happened instead?

Long loading (~5 minutes) animation with features scrolling horizontally (carousel) before the next step with actual fields for username, password etc.

Your phone model

M2007J3SG

Operating system version

MIUI 14.0.1 on Android 12

Application version and app store

1.6.20 (40106203) from F-Droid

Homeserver

Synapse v1.121.1

Will you send logs?

No

Are you willing to provide a PR?

No

@serious-angel serious-angel added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Dec 16, 2024
@serious-angel
Copy link
Author

The issue could be related to the following lines:

currentJob = viewModelScope.launch {
setState { copy(isLoading = true) }
runCatching { startAuthenticationFlowUseCase.execute(homeServerConnectionConfig) }.fold(
onSuccess = {
onAuthenticationStartedSuccess(trigger, homeServerConnectionConfig, it, serverTypeOverride)
postAction()
},
onFailure = { onAuthenticationStartError(it, trigger) }
)
setState { copy(isLoading = false) }
}

I would share the log if it would be possible to obtain the log file to be sent by the app without root permissions - just as a file attached to the issue by hand.

@serious-angel
Copy link
Author

It's worth to mention that the similar long loading happens if pressed back on the login form finally opened, to return to the "on-boarding" view, and then "Sign In' again.

@serious-angel serious-angel changed the title Long loading on the initial "on boarding" view (~5 minutes) Long loading on the initial "on-boarding" view (~5 minutes) Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

No branches or pull requests

1 participant