client icon indicating copy to clipboard operation
client copied to clipboard

changing existing space image is not reflected in the gui of the desktop app (ocis)

Open modSpike opened this issue 10 months ago • 1 comments

Pre-submission Checks

  • [x] I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • [x] I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Describe the bug

after changing the icon or image of a space via the web interface, I always expect the new image to show on the space in the desktop app

if the space does not have an image associated with it, when I add one it does show up in the app after a short time if I change that image again the app does not show the new image on the space until the app has been restarted.

Expected behavior

see description

Steps to reproduce the issue

This is as expected:

  • web interface -> create a new space
  • app -> add space, select new space
  • web interface -> set the image icon
  • app -> the new image appears on the space after one minute max

not expected:

  • web interface-> change the existing image on the same space again (using either set icon or edit image operations)
  • app interface -> the image should be updated, but it is not
  • restarting the app finally shows the correct (last set) image

Screenshots

No response

Logs

No response

Client version number

owncloud client built from master at commit bf8ea4f

Desktop environment (Linux only)

No response

Client package version and origin (Linux only)

No response

Installation path (Windows only)

No response

Server information

Infinite Scale 7.0.1 Community ownCloud Web UI 11.0.7

Additional context

debugging shows that on all legit image updates the resource job is executed correctly and does fetch the new image from the server, and the image appears to have been downloaded to the cache, however the "stale" image remains on the space in the app gui.

I think the problem may be that the qt resource is not updated correctly after the second image change but this needs further investigation

modSpike avatar Feb 12 '25 17:02 modSpike

possibly related: the Folder listens for spaceChanged and emits a spaceChanged signal of its own. The commit that is associated with allegedly "refreshes the space image in qml". check whether the imageChanged gets turned into a spaceChanged somewhere.

modSpike avatar Feb 13 '25 13:02 modSpike

_ v0.2.0-alpha or v5.9-beta.3.

Dem0n52431 avatar Feb 14 '25 02:02 Dem0n52431