nextcloud / nextcloud/deck

One card attachments show in other card when scrolling through pictures

Open
#5,624 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: attachments
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug
When I scroll though attached pictures (open a picture and then press arrows) of one card and I have multiple cards with attachments in one board, then it shows me pictures from other cards.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Deck'
  2. Create two or more 'Cards'
  3. Attach a picture to each of the newly created cards
  4. Click on 'Card' with one or more pictures attached
  5. Click on 'Attachments'
  6. Click on a picture
  7. Click on arrows to scroll through pictures
  8. It now shows pictures from other cards

Expected behavior
I expect it to show me only those attachments which are directly added to the card and not from the whole board.

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:

  • OS: Windows 11
  • Browser: Microsoft Edge
  • Version: 121.0.2277.112
  • Device: Desktop
Server details

Operating system: Linux 5.4.0-169-generic x86_64

Web server:

Database: mysql 8.0.36

PHP version: 8.2.15

Nextcloud version: 27.1.6

Where did you install Nextcloud from: Snap

Signing status:

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 issue in Deck by creating multiple cards with picture attachments, opening one card's Attachments view, and using the arrows. Trace the attachment picture viewer from that entry point; done means arrow navigation shows only attachments belonging to the selected card, not pictures from other cards.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.