GithubHelp home page GithubHelp logo

Comments (5)

caclark avatar caclark commented on June 1, 2024

I don't see the problem, unfortunately.

Is the problem in both Geeqie's icon and list view?
Do you have another File Manager installed to cross-check against?

ls -clt --full-time and stat %y will show time to milli-second. Is the time difference in the milli-sec. level?

Can you set up a /tmp/<tmpx> folder and isolate two files that are incorrectly ordered, and upload them? - (But that will not help if the problem is due to milli-sec difference)

from geeqie.

SimonDedman avatar SimonDedman commented on June 1, 2024

I'll see if I can recreate it, though will need another folder, because my diagnostics yesterday potentially revealed a different bug (which I can file separately if it's real). In Thunar, in the folder with those images, I created a subfolder "tmp", copied & pasted all the images there, sorted by date modified, selected all, hit F2 to access Thunar's mass rename program, and renamed them sequentially. This worked, confirming a workaround to the (possible) Geeqie bug.

However when I then opened the first image in Geeqie, it loads fine, but there are no other files listed in the folder, and I can't mousewheel scroll to the next. Hitting refresh and power cycling made no difference. I deleted the original images and moved the copied & renamed images up to the parent folder & deleted the now-empty tmp subfolder. Same problem with Geeqie.

On a hunch I checked the images' permissions and changed group & others from Read to Read & Write but this made no difference. Be interested whether you can replicate this, and/or have any ideas what might cause it or how it can be fixed? For reference, in the folder view, I can click neighbouring folders and their files all load, and come back to the culprit folder and the one image I clicked on in Thunar to spawn Geeqie will display, but there are no files in the file list.

from geeqie.

SimonDedman avatar SimonDedman commented on June 1, 2024

ls -clt --full-time

image

Looks like blocks of 8 with the same milisecond. This might relate to DownThemAll, a Firefox extension which has a setting for how many images you want to download simultaneously. Conceptually it creates the containers in blocks of 8 and then fills them as they download.
But I'm now unable to see if Geeqie is randomly (or using some system) ordering within the milisecond blocks, whereas Thunar is ordeering within milisecond blocks using a different system...

stat %y

stat: cannot statx '%y': No such file or directory

from geeqie.

caclark avatar caclark commented on June 1, 2024

I have given this very little thought so far, but...

Geeqie is using the standard st_ctime, which is milli-secs.

On entry to a folder, Geeqie forms an internal list of the files. That list is the one operated on for all re-sort actions - the file list is not retrieved again from the disk (unless there are file changes).

Each time the user changes the sort method, that list gets reordered. If two items are identical (in that sort method), the order is not changed from the order that exists at that time.

Therefore (it seems to me) that if you order on size, then order on date, the results shown may not be the same as if you order on class and then order on date.

from geeqie.

SimonDedman avatar SimonDedman commented on June 1, 2024

Thanks for the thought Col, seems sensible.

Sadly I can't test it on these files due to this other bug. Do you know if there's a way to force Geeqie to reindex a folder? I've tried the refresh button to no avail. If I doubleclick an image in the offending folder in Thunar, it opens in Geeqie but no files are visible in the file list. If I go to another folder in Geeqie it's file, then go back to the offending folder and the single image is displayed but nothing in the file list still.

If I close Geeqie and reopen it by doubleclicking an image in another folder, then go to the offending folder, the previous image I clicked it shown, again with nothing in the file list.

from geeqie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.