nextcloud / nextcloud/spreed

Multiple pictures on view, bad preview from talk when sharing attachments

Open
#13,624 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: chat 💬 feature: frontend 🖌️
Dominant language
PHP
Stars
2.2k
Forks
587
Avg merge
18h 27m
Merged PRs (30d)
333

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.

Steps to reproduce

  1. send attachment picture to another person,
  2. send some more
  3. see multiple pictures when you should see one
    GIF:
    Image
Expected behaviour

When you click on picture you should see only one

Actual behaviour

You sometime see preview, sometimes not, and when you click on there are multiple pictures and on top is not that you click on.

Talk app

[Nextcloud Hub 8] (29.0.8) using AIO Nextcloud AIO v9.7.0

Encryption: yes

User-backends:

  • OC\User\Database
  • OCA\Guests\UserBackend

Talk configuration:

STUN servers

  • domain:3478

TURN servers

  • turn:domain:3478 - udp,tcp

Signaling servers (mode: default):

  • SIP dialin is disabled
  • SIP dialout is disabled
  • https://domain/standalone-signaling/ - 2.0.0~docker

Recording servers:

  • Recording is enabled
  • Recording consent is set to "2"
  • http://nextcloud-aio-talk-recording:1234/ - 0.1

Browser

Microphone available:

Camera available:

Operating system: Windows

Browser name: Firefox

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0

Browser log
``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```

Server configuration

Server configuration detail

Operating system: Linux 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64

Webserver: Apache/2.4.62 (Unix) (fpm-fcgi)

Database: pgsql PostgreSQL 16.4 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit

PHP version: 8.2.24

Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, bz2, posix, random, readline, Reflection, standard, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, Phar, exif, ftp, gd, gmp, igbinary, imagick, imap, intl, ldap, memcached, pcntl, pdo_pgsql, pgsql, redis, smbclient, sodium, sysvsem, zip, libsmbclient, Zend OPcache

Nextcloud version: 29.0.8 - 29.0.8.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

[]

List of activated apps
Enabled:
 - activity: 2.21.1
 - admin_audit: 1.19.0
 - appointments: 2.1.12
 - bruteforcesettings: 2.9.0
 - calendar: 4.7.16
 - calendar_resource_management: 0.8.0
 - call_summary_bot: 2.0.0
 - camerarawpreviews: 0.8.5
 - cloud_federation_api: 1.12.0
 - comments: 1.19.0
 - contacts: 6.0.0
 - contactsinteraction: 1.10.0
 - cospend: 1.6.1
 - dashboard: 7.9.0
 - dav: 1.30.1
 - deck: 1.13.2
 - drawio: 3.0.3
 - encryption: 2.17.0
 - federatedfilesharing: 1.19.0
 - federation: 1.19.0
 - files: 2.1.1
 - files_accesscontrol: 1.19.1
 - files_antivirus: 5.6.0
 - files_automatedtagging: 1.19.0
 - files_downloadlimit: 2.0.0
 - files_external: 1.21.0
 - files_fulltextsearch: 29.0.1
 - files_pdfviewer: 2.10.0
 - files_reminders: 1.2.0
 - files_sharing: 1.21.0
 - files_trashbin: 1.19.0
 - files_versions: 1.22.0
 - firstrunwizard: 2.18.0
 - flow_notifications: 1.9.0
 - fulltextsearch: 29.0.1
 - fulltextsearch_elasticsearch: 29.0.1
 - geoblocker: 0.5.15
 - groupfolders: 17.0.5
 - guests: 3.1.0
 - integration_giphy: 2.0.1
 - logreader: 2.14.0
 - lookup_server_connector: 1.17.0
 - nextcloud-aio: 0.6.0
 - nextcloud_announcements: 1.18.0
 - notes: 4.11.0
 - notifications: 2.17.0
 - notify_push: 0.7.0
 - oauth2: 1.17.1
 - password_policy: 1.19.0
 - photos: 2.5.0
 - polls: 7.2.4
 - previewgenerator: 5.6.0
 - privacy: 1.13.0
 - provisioning_api: 1.19.0
 - ransomware_protection: 1.14.0
 - recognize: 7.1.0
 - recommendations: 2.1.0
 - related_resources: 1.4.0
 - richdocuments: 8.4.8
 - serverinfo: 1.19.0
 - settings: 1.12.0
 - sharebymail: 1.19.0
 - sharelisting: 1.2.0
 - snowflakestheme: 1.1.2
 - spreed: 19.0.10
 - support: 1.12.0
 - survey_client: 1.17.0
 - suspicious_login: 7.0.0
 - systemtags: 1.19.0
 - tasks: 0.16.1
 - text: 3.10.1
 - theming: 2.4.0
 - twofactor_backupcodes: 1.18.0
 - twofactor_totp: 11.0.0-dev
 - user_ldap: 1.20.0
 - user_status: 1.9.0
 - viewer: 2.3.0
 - weather_status: 1.9.0
 - whiteboard: 1.0.4
 - workflowengine: 2.11.0
Disabled:
 - apporder: 0.15.0
 - breezedark: 29.0.0
 - circles: 27.0.1
 - files_rightclick: 1.6.0
 - maps: 1.4.0
 - money: 0.29.0
 - talk_matterbridge: 1.26.0
 - talked: 0.5.0
 - workflow_ocr: 1.29.0

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your server installation folder

<summary>Configuration (config/config.php)</summary>

{
"memcache.local": "\OC\Memcache\APCu",
"apps_paths": [
{
"path": "/var/www/html/apps",
"url": "/apps",
"writable": false
},
{
"path": "/var/www/html/custom_apps",
"url": "/custom_apps",
"writable": true
}
],
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"password": "REMOVED SENSITIVE VALUE",
"port": 6379
},
"overwritehost": "chmura.b24.best-it.pl",
"overwriteprotocol": "https",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"localhost",
"chmura.b24.best-it.pl"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "pgsql",
"version": "29.0.8.1",
"overwrite.cli.url": "https://chmura.b24.best-it.pl/",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"instanceid": "REMOVED SENSITIVE VALUE",
"loglevel": 0,
"log_type": "file",
"logfile": "/var/www/html/data/nextcloud.log",
"log_rotate_size": "10485760",
"log.condition": {
"apps": [
"admin_audit"
]
},
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60",
"enabledPreviewProviders": {
"1": "OC\Preview\Image",
"2": "OC\Preview\MarkDown",
"3": "OC\Preview\MP3",
"4": "OC\Preview\TXT",
"5": "OC\Preview\OpenDocument",
"6": "OC\Preview\Movie",
"0": "OC\Preview\Imaginary"
},
"enable_previews": true,
"upgrade.disable-web": true,
"mail_smtpmode": "smtp",
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"activity_expire_days": "30",
"simpleSignUpLink.shown": false,
"share_folder": "/Shared",
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"one-click-instance.link": "https://nextcloud.com/all-in-one/",
"htaccess.RewriteBase": "/",
"files_external_allow_create_new_local": true,
"trusted_proxies": "REMOVED SENSITIVE VALUE",
"allow_local_remote_servers": true,
"preview_imaginary_url": "REMOVED SENSITIVE VALUE",
"mail_sendmailmode": "smtp",
"mail_smtpauth": 1,
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "465",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"default_phone_region": "PL",
"maintenance": false,
"updatedirectory": "/nc-updater",
"ldapProviderFactory": "OCA\User_LDAP\LDAPProviderFactory",
"updater.release.channel": "stable",
"data-fingerprint": "9a0516a57e55e7e772ae5183c9a0e0b1",
"upgrade.cli-upgrade-link": "https://github.com/nextcloud/all-in-one/discussions/2726",
"davstorage.request_timeout": 3600,
"dbpersistent": false,
"auth.bruteforce.protection.enabled": true,
"ratelimit.protection.enabled": true,
"appsallowlist": false,
"maintenance_window_start": 100,
"preview_imaginary_key": "REMOVED SENSITIVE VALUE",
"app_install_overwrite": [
"files_rightclick",
"ransomware_protection"
],
"mail_smtpsecure": "ssl",
"DOMAIN":

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
Server log (data/nextcloud.log)
Insert your server log here

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

Start by reproducing the attachment-sharing steps in the Talk app using the reported Nextcloud Hub 8 setup, Firefox, and Windows. Check that clicking an image consistently opens only the selected picture and that its preview appears correctly; no source file or test is identified in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
audio-video-rtc, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.