nextcloud / nextcloud/android

Click on a file shortcut only opens the file if nextcloud already runs in the background

Open
#15,877 0 comments 0 reactions 1 assignee Claimed by @alperozturk96 View on GitHub
bug
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. create a file shortcut
2. completely close the app
3. click on the file shortcut
4. nextcloud app doesn't open the file
5. go back to the home screen (without closing the app, still runs in the background)
6. click on the shortcut again
7. Nextcloud tries to open the file

https://github.com/user-attachments/assets/fbc783e0-55cd-42d2-8d41-5f88898e0b92

### Expected behaviour

The nextcloud app should also open the file from the shortcut when the app is not already running in the background.

### Actual behaviour

The app opens the directory of the file.

### Android version

15

### Device brand and model

Xioami 9pro

### Stock or custom OS?

Custom (explain in "additional information")

### Nextcloud android app version

Nextcloud dev Version 20251030

### Nextcloud server version

31.0.4

### Using a reverse proxy?

I don't know

### Android logs

_No response_

### Server error logs

```bash

```

### Additional information
Custom Rom: lineageos
_No response

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.