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

Profile Pictures Slow to Update #979

Open
sim2kid opened this issue Dec 11, 2024 · 2 comments
Open

Profile Pictures Slow to Update #979

sim2kid opened this issue Dec 11, 2024 · 2 comments
Labels
1. to develop bug Something isn't working

Comments

@sim2kid
Copy link

sim2kid commented Dec 11, 2024

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. Start with opening Talk so that your profile is loaded by the application.
  2. On Nextcloud, change your profile picture.
  3. Return to talk. The profile won't be updated even after rebooting the application.

Expected behaviour

The profile should update on the talk client if it changes.

Actual behaviour

The profile picture remains the same for extended periods of time. This includes past app reboots and force reloads.

Diagnosis and logs

Diagnosis report

Diagnosis report

Nextcloud Talk Desktop
Version v1.0.0
Built-in Talk version v20.1.0
Operating system Windows_NT 10.0.22635 (Windows 11 Pro)
Executable Path C:\Users\2simm\AppData\Local\NextcloudTalk\app-1.0.0\Nextcloud Talk.exe
Connected to -
Nextcloud server version 30.0.2
Nextcloud Talk version 20.0.2
notifications app enabled ✅ yes
notify_push app enabled ✅ yes

Application config

{
  "theme": "default",
  "systemTitleBar": false,
  "monochromeTrayIcon": false,
  "zoomFactor": 1,
  "playSoundChat": "respect-dnd",
  "playSoundCall": "respect-dnd",
  "enableCallbox": "respect-dnd"
}
Client logs

Logs are after running a Force Reload. Issue still occurs.
(I don't think the logs help in this case)

index.js:2 Using locale "" for language "en"
JitsiStreamBackgroundEffect.worker.js?v=fa1b69e42302a02d7a71:1 [WASM] Loading model of size: 249792
JitsiStreamBackgroundEffect.worker.js?v=fa1b69e42302a02d7a71:1 INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
printChar @ JitsiStreamBackgroundEffect.worker.js?v=fa1b69e42302a02d7a71:1
nextcloud.domain.example/ocs/v2.php/apps/user_status/api/v1/statuses/_sim2kid:1 
        
        
       Failed to load resource: the server responded with a status of 404 ()
nextcloud.domain.example/ocs/v2.php/apps/user_status/api/v1/statuses/_sim2kid:1 
        
        
       Failed to load resource: the server responded with a status of 404 ()
index.js:2 Not connected to signaling server yet, defer joining room kgbswmoy
index.js:1 Session has been marked as inactive

@sim2kid sim2kid added 0. Needs triage bug Something isn't working labels Dec 11, 2024
@Antreesy
Copy link
Contributor

Hi, thanks for the report!

Avatar image has this in response headers, so it's cached for 1 day and won't be updated until it expires (which is a common practice for most of image previews / assets in Nextcloud):

Cache-Control: private, max-age=86400, immutable

If you disable cache, it should be promptly updated after force reload.

We'll take a look how it is invalidated in web and see, if that would be possible to implement in the Desktop client.

@ShGKme
Copy link
Contributor

ShGKme commented Dec 14, 2024

It is also Talk Desktop issue.

It only loads avatar once on open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants