Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 12513
Joined: 30 Sep 2006, 03:37

Re: Files app 0.2.0 :apple:

24 Dec 2020, 07:45

920world wrote:There are X3 and X2, and there are files. Is files x2?
Files is entirely separate from X2 and X3. Files [files.photo.gallery] is a new simple single-file gallery/file viewer, while X3 [www.photo.gallery] is a more complicated photo gallery website / CMS. X2 is the OLD version of X3, which expired many years ago. The only similarities, is that they are all created by me and share some technologies.
920world wrote:And does this program have background control? If so, can I watch backstage?
There is no "backend" to Files, but it will have a built-in file manager in a future release. It already includes a text/code-editor.
 
User avatar
lulu
Experienced
Posts: 33
Joined: 04 Dec 2010, 13:12

Re: Files app 0.2.0 :apple:

30 Dec 2020, 06:00

"We have now included the option to purchase a license [$39.00] directly from the Files app interface. "

Hello Karl, i have many licences for X3, is it include license for Files ?

Have a great end of  2020...

Best wishes...
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 12513
Joined: 30 Sep 2006, 03:37

Re: Files app 0.2.0 :apple:

31 Dec 2020, 01:36

lulu wrote:Hello Karl, i have many licences for X3, is it include license for Files ?
Sorry, but the Files app is separate from X3!
 
User avatar
sHagen
Posts: 19
Joined: 13 Aug 2016, 19:02

Re: Files app 0.2.0 :apple:

01 Jan 2021, 07:55

Hi,

thanks a ton for the files app. I'm using it in my intranet to make my file server more enjoyable to browse.
I noticed that the search on the top left does this "search as you type" thing. In a folder with many files, this can be pretty slow.

I have a folder with 6000 files. If I search for "alex", it goes like this:

"a"<4 seconds, 4k hits>
"al"<1 second, 700 hits>
"ale"<almost instant, 40 hits>

When deleting the search term via backspace it takes those combined 5+ seconds again. On less powerful CPUs it takes a lot longer.

Would it be possbible to allow us to deactivate this and search on hitting return?
Or to introduce a delay so the search is triggered after 1 second without keypress?
Or start searching on the third character?

Best Regards,
Stefan
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 12513
Joined: 30 Sep 2006, 03:37

Re: Files app 0.2.0 :apple:

02 Jan 2021, 00:44

sHagen wrote:In a folder with many files, this can be pretty slow.

I have a folder with 6000 files. If I search for "alex", it goes like this:

"a"<4 seconds, 4k hits>
"al"<1 second, 700 hits>
"ale"<almost instant, 40 hits>
Indeed that could be slow. As you may understand, the reason it get progressively faster is because there are less items to search and less items to re-order (on screen) once the search narrows down.
sHagen wrote:When deleting the search term via backspace it takes those combined 5+ seconds again. On less powerful CPUs it takes a lot longer.
Yes that would be expected behavior in reverse.
sHagen wrote:Would it be possbible to allow us to deactivate this and search on hitting return?
Or to introduce a delay so the search is triggered after 1 second without keypress?
Or start searching on the third character?
Some good ideas here ... Exactly what I had in mind in fact. It's not unusual to start searching from minimum three characters (little chance anyone is searching files with a single character) and that should perhaps be a new default. I think also we could have options for search on keypress-timeout and search on return keypress (+ search button). It could also be an idea implement behavior based on the amount of files in the folder ... For example, if there are less than 100 files, it really doesn't hurt to have instant search.

FYI: I think the reason for long delays isn't the search itself, but re-sorting thousands of DOM elements in the browser on keypress.

I'll look into this for next release, which will get started in a few weeks. Thanks for posting!