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

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

Open
2 tasks done
modSpike opened this issue Feb 12, 2025 · 1 comment
Open
2 tasks done
Assignees

Comments

@modSpike
Copy link
Contributor

Pre-submission Checks

  • 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.
  • 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 modSpike self-assigned this Feb 12, 2025
@modSpike
Copy link
Contributor Author

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.

@Dem0n52431
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants