Page 1 of 2

Mousepad performance

Posted: 20 Apr 2019, 12:16
by fulalas
Can anyone confirm that Xfce Mousepad Editor performance is terrible when pasting the content of the link below (just an example of a big formated text) and saving it as a HTML? Even the colors get broken... :shock:

Code: Select all

view-source:https://g1.globo.com/sp/vale-do-paraiba-regiao/noticia/2019/04/18/professor-e-demitido-apos-critica-a-bolsonaro-durante-aula-em-escola-de-sao-jose-sp.ghtml
Leafpad doesn't suffer of performance issues. However it doesn't provide language formating. Is there a good GTK alternative?

Mousepad performance

Posted: 20 Apr 2019, 13:00
by francois
Please provide more instructions. I would hapily test the thing but there is no such color settings in my mousepad environment.

Mousepad performance

Posted: 21 Apr 2019, 07:22
by fulalas
francois wrote:
20 Apr 2019, 13:00
Please provide more instructions. I would hapily test the thing but there is no such color settings in my mousepad environment.
Which color settings are you referring to? It's just a matter of copying the source content of the link above and paste it on Mousepad, saving it as a HTML.

Mousepad performance

Posted: 21 Apr 2019, 11:51
by francois
fulalas wrote:
20 Apr 2019, 12:16
... and saving it as a HTML? Even the colors get broken...
What do you mean by suffering of a simple text editor. I copied the text from the link into mousepad. Seems ok. But I agree, leafpad has been performing better on some past installations for me.

I have no substitute to offer. ;)

Mousepad performance

Posted: 23 Apr 2019, 03:56
by ncmprhnsbl
no problem here ... copied,pasted, saved, opened in browser ..

Mousepad performance

Posted: 23 Apr 2019, 04:59
by fulalas
It's not a matter of working. It's a matter of performance. :P The scroll performance is terrible on my machine when using Mousepad and long files.

Mousepad performance

Posted: 23 Apr 2019, 10:36
by ncmprhnsbl
fulalas wrote:
23 Apr 2019, 04:59
It's not a matter of working. It's a matter of performance. :P The scroll performance is terrible on my machine when using Mousepad and long files.
no perceivable performance problems here eg. 18000 line configure script with sh highlighting, scrolls fine ..
sounds like a driver issue..
i wonder how xedit would go for you, also being gtk3, gtksourceview based..

Mousepad performance

Posted: 24 Apr 2019, 19:56
by nanZor
I see the mouse performance hit on that text. Especially once it gets near line 268 or so, which is huge.

Possible solution that worked for me:

Turned off word-wrap.
Turned off line numbering for a smaller performance increase.

Mousepad performance

Posted: 01 Jun 2019, 11:43
by fulalas
ncmprhnsbl wrote:
23 Apr 2019, 10:36
i wonder how xedit would go for you, also being gtk3, gtksourceview based..
You mean gEdit? If so, it's as terrible as Mousepad :(
nanZor wrote:
24 Apr 2019, 19:56
I see the mouse performance hit on that text. Especially once it gets near line 268 or so, which is huge.
Exactly! Even the syntax highlight gives up; it's ridiculous!

Mousepad performance

Posted: 01 Jun 2019, 12:10
by ncmprhnsbl
fulalas wrote:
01 Jun 2019, 11:43
You mean gEdit? If so, it's as terrible as Mousepad
xedit is the editor in cinnamon

Mousepad performance

Posted: 01 Jun 2019, 20:48
by fulalas
ncmprhnsbl wrote:
01 Jun 2019, 12:10
xedit is the editor in cinnamon
Oh, I see. They changed the name to xed. Unfortunately it's a gedit fork, which means it suffers from the same issues.

Here is a HTML to test: http://www.mediafire.com/file/ar27oj715 ... .html/file

Notice that the syntax highlight simply disappear (for mousepad, xed and gedit), and that the scroll performance (dragging the scroll bar) is not good. I noticed that although leafpad opens it pretty past, it suffers from laggy scroll performance -- and it doesn't even have syntax highlight!

I simply can't understand how a machine can handle heavy games (with thousand effects) at 60 FPS, but can't draw a simply text decently :unknown:

Mousepad performance

Posted: 01 Jun 2019, 23:25
by ncmprhnsbl
fulalas wrote:
01 Jun 2019, 20:48
They changed the name to xed.
ha i always make this mistake :oops:
at the moment, i am in an arch based setup on a machine with nvidia graphic(old fx210) using propriety driver and can now see what your talking about(with mousepad and xed)- hightlighing fails... scrolling seems ok
for comparison, i also have geany(which in arch is a gtk3 version) ..no highligthing/performance issues there that i can see.
i suspect the problem is with gtksourceview
and maybe only with certain video drivers, since it seemed to be okay on my laptop with amd(radeon) graphics (not in any way new)

EDIT
xed from terminal at the moment hightlighting fails: (same with mousepad)

Code: Select all

(xed:6105): GtkSourceView-CRITICAL **: 09:39:03.879: Highlighting a single line took too much time, syntax highlighting will be disabled

Mousepad performance

Posted: 02 Jun 2019, 06:02
by ncmprhnsbl
ncmprhnsbl wrote:
01 Jun 2019, 23:25
and maybe only with certain video drivers, since it seemed to be okay on my laptop with amd(radeon) graphics (not in any way new)
ok scrub that.. getting failed highlighting/poor scrolling with pluma(mate also gtksourceview3) on my laptop
disabling word wrapping improves scrolling somewhat..
a slightly smaller/less complex html file seems okay..
looks like gtksourceview3 has a problem with very long lines..

Mousepad performance

Posted: 02 Jun 2019, 07:05
by fulalas
Somehow that's what I was expecting to hear, hahaha!

Imagine the code quality behind these libs/apps :crazy:

Mousepad performance

Posted: 02 Jun 2019, 07:33
by fulalas
I've just tried Clear Linux gtksourceview version with the hope that it would deliver a decent performance, but I couldn't notice any improvement whatsoever :(

Next step: I'll try to create a Xfce module with just Clear Linux packages. Let's see...