AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[SOLVED]Akelpad 4.xx bug?

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
CheeseCake



Joined: 27 Jun 2007
Posts: 12

PostPosted: Sat Oct 04, 2008 2:36 pm    Post subject: [SOLVED]Akelpad 4.xx bug? Reply with quote

I just find that Akelpad 4.xx opens files much slower than 3.xx, the situation is worse when Word Wrap function is enabled.

When opening a large text file, Akelpad 4.xx will show a loading progress indicator at status bar. The larger file, the longer time and program looks like frozen. When resizing the window (with Wrap enabled), I have to wait for it again which makes it unusable.

Environment: Windows Server 2003 English, system locale Chinese Simplified, default Akelpad settings (after deleting HKCU\Software\Akelsoft).

It is OK when using Akelpad 3.xx.


Last edited by CheeseCake on Thu Oct 30, 2008 8:22 am; edited 1 time in total
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5159

PostPosted: Sat Oct 04, 2008 2:46 pm    Post subject: Reply with quote

Instructor wrote:
cnnnc wrote:
Speed of open file is slower than 3.5.6.
The text file in GB2312, filesize > 3MB.

It is important to make speed tests with caret at the end of file (open file first time, set caret to the end of file, exit and open file again). "Remember caret position" should be turned on.
AkelPad 3.x can "loads" the file faster, but actually it load only some part of text and other part is loaded in background (only when word wrap mode is off). You can make sure in this by setting the caret at the end of a file and reopen it.
Back to top
View user's profile Send private message Send e-mail
CheeseCake



Joined: 27 Jun 2007
Posts: 12

PostPosted: Sat Oct 04, 2008 2:59 pm    Post subject: Reply with quote

Thanks for reply. Just did the test.

With word wrap OFF, the speed in Akelpad 4.xx is acceptable, though 3.xx is still leading.
With word wrap ON, Akelpad 3.xx loaded the file quick. Akelpad 4.xx had to wait for the loading indicator. Same situation when resizing window.

So is there any possibility to "partially" load file in Akelpad 4.xx especially when word wrap is ON just like it did in 3.xx?
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5159

PostPosted: Sat Oct 04, 2008 3:18 pm    Post subject: Reply with quote

I don't know how you test it, but on my system loading the 50Mb with caret at the end of file:

With word wrap OFF:
AkelPad 4.0.6 - 3,922
AkelPad 3.6.1 - 13,641

With word wrap ON:
AkelPad 4.0.6 - 12,672
AkelPad 3.6.1 - 17,484
Back to top
View user's profile Send private message Send e-mail
CheeseCake



Joined: 27 Jun 2007
Posts: 12

PostPosted: Sat Oct 04, 2008 3:54 pm    Post subject: Reply with quote

I did put the caret at the end of file.

What's the codepage of your test file?
When opening a unicode file or file in western language (eg. English), both are OK for me, but when the target file is in GB2312, things are different when wrap is ON.

Mine is a 750KB text file in Simplified Chinese. I uploaded it to http://www.box.net/shared/rjq9n248xs

To reproduce,
System: Windows Server 2003 or XP or Vista
System Locale: Simplified Chinese
Akelpad Setting: Default (Delete HKCU\Software\Akelsoft) with Wrap ON/OFF (Codepage 936)
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5159

PostPosted: Sat Oct 04, 2008 6:20 pm    Post subject: Reply with quote

CheeseCake wrote:
What's the codepage of your test file?
1251 or UTF-16LE result the same.

Quote:
Mine is a 750KB text file in Simplified Chinese.
On "Arial Unicode MS" font it opens as it should - fast. Did you try different fonts?
Back to top
View user's profile Send private message Send e-mail
CheeseCake



Joined: 27 Jun 2007
Posts: 12

PostPosted: Sun Oct 05, 2008 3:18 am    Post subject: Reply with quote

Thanks for the reply. After selecting Arial Unicode MS, problem solved though it is not a default installed font.

Here is a list for your reference.

Quote:
Target file in GB2312, Akelpad 4.xx

Font: Arial Uni MS, Wrap ON Fast, Wrap OFF Fast
Font: Non Unicode, Wrap ON Slow, Wrap Off Fast


Quote:
Target file in GB2312, Akelpad 3.xx

Font: Arial Uni MS, Wrap ON Fast, Wrap OFF Fast
Font: Non Unicode, Wrap ON Fast, Wrap Off Fast


The only problem now is that Akelpad 3.xx can open the test file fast whatever font used, 4.xx cannot.

Regards.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5159

PostPosted: Mon Oct 27, 2008 5:02 pm    Post subject: Reply with quote

See 4.0.8 release.
Back to top
View user's profile Send private message Send e-mail
CheeseCake



Joined: 27 Jun 2007
Posts: 12

PostPosted: Thu Oct 30, 2008 1:37 am    Post subject: Reply with quote

Thanks for your effect, working like a charm now. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group