[bt-devel] [ bibletime-Bugs-1818522 ] Opening a dictionary (Chinese-English) takes forever

SourceForge.net noreply at sourceforge.net
Thu Oct 25 13:03:17 MST 2007


Bugs item #1818522, was opened at 2007-10-23 14:39
Message generated for change (Settings changed) made by mgruner
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100954&aid=1818522&group_id=954

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 8
Private: No
Submitted By: Eeli Kaikkonen (eelik)
>Assigned to: Martin Gruner (mgruner)
Summary: Opening a dictionary (Chinese-English) takes forever

Initial Comment:
I try to open the Chinese-English dictionary but the cursor just goes to "wait" state and the UI freezes. I think I have waited a couple of minutes already.

1.6.4, Kubuntu Gutsy.

----------------------------------------------------------------------

>Comment By: Martin Gruner (mgruner)
Date: 2007-10-25 22:03

Message:
Logged In: YES 
user_id=169722
Originator: NO

Fixed in CVS. The version number is ignored now.
I do also have problems with loading ZhHanzi, which seems to work for
Jeremy anyways.... I get a similar endless loop...

----------------------------------------------------------------------

Comment By: Eeli Kaikkonen (eelik)
Date: 2007-10-24 17:14

Message:
Logged In: YES 
user_id=1031029
Originator: YES

Testing this module with GnomeSword reveals that it creates a loop when
acquiring the keys. Nothing we can do about it, I think, because we have
our own way of handling the keys. GnomeSword is still usable but only by
editing the key directly, not by using the list (which is created nine
items at a time if I can interpret the UI right).

The module is version 1.0 now, therefore it slipped through the test.

----------------------------------------------------------------------

Comment By: Eeli Kaikkonen (eelik)
Date: 2007-10-24 16:53

Message:
Logged In: YES 
user_id=1031029
Originator: YES

Oh my, what is this in CSwordLexiconModuleInfo::entries()?

if ( name() == QString("ZhEnglish") && QString( config(
CSwordModuleInfo::ModuleVersion ) ) == QString("0.5") ) {
			qWarning("Module ZhEnglish (Version 0.5) is buggy and will not be
loaded. Please install a newer version.");
			return m_entryList;
		}

----------------------------------------------------------------------

Comment By: Eeli Kaikkonen (eelik)
Date: 2007-10-24 10:20

Message:
Logged In: YES 
user_id=1031029
Originator: YES

I tested this with the svn code. I left it alone running for several hours
and it seems to have been aten all the memory. There may be more than just
slowness here.

----------------------------------------------------------------------

Comment By: Eeli Kaikkonen (eelik)
Date: 2007-10-23 15:21

Message:
Logged In: YES 
user_id=1031029
Originator: YES

GnomeSword opens it almost immediately but it has a different approach to
keys. We should rethink the whole process of preparing a module for
display. Blindly adding all keys to the combo box is a bad solution. With
large modules it can take tens of seconds or even minutes and the long list
is hard to use.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100954&aid=1818522&group_id=954



More information about the bt-devel mailing list