Bug 346248

Summary: software is slow when i maximize windows
Product: [Applications] ktouch Reporter: sobhan konari <sobhanpe2012>
Component: generalAssignee: Sebastian Gottfried <sebastian.gottfried>
Status: RESOLVED DUPLICATE    
Severity: normal CC: atelszewski, bugs.kde.org, cpigat242, deletesoftware, gutsy-wooer-dual, moritz.nisble
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Quickfix for performance problem

Description sobhan konari 2015-04-16 06:17:34 UTC
hi , when i use ktouch in fullscreen mode, word show slow , and i see delay in typing , sorry i don't understad english
please fix it

Reproducible: Always
Comment 1 Moritz Nisblé 2015-06-15 13:38:25 UTC
Created attachment 93186 [details]
Quickfix for performance problem
Comment 2 Moritz Nisblé 2015-06-15 13:38:40 UTC
Hi, I can confirm this.
The program is quite inefficient in placing the characters on the screen.
I profiled the program, found and fixed the most CPU-intensive situation.
Patch attached ...

Regards
Moritz
Comment 3 Andrzej Telszewski 2015-08-11 19:04:30 UTC
Hi,

I also confirm that. But in my case it doesn't matter if the window is maximized or not.
And can also confirm that Moritz's patch solves the problem.

--
Best regards,
Andrzej Telszewski
Comment 4 Alexander Kauer 2016-03-22 23:15:53 UTC
The patch by Moritz Nisblé improves the performance a lot, without it ktouch is completely unusable for me. Still, even with the patch applied the UI still lags quite a bit behind when typing fast.
Comment 5 poelzi 2016-08-29 23:15:14 UTC
I tested the patch.
Without it, ktouch IS NOT USEABLE.

Version: 4:15.12.3-0ubuntu1

Sorry, but a type-trainer should be able to run on a Core 2 Duo. If a beginner can type faster then the program updates the display, you are seriously broken. Please apply the patch or fix the underlying problem.
Comment 6 Sebastian Gottfried 2016-11-09 12:33:46 UTC

*** This bug has been marked as a duplicate of bug 350336 ***