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

As Deck auto saves, everything freezes up. #438

Closed
buttle opened this issue Mar 12, 2018 · 12 comments
Closed

As Deck auto saves, everything freezes up. #438

buttle opened this issue Mar 12, 2018 · 12 comments

Comments

@buttle
Copy link

buttle commented Mar 12, 2018

Steps to reproduce

Edit a description of a task

Expected behaviour

We should be able to write in the textarea

Actual behaviour

As Deck auto saves, everything freezes up. All the different participants' icons on all the stacks reload (spinning wheel), and it is impossible to write. If you wait a little, the saving stops, and you can continue. But then the autosaves kicks in again.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@juliusknorr
Copy link
Member

Please report the version this issue occurs.

@buttle
Copy link
Author

buttle commented Mar 19, 2018

Hi,

This started happening after the last upgrade to 0.3.1

@bpcurse
Copy link
Contributor

bpcurse commented Mar 25, 2018

Same here on Nextcloud 13.0.1, Deck 0.3.1 accessed through Firefox 59.0.1 on Manjaro Linux.
Local CPU core utilization (1 of 4) is increased to the max during the auto-save process.
The symptoms are the same as described above by buttle.

@juliusknorr
Copy link
Member

Could you also provide some details about your browser? The best would be to fill out the complete issue template. I cannot reproduce that, even with a really slow connection (with 8s of latency for the save request)

@dschier-wtd
Copy link

Adding the template from my side, because I am affected, too.
Haven't added a ton of logs here, since there was nothing special to see.

Steps to reproduce

  1. Open Deck
  2. Open a Board (mutiple tasks should exist and users should be assigned)
  3. Click one existing Task
  4. Choose some tags
  5. Assign a/multiple users
  6. Add content to the description
  7. wait some seconds until auto-save
  8. add more content or remove content without closing the task
  9. Reloads occure from avatars when auto-save is triggered
  10. lags occure even for smaller changes, due to the small freezes during avatar-reloads/auto saves

Expected behaviour

Adding content should be fluently without interruptions and be saved after editing / adding content.

Actual behaviour

During edits the "Autosave" is occuring multiple times.
Reloads occure from avatars when auto-save is triggered
Lags occure even for smaller changes, due to the small freezes during avatar-reloads/auto saves

Server configuration

Operating system: CentOS 7.4.1708

Web server: Apache 2.4.6-67

Database: 5.5.56-MariaDB

PHP version: php70w-7.0.27

Nextcloud version: 13.0.1.1

Client configuration

Browser: Firefox 59

Operating system: Fedora 27

@joergsch
Copy link

joergsch commented Apr 8, 2018

This issue seems to be gone if the line

StackService.updateCard($scope.status.edit);

from CardController.js (line 81) gets removed.

@dschier-wtd
Copy link

@joergsch I can confirm this.

@cyboerg42
Copy link

cyboerg42 commented Apr 9, 2018

@joergsch this only fixes it, until it saves the first time. after that, it hangs again. (and reloading everything) maybe i'm going trough the code after work. :)

(Nextcloud 12.0.6 & Decks 0.3.1- on Ubuntu 16.04.5)

@bpcurse
Copy link
Contributor

bpcurse commented Jul 12, 2018

Just installed Deck 0.4.0 (on Nextcloud 13.0.4) and it got better.
Not perfect, but at least it is usable again.

@juliusknorr
Copy link
Member

@bpcurse Thanks for reporting back. Yes, there are some parts from #486 that I didn't include into #488 but I'll try to improve further for the next release.

@juliusknorr juliusknorr added this to the 0.5.0 milestone Jul 12, 2018
@juliusknorr juliusknorr mentioned this issue Oct 8, 2018
33 tasks
@juliusknorr
Copy link
Member

This is ongoing effort, therefore removing the milestone.

@juliusknorr juliusknorr removed this from the 0.5.0 milestone Nov 6, 2018
@stale
Copy link

stale bot commented Jan 5, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 5, 2019
@stale stale bot closed this as completed Jan 13, 2019
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