You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.
In short, current implementation of the Message Display consumes too much memory and requires a lot of cpu time for processing, which freezes GUI for seconds, as number of messages grows. That's definitely something undesired, so we need to change the implementation of it.
It was decided to use Quassel's QGraphicsView-based Message Display implementation which has better performance.
Use of QTextEdit for Message Display was rejected in favor of benefits Quassel's solution has.
Schlumpf said that he will take a look into this after finishing working on new Friend Request widget.
The text was updated successfully, but these errors were encountered:
Currently the text rendering is done by hand. That's mean, Quassel calculetes the line braking and paints these lines by QTextLayout. This approach doesn't allow painting anything else than text, text with formatting is possible, but only text. The text selecting and rendering is done by hand, too.
Now I try to replace the manual text layouting by QTextDocument, which supports images. QTextDocument would do the line braking and layouting formated text and images. It's a bit tricky to paint a QTextDocument without using the QTextEdit widget, that's what I doing currently.
Discussed in #60
In short, current implementation of the Message Display consumes too much memory and requires a lot of cpu time for processing, which freezes GUI for seconds, as number of messages grows. That's definitely something undesired, so we need to change the implementation of it.
It was decided to use Quassel's QGraphicsView-based Message Display implementation which has better performance.
Use of QTextEdit for Message Display was rejected in favor of benefits Quassel's solution has.
Schlumpf said that he will take a look into this after finishing working on new Friend Request widget.
The text was updated successfully, but these errors were encountered: