You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I browse images in a ZIP archive located in another directory, and current directory (where nomacs was started) has files that fit between files from the archive, browsing switches to the current directory.
To Reproduce
Steps to reproduce the behavior:
Create 2 directories: "across1/" and "across2/".
Copy the attached archive "storage2.zip" to "across2/".
Unpack "storage1.zip" to "across1/" without several first files , e.g. "04.webp" to "99.webp".
Unpack "storage1.zip" and "storage2.zip" elsewhere and check the files — the images contain text from "here-01" to "here-99" and from "THERE-01" to "THERE-99" respectively.
In console switch to "across1/" and open "across2/storage2.zip" with nomacs: nomacs ../across2/storage2.zip
Make sure the files are sorted by name in ascending order — "File → Sort → by Filename" and "File → Sort → Ascending" are selected.
Press the right arrow several times. — The image texts change in the following order: "THERE-01", "THERE-02", "THERE-03", "THERE-04", "here-05", "here-06" and so on until "here-99", then "here-04", "here-05"...
Expected behavior
This should display only the images from "storage2.zip" in ascending order. The image text should progress from "THERE-01" through "THERE-05" to "THERE-99" and then again from "THERE-01" to "THERE-99".
Desktop (please complete the following information):
Additional context
Console output while browsing from 01.webp to 0.6.webp:
$ nomacs ../across2/storage2.zip
[INFO] Hi there
[INFO] plugins dir set to: "/usr/lib64/nomacs-plugins"
[INFO] local client created in: 3 ms
[INFO] theme loaded from "/usr/share/nomacs/Image Lounge/themes/Light-Theme.css"
[INFO] CSS loaded from: ":/nomacs/stylesheet.css"
[INFO] Initialization takes: 128 ms
[INFO] [DkImageLoader] 99 containers created in 3 ms
[INFO] [DkImageLoader] after sorting: 3 ms
[INFO] [DkImageLoader] 99 containers created in 3 ms
[INFO] [DkImageLoader] after sorting: 3 ms
[INFO] [Basic Loader] "01.webp" loaded in 4 ms
[WARNING] QMainWindow::addToolBar: invalid 'area' argument
[INFO] [Basic Loader] "02.webp" loaded in 1 ms
[WARNING] QMainWindow::addToolBar: invalid 'area' argument
[INFO] [Basic Loader] "03.webp" loaded in 2 ms
[WARNING] QMainWindow::addToolBar: invalid 'area' argument
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[INFO] [Basic Loader] "04.webp" loaded in 1 ms
[INFO] [DkImageLoader] 96 containers created in 6 ms
[INFO] [DkImageLoader] after sorting: 8 ms
[WARNING] WARNING: image not found for caching!
[INFO] [DkImageLoader] 96 containers created in 1 ms
[INFO] [DkImageLoader] after sorting: 2 ms
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[INFO] [Basic Loader] "/home/tkzv/todo/nomacs/across1/05.webp" loaded in 1 ms
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[INFO] [Basic Loader] "/home/tkzv/todo/nomacs/across1/06.webp" loaded in 1 ms
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[WARNING] Broken filename passed to function
[INFO] [Basic Loader] "/home/tkzv/todo/nomacs/across1/07.webp" loaded in 4 ms
The images were created in ImageMagick with commands:
for n in `seq -w 1 99`; do sem -q -j8 magick -size 100x200 -font DejaVu-Sans-Mono-Book label:here-$n $n.webp; done
for n in `seq -w 1 99`; do sem -q -j8 magick -size 100x200 -font DejaVu-Sans-Mono-Book label:THERE-$n $n.webp; done
Describe the bug
When I browse images in a ZIP archive located in another directory, and current directory (where nomacs was started) has files that fit between files from the archive, browsing switches to the current directory.
To Reproduce
Steps to reproduce the behavior:
nomacs ../across2/storage2.zip
Expected behavior
This should display only the images from "storage2.zip" in ascending order. The image text should progress from "THERE-01" through "THERE-05" to "THERE-99" and then again from "THERE-01" to "THERE-99".
Desktop (please complete the following information):
Additional context
Console output while browsing from 01.webp to 0.6.webp:
The images were created in ImageMagick with commands:
storage1.zip
storage2.zip
The text was updated successfully, but these errors were encountered: