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

share dialog avatar flickers on permission change #2368

Closed
schiessle opened this issue Nov 28, 2016 · 11 comments
Closed

share dialog avatar flickers on permission change #2368

schiessle opened this issue Nov 28, 2016 · 11 comments

Comments

@schiessle
Copy link
Member

If you share a file or folder and change permissions the avatar of all shares in the list get reloaded, causing flickering

@blizzz as discussed here #2336

@nickvergessen
Copy link
Member

Well the models are all re-rendered. The same issue happen with the rooms in spreed and IIRC this is not fixable

@schiessle
Copy link
Member Author

didn't we fixed this for the spreed.me app during the hack-week?

@nickvergessen
Copy link
Member

No, we stop reloading for no reason, but on change there is still the reload.

@MorrisJobke
Copy link
Member

Maybe @ChristophWurst has an idea for this issue ;)

@ChristophWurst
Copy link
Member

I assume we simply trigger a full view re-render whenever the share model changes and therefore the avatars are loaded twice. So we have to possible solutions: 1. selectively re-render only the parts of the view that really changed. 2. somehow cache the avatars to prevent that flickering.

@rullzer
Copy link
Member

rullzer commented Nov 28, 2016

yes we rerender. We also do cache the avatars. That is why the flickering is so fast ;) Has always been there but before we did not cache so loading took more time.

@blizzz
Copy link
Member

blizzz commented Nov 29, 2016

We can attempt to only re-render the permissions, i.e. the popup. I am having a look.

@blizzz blizzz self-assigned this Nov 29, 2016
@blizzz
Copy link
Member

blizzz commented Nov 29, 2016

See #2398 for a proof of concept

@blizzz
Copy link
Member

blizzz commented Dec 6, 2016

What do you think, is this something for 12 or still 11? Basically done in #2398.

@MorrisJobke
Copy link
Member

12

@MorrisJobke MorrisJobke added this to the Nextcloud 12.0 milestone Dec 6, 2016
@schiessle
Copy link
Member Author

fix was merged

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

No branches or pull requests

6 participants