Community icon indicating copy to clipboard operation
Community copied to clipboard

Desktop app UI Freeze

Open ligi opened this issue 6 years ago • 7 comments

System information

AKASHA version: 0.7.2

Operating System: Ubuntu 18.04 LTS

Expected behaviour

should not freeze

Actual behaviour

ui freezes

Steps to reproduce the problem

had it multiple times with 0.7.0 and 0.7.2 - cannot remember it happening with 0.6.X - I cannot press any UI element anymore Unfortunately I did not yet found a way to really reproduce it - just happens sometimes - but I often get it when I want to read a comment for a post. In the web-ui it does not freeze - but also does not show me the comment:

selection_043

From an Android-Developer perspective the behavior looks like something blocks the UI thread in some cases (perhaps the attempt to load the comment?) Please let me know when I can help to debug this further or how to provide you the information you need to fix this.

FWIW here the link to the comment I want to read - did not yet find a way to read it: https://beta.akasha.world/#/0x925770eee9e66e7f628fbf9244f2888fb0a5d36f/0x0818df7f3c8aacc7594533a226145fe685fc4482adac1c640def858135a41670

ligi avatar May 04 '18 13:05 ligi

Just had this freeze again - and made a video - perhaps this helps you get more insight into the problem - warning bad audio - I tried to increase the input volume so you hear the clicks - but then people where speaking in the room: https://www.youtube.com/watch?v=W2lArIlzdcg Also interesting here: not all UI elements are frozen - just the main ones - but menu-entries on the top work - perhaps this gives a hint on where the problem is

ligi avatar May 04 '18 15:05 ligi

From the video it looks like the renderer's main thread is blocked when comments are loading.

kenshyx avatar May 11 '18 09:05 kenshyx

Hello! I think this issue is now solved. Feel free to re-open if it happens again.

Thanks! SeverS

SeverS avatar Jul 30 '18 15:07 SeverS

there was no release since 0.7.2 - wonder how it was solved then ;-)

ligi avatar Jul 30 '18 15:07 ligi

Awww, you got me 😄 !

It was fixed but not released yet (referring to desktop app). You can test it on the web version! 😅

Thanks @ligi !

SeverS avatar Jul 30 '18 17:07 SeverS

you are very welcome - when is the release of next version of the desktop app planned?

ligi avatar Jul 30 '18 17:07 ligi

The emoji library is the cause of freeze, it happens on web also.

kenshyx avatar Jul 31 '18 09:07 kenshyx