dbremner / szotar

Automatically exported from code.google.com/p/szotar
0 stars 0 forks source link

Dictionary entries with LOTS of translations can suck up lots of CPU time generating info tips. #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is usually an import error of some kind, I'd guess. It's very annoying
when it does happen, and also confusing, since the tooltip fills the entire
screen if the application is maximized.

What steps will reproduce the problem?
1. Import freedict turkish dictionary from zbedic's site.
2. Switch to Turkish-English search.
3. Hover mouse over the first entry (Turkish side is blank, English side
contains thousands of 'translations'.

What is the expected output? What do you see instead?

Expected would be a less extreme response. Perhaps the number of entries in
the info tip should be limited (actually, it should be limited before that
- before Search() is called).

It would be nice to have a message explaining the truncation, too, e.g.
"(245 more translations of '<word>'...)" or something along those lines.

The tooltip's width is already limited by the GridView's width.

Original issue reported on code.google.com by lee.anth...@gmail.com on 18 Sep 2008 at 1:41

GoogleCodeExporter commented 8 years ago
This shouldn't happen any more, due to the infotip text size being restricted 
to 3000
characters.

It's only a stopgap measure, though.

Original comment by lee.anth...@gmail.com on 21 Sep 2008 at 6:31