owncloud / owncloud/android

[BUG] Navigation in "Shared by link" misbehaves

Open
#3,498 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Contributions are welcome Type:bug
Dominant language
Kotlin
Stars
4.2k
Forks
3.1k
Avg merge
1d 12h
Merged PRs (30d)
7

Description

Actual behaviour

Navigating from the details screen of some text document inside "Shared by link" backwards after opening it, gets you to the "Files" section.

Expected behaviour

Navigating from the details screen of some text document inside "Shared by link" backwards after opening it, gets you to the "Shared by link" section (where we started the navigation).

Steps to reproduce
  1. Share by public link a text document.
  2. Go to "Shared by link" section.
  3. Press on the document just shared.
  4. Open it with an external app.
  5. Go back to the ownCloud app.
  6. Press the back arrow in the toolbar or the physical back button of the device.

Can this problem be reproduced with the official owncloud server?
(url: https://demo.owncloud.org, user: test, password: test)
Yes

Environment data

Android version: 9

Device model: Samsung Galaxy S9

Stock or customized system: No

ownCloud app version: 2.19

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the flow from the Shared by link section through the document details screen, opening the document externally and returning to the ownCloud app. Start by tracing the toolbar back arrow and physical back button handling after that return. Done means both back actions return to Shared by link rather than Files.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.