-
Notifications
You must be signed in to change notification settings - Fork 99
Viewing large content/file within chat unusably slow #140
Comments
I've got the same problem: a colleague added 19KB xml file to a chat, and ScudCloud literally freezes |
This is related to how webkit handles the files. Probably we should make ScudCloud open all non image/video files externally (using What is the URL of the files when you're about to click on it? |
I've just opened 194KB plain text file. Boy, it was painful (;) But does open exetrnally means file will open in other application? I would like to avoid it. |
Another helpless victim reporting in. Here's some profiler output from my repro case. Unfortunately, I'm not wise enough to identify the problem. Perhaps some sage pythonista can tell what's going on though:
|
This will be fixed only in the Slack side or in a maybe can be improved upgrading to Qt5 (to get a newer version of QtWebKit). |
If you find yourself in this situation you can work around the issue by closing scudcloud, deleting your config data in ~/.config/scudcloud, and re-opening scudcloud. The app will re-open the channels with snippets collapsed, thus preventing the issue. |
I've made some efforts to port to Qt5, but this do not solves the problem (after search Google, I saw that even on Qt5, Webkit still will hang on large content). Appears the solution will be port to Qt5 and changed QWebView by QtWebEngine (here is a guide to migrate). |
For now, we could try a workaround for files: we can intercept a click in Files and open it in the user browser. But large snippets, while expanded, will always slow the webkit, mainly while scrolling (it'll get back to normal after collapsed back). |
Would be wonderful if Slack had a re-collapse feature so that you could collapse them all back down. |
4 teams, only 2 actives, 250 lines shell snippet (but it's not a bash script) very very slow, "Reconnecting" banner appears and then disapear, impossible to scroll on the conversation I am on. Web version is very fast on the same channel on chrome.
When I launch the app from command line
Installed app using different ways, but had same problem each time.
But the output I gave in current issue is from the following:
|
Hi @GabLeRoux, thanks for adding more info. Unfortunately this is inherit to the webkit used by ScudCloud (i.e., the one used in Ubuntu 14.04). I'll test to upgrade to a newer webkit or use the new HTML engine available in qt5 to check the performance of the JS while viewing snippets. |
another me too here i'm afraid. Am using ubuntu 16.04 and it was as bad on 15.04 as well. Pretty much any snippet opening causes hangs , i switched to the slack beta for linux and it doesnt' have this problem. |
Adding an option to disable snippets (#140)
I just release a new version with an option to disable snippets (they'll be viewable in browser after click). After upgrade, open your config file located at
|
Hi, not really sure how to report this, but here goes - a colleague added an 8KB Python file to a chat, and whilst the preview shows just fine and doesn't affect the performance of ScudCloud, if I click on the name of the file, or any of the other links which cause the sidebar to open to show the full file, ScudCloud becomes unusably slow - I'm unable to scroll in a timely fashion, and ScudCloud quickly times out its connections to Slack, showing an orange 'reconnecting...' bar at the top. If I click the x to close the sidebar, then after a few moments it will close the sidebar, and performance goes back to normal.
Not sure how to diagnose the cause of the issue at this point, I'm afraid.
The text was updated successfully, but these errors were encountered: