Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: bmarkus on October 24, 2009, 06:47:35 AM

Title: Appbrowser search list 'ghost' items
Post by: bmarkus on October 24, 2009, 06:47:35 AM
Appbrowser search lists old items which are not in the current repository, for example

conky.tczl
coreutils.tcz
Xfce4.tcz
etc.

They appear only on a serach result list, not on the normal extension list after connecting.

Title: Re: Appbrowser search list 'ghost' items
Post by: Jason W on October 24, 2009, 10:17:21 AM
I deleted  Xfce4.tcz, but I didn't see coreutils.tcz or conky.tczl in the search results.
Title: Re: Appbrowser search list 'ghost' items
Post by: roberts on October 24, 2009, 10:18:05 AM
Fixed! Thanks.
Title: Re: Appbrowser search list 'ghost' items
Post by: makkywelly on October 26, 2009, 04:17:25 PM
Once more aboute appbrouser - when i-net is not fast wget-window stay some time, but it's modal window and main window handler not work. This screen:

Title: Re: Appbrowser search list 'ghost' items
Post by: roberts on October 26, 2009, 04:42:05 PM
Looks like you have started several instances of it?
Perhaps use a mirror site closer to you?
Title: Re: Appbrowser search list 'ghost' items
Post by: makkywelly on October 26, 2009, 05:02:09 PM
No, my speed wery low it's true (around 50 kb/s). I'm about other.

I mean why it wget-window BLOCK main window (in win32 it call modal-window, in web pop-up, etc.), maybe t. need alone thread - one thread (and window) for one dowload. Multidownload version?
Title: Re: Appbrowser search list 'ghost' items
Post by: makkywelly on October 26, 2009, 05:40:50 PM
I don't know, but what if

Quote from: appbrowser.cxx
#include "appbrowser.h"
// (c) Robert Shingledecker 2008, 2009
//...
void btn_callback(Fl_Widget *, void* userdata) {
//...
} else if (userdata == "install" or userdata == "mount") {
   string loadit = "tce-load -w -i ";
   if (repository == "tcz" and userdata == "install")
      loadit = loadit + "-r ";
   loadit = loadit + select_extn + " & ";
//...
} else if (userdata == "download") {
   string grabit = "tce-load -w " + select_extn + " & ";
//...
Title: Re: Appbrowser search list 'ghost' items
Post by: curaga on October 30, 2009, 06:53:17 AM
The above solution would remove the error reporting.

Since tce-load already knows about X via flwget, how about moving error reporting to it?
That would shorten appbrowser code, keep the main window interactive, and enable several simultanious downloads.