Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Truth has always been found to promote the best interests of mankind... -- Percy Bysshe Shelley


devel / comp.os.ms-windows.programmer.win32 / SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?

SubjectAuthor
* SysListview32 slow population means search-by-keyboard doesn't work anymore. HoR.Wieser
`* SysListview32 slow population means search-by-keyboard doesn't work anymore. HoJJ
 `* SysListview32 slow population means search-by-keyboard doesn't work anymore. HoR.Wieser
  `* SysListview32 slow population means search-by-keyboard doesn't work anymore. HoJJ
   `* SysListview32 slow population means search-by-keyboard doesn't work anymore. HoR.Wieser
    `* SysListview32 slow population means search-by-keyboard doesn't work anymore. HoJJ
     `* SysListview32 slow population means search-by-keyboard doesn't work anymore. HoR.Wieser
      `* SysListview32 slow population means search-by-keyboard doesn't work anymore. HoJJ
       `- SysListview32 slow population means search-by-keyboard doesn't work anymore. HoR.Wieser

1
SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?

<tl82f3$g5g$1@gioia.aioe.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1145&group=comp.os.ms-windows.programmer.win32#1145

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?
Date: Fri, 18 Nov 2022 14:48:09 +0100
Organization: Aioe.org NNTP Server
Lines: 21
Message-ID: <tl82f3$g5g$1@gioia.aioe.org>
Injection-Info: gioia.aioe.org; logging-data="16560"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
X-Notice: Filtered by postfilter v. 0.9.2
X-RFC2646: Format=Flowed; Original
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
 by: R.Wieser - Fri, 18 Nov 2022 13:48 UTC

Hello all,

I've got a listview in ownerdata mode, in which the generation of that
ownerdata (thumbnails) is rather slow. As a result the listviews own
searching for a (thumbnails) name doesn't work anymore, as the end-of-word
delay times out before the (re)population is finished.

That means that when I try to search for "abc" the slow repopulation kicks
in after I've pressed the "b" key, doesn't recognise more characters being
typed because of the slow population, sees a long delay between "b" and "c"
being recognised which exeedes its "word restart timeout", and than happily
restarts the search starting with "c".

My question: How do I change, for that one listview, the "word restart
timeout" value. Although I've tried several keywords and combinations
thereof I've not been able to find anything. :-(

Regards,
Rudy Wieser

Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?

<ztclq64g12gu.g3otz76riamy$.dlg@40tude.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1146&group=comp.os.ms-windows.programmer.win32#1146

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jj4public@outlook.com (JJ)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?
Date: Sat, 19 Nov 2022 02:42:14 +0700
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <ztclq64g12gu.g3otz76riamy$.dlg@40tude.net>
References: <tl82f3$g5g$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="8b92f8cb1858938958a22a7aea2421b0";
logging-data="3164535"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181k28UeY2gZhXXCiB8uyDwJczB6ri/TJA="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:ff5y5h/dR8zBZRaUxxbB+YR2Ubc=
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
 by: JJ - Fri, 18 Nov 2022 19:42 UTC

On Fri, 18 Nov 2022 14:48:09 +0100, R.Wieser wrote:
> Hello all,
>
> I've got a listview in ownerdata mode, in which the generation of that
> ownerdata (thumbnails) is rather slow. As a result the listviews own
> searching for a (thumbnails) name doesn't work anymore, as the end-of-word
> delay times out before the (re)population is finished.
>
> That means that when I try to search for "abc" the slow repopulation kicks
> in after I've pressed the "b" key, doesn't recognise more characters being
> typed because of the slow population, sees a long delay between "b" and "c"
> being recognised which exeedes its "word restart timeout", and than happily
> restarts the search starting with "c".
>
> My question: How do I change, for that one listview, the "word restart
> timeout" value. Although I've tried several keywords and combinations
> thereof I've not been able to find anything. :-(
>
> Regards,
> Rudy Wieser

The LVN_GETDISPINFO notification needs to be handled to provide the item
text. There are also other notifications which should be handled for virtual
ListView.

Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?

<tl9uc6$7re$1@gioia.aioe.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1147&group=comp.os.ms-windows.programmer.win32#1147

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?
Date: Sat, 19 Nov 2022 07:50:41 +0100
Organization: Aioe.org NNTP Server
Lines: 21
Message-ID: <tl9uc6$7re$1@gioia.aioe.org>
References: <tl82f3$g5g$1@gioia.aioe.org> <ztclq64g12gu.g3otz76riamy$.dlg@40tude.net>
Injection-Info: gioia.aioe.org; logging-data="8046"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Priority: 3
X-RFC2646: Format=Flowed; Original
 by: R.Wieser - Sat, 19 Nov 2022 06:50 UTC

JJ,

> The LVN_GETDISPINFO notification needs to be handled to provide the
> item text.

I see I did not make myself completely clear.

The problem occurs *after* the listview has been initially populated (that
part works) and I try to type the name of one of the thumbnails to
find-and-select it.

> There are also other notifications which should be handled
> for virtual ListView.

If you could point out which one/ones has/have something to do with the
search-by-keyboard problem I would appreciate it.

Regards,
Rudy Wieser

Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?

<1gadmiprtsxcu.1drga0oolrmxe$.dlg@40tude.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1152&group=comp.os.ms-windows.programmer.win32#1152

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jj4public@outlook.com (JJ)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?
Date: Sat, 19 Nov 2022 16:16:16 +0700
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <1gadmiprtsxcu.1drga0oolrmxe$.dlg@40tude.net>
References: <tl82f3$g5g$1@gioia.aioe.org> <ztclq64g12gu.g3otz76riamy$.dlg@40tude.net> <tl9uc6$7re$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="926565384ccc714839c51564c9375f58";
logging-data="3370603"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NjMqUAeTPEBFzSjVmSKPq0PIgjC0gLIM="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:wtZ7nbNp1KUJ58IZ7zSEKzKzKws=
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
 by: JJ - Sat, 19 Nov 2022 09:16 UTC

On Sat, 19 Nov 2022 07:50:41 +0100, R.Wieser wrote:
>
> If you could point out which one/ones has/have something to do with the
> search-by-keyboard problem I would appreciate it.

All of the requirements for the virtual list functionalities needs to be
fullfilled first. Otherwise the list view won't know what text an item has,
in order to be looked up on using keyboard.

https://learn.microsoft.com/en-us/windows/win32/controls/use-virtual-list-view-controls

Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?

<tla8jv$1o1i$1@gioia.aioe.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1156&group=comp.os.ms-windows.programmer.win32#1156

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?
Date: Sat, 19 Nov 2022 10:45:13 +0100
Organization: Aioe.org NNTP Server
Lines: 20
Message-ID: <tla8jv$1o1i$1@gioia.aioe.org>
References: <tl82f3$g5g$1@gioia.aioe.org> <ztclq64g12gu.g3otz76riamy$.dlg@40tude.net> <tl9uc6$7re$1@gioia.aioe.org> <1gadmiprtsxcu.1drga0oolrmxe$.dlg@40tude.net>
Injection-Info: gioia.aioe.org; logging-data="57394"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-RFC2646: Format=Flowed; Original
X-Notice: Filtered by postfilter v. 0.9.2
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MSMail-Priority: Normal
X-Priority: 3
 by: R.Wieser - Sat, 19 Nov 2022 09:45 UTC

JJ,

> All of the requirements for the virtual list functionalities needs
> to be fullfilled first. Otherwise the list view won't know what text
> an item has, in order to be looked up on using keyboard.

You're concentrating on the wrong things I'm afraid.

As I wrote, the problem is not the searching itself, but that it decides
that, due to a timeout, I'm starting a new search when I'm not.

Or, to put it differently : I *can* do a search when I use a small dialog
showing just a few thumbnails (read: the repopulation is finished quickly),
but I *can't* when I go fullscreen, showing 28 of them (read: the
repopulation takes a while).

Regards,
Rudy Wieser

Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?

<ybbye8rj2itj.1tr0v7cd1z3w2.dlg@40tude.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1157&group=comp.os.ms-windows.programmer.win32#1157

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jj4public@outlook.com (JJ)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?
Date: Sat, 19 Nov 2022 18:07:19 +0700
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <ybbye8rj2itj.1tr0v7cd1z3w2.dlg@40tude.net>
References: <tl82f3$g5g$1@gioia.aioe.org> <ztclq64g12gu.g3otz76riamy$.dlg@40tude.net> <tl9uc6$7re$1@gioia.aioe.org> <1gadmiprtsxcu.1drga0oolrmxe$.dlg@40tude.net> <tla8jv$1o1i$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="926565384ccc714839c51564c9375f58";
logging-data="3384312"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HEhq1BEgBEgBCJDg6tDm0yVFXyOAvgOQ="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:gcRzWqvktTdiyPbFedtg6X2NsbE=
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
 by: JJ - Sat, 19 Nov 2022 11:07 UTC

On Sat, 19 Nov 2022 10:45:13 +0100, R.Wieser wrote:
>
> You're concentrating on the wrong things I'm afraid.
>
> As I wrote, the problem is not the searching itself, but that it decides
> that, due to a timeout, I'm starting a new search when I'm not.
>
> Or, to put it differently : I *can* do a search when I use a small dialog
> showing just a few thumbnails (read: the repopulation is finished quickly),
> but I *can't* when I go fullscreen, showing 28 of them (read: the
> repopulation takes a while).
>
> Regards,
> Rudy Wieser

The rendered images should be cached and be stored as part of the items'
data for quick retrieval.

If you want a more responsive UI, render the item's image in a background
thread instead of the window handler's thread. When done, notify the window
handler's thread to update the list item's display.

When the item dimension is changed, e.g. if the list view is for displaying
image thumbnails and the thumbnail size is changed, rerender the item
images.

Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?

<tlaqus$1a8o$1@gioia.aioe.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1159&group=comp.os.ms-windows.programmer.win32#1159

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?
Date: Sat, 19 Nov 2022 15:58:30 +0100
Organization: Aioe.org NNTP Server
Lines: 41
Message-ID: <tlaqus$1a8o$1@gioia.aioe.org>
References: <tl82f3$g5g$1@gioia.aioe.org> <ztclq64g12gu.g3otz76riamy$.dlg@40tude.net> <tl9uc6$7re$1@gioia.aioe.org> <1gadmiprtsxcu.1drga0oolrmxe$.dlg@40tude.net> <tla8jv$1o1i$1@gioia.aioe.org> <ybbye8rj2itj.1tr0v7cd1z3w2.dlg@40tude.net>
Injection-Info: gioia.aioe.org; logging-data="43288"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-MSMail-Priority: Normal
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-Priority: 3
 by: R.Wieser - Sat, 19 Nov 2022 14:58 UTC

JJ,

> The rendered images should be cached and be stored as part of the
> items' data for quick retrieval.

Whould you mind it very much to first try to help me find an answer to my
question to how to influence the keyboard timeout for the listviews search
function ?

You see, that one would probably solve al my problems in a way that has
likely the least ammount of side effects (as always, I do not mind to be
shown to be incorrect here).

What I mean ? Your "caching" solution just moves the delay to the start of
the program, causing a "go brew some coffee and drink it" delay there. If
you mean I should pre-generate them than you introduce a "how do I keep them
in sync" problem.

Both solutions either need a lot of memory (caching using an imagelist) or
quite a file (caching them in a "database" of sorts).

If yoiu are thinking of storing the thumbnails back into the image files
they came from than that has its own problem : not all image formats allow
it.

My own idea for I can't get a hold on that keyboard timeout I will probably
just generate-and-load the first matching thumbnail, and only (lazy) load
the other thumbnails after a keystoke timeout (which I wil try to set a bit
longer than the "end of search word" timeout - watever it is).

IOW, I've been thinking about how to solve the problem myself before even
considering posting here. And for some odd reason I would like to try to go
thru them starting with the simpelest, easiest and least side-effects one
first - and than, if needed, work my way up. :-)

Regards,
Rudy Wieser

Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?

<gnwsjrmpzt2i.1nf4a4491y6ge.dlg@40tude.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1160&group=comp.os.ms-windows.programmer.win32#1160

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jj4public@outlook.com (JJ)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?
Date: Sun, 20 Nov 2022 00:24:11 +0700
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <gnwsjrmpzt2i.1nf4a4491y6ge.dlg@40tude.net>
References: <tl82f3$g5g$1@gioia.aioe.org> <ztclq64g12gu.g3otz76riamy$.dlg@40tude.net> <tl9uc6$7re$1@gioia.aioe.org> <1gadmiprtsxcu.1drga0oolrmxe$.dlg@40tude.net> <tla8jv$1o1i$1@gioia.aioe.org> <ybbye8rj2itj.1tr0v7cd1z3w2.dlg@40tude.net> <tlaqus$1a8o$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="926565384ccc714839c51564c9375f58";
logging-data="3441069"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tL+1a/gyGVa8IS9wWB5BTDv3sMVKVLbA="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:AHdq7qj4n4sOa9asm7/H8LJEvoU=
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
 by: JJ - Sat, 19 Nov 2022 17:24 UTC

On Sat, 19 Nov 2022 15:58:30 +0100, R.Wieser wrote:
>
> Whould you mind it very much to first try to help me find an answer to my
> question to how to influence the keyboard timeout for the listviews search
> function ?

The timeout is defined and handled by the ListView's built in handler, which
is not exposed as API. What you want is thinkering with (undocumented)
software internals which may vary between software versions.

> What I mean ? Your "caching" solution just moves the delay to the start of
> the program, causing a "go brew some coffee and drink it" delay there.

I did mentioned to generate the rendered image in a background thread. Only
the images. Not including the item's text. The image generation would not
block or interfere the window handler's thread, since it's run in other
thread. Even if it's run on a single core CPU, the background thread can be
set to use a lower priority.

> Both solutions either need a lot of memory (caching using an imagelist) or
> quite a file (caching them in a "database" of sorts).

Is the displayed image for each ListView item really THAT big? Like... half
of a screen?

> If yoiu are thinking of storing the thumbnails back into the image files
> they came from than that has its own problem : not all image formats allow
> it.

I never suggested that, considering that file system storage is slower than
RAM. Performance, and memory usage usually don't agree with each other.

Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?

<tlbalo$nav$1@gioia.aioe.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1161&group=comp.os.ms-windows.programmer.win32#1161

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: SysListview32 slow population means search-by-keyboard doesn't work anymore. How to solve ?
Date: Sat, 19 Nov 2022 20:26:45 +0100
Organization: Aioe.org NNTP Server
Lines: 47
Message-ID: <tlbalo$nav$1@gioia.aioe.org>
References: <tl82f3$g5g$1@gioia.aioe.org> <ztclq64g12gu.g3otz76riamy$.dlg@40tude.net> <tl9uc6$7re$1@gioia.aioe.org> <1gadmiprtsxcu.1drga0oolrmxe$.dlg@40tude.net> <tla8jv$1o1i$1@gioia.aioe.org> <ybbye8rj2itj.1tr0v7cd1z3w2.dlg@40tude.net> <tlaqus$1a8o$1@gioia.aioe.org> <gnwsjrmpzt2i.1nf4a4491y6ge.dlg@40tude.net>
Injection-Info: gioia.aioe.org; logging-data="23903"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Priority: 3
X-MSMail-Priority: Normal
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Original
 by: R.Wieser - Sat, 19 Nov 2022 19:26 UTC

JJ,

> The timeout ... is not exposed as API.

That is what I needed to hear. I would have /liked/ to hear that I
overlooked something and how to do it, but the above is second best.

It means that I can stop thinking about & search for it, and focus on other
possible (but more complex) methods.

> I did mentioned to generate the rendered image in a background thread.

I just took a peek at your past messages (I could have missed it as I was
focussed on getting the timeout question answered), but I do not see it.

But yes, thats something I did not even think about. I'm not at all sure
about how I would/should manage aborts of such retrievals though (when the
listviews contents change while its still filling images in).

>> Both solutions either need a lot of memory (caching using an imagelist)
>> or
>> quite a file (caching them in a "database" of sorts).
>
> Is the displayed image for each ListView item really THAT big? Like...
> half of a screen?

No, they are small(ish) (placed 7 wide, 4 high when at fullscreen). But as
they are many it ofcourse adds up.

>> If yoiu are thinking of storing the thumbnails back into the image files
>> they came from than that has its own problem : not all image formats
>> allow
>> it.
>
> I never suggested that,

No, you didn't. I provided it as something that went thru my mind as one of
the possibilities to store thumbnails (in a way which needs the least
ammount of bookkeeping).

Thanks for telling me that I can't do anything with the timeout (I really
needed that).

Regards,
Rudy Wieser

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor