viewer icon indicating copy to clipboard operation
viewer copied to clipboard

Slideshow viewer not adapting sorting mode of files app

Open stephanhoennekes opened this issue 5 years ago • 19 comments

Actual behavior: If the slideshow viewer is opened from the files app, its always using standard ascending/alphabetical order by file name (when clicking the arrows).

Expected behavior: If a descending order by name or any order by file date or file size is chosen in the files app, the slideshow viewer should adopt this behavior by clicking the arrows as it was the case with the old gallery app.

stephanhoennekes avatar Jan 21 '20 17:01 stephanhoennekes

Hello :) Opening from photos or from the files app?

skjnldsv avatar Jan 22 '20 07:01 skjnldsv

Good Morning :) By opening from the files app.

stephanhoennekes avatar Jan 22 '20 07:01 stephanhoennekes

Moved to appropriate repo ;)

skjnldsv avatar Jan 22 '20 07:01 skjnldsv

@skjnldsv How to fix this? Does https://github.com/nextcloud/viewer/blob/master/src/services/FileList.js needs an sort parameter?

jakobroehrl avatar Sep 25 '20 09:09 jakobroehrl

@jakobroehrl https://github.com/nextcloud/viewer/blob/c534e513865a5e8247115024db514a6f7dd88297/src/utils/fileUtils.js#L64

https://github.com/nextcloud/viewer/blob/4280f99a21a99f56a242d9a85ea35f965bad7e86/src/views/Viewer.vue#L375-L378

skjnldsv avatar Sep 30 '20 08:09 skjnldsv

Thanks @skjnldsv But how can I query the users sort criteria (by name, size or modified) from files app?

jakobroehrl avatar Oct 06 '20 11:10 jakobroehrl

This is unfortunately not implemented yet. Ideally this should be a proper standard API :/

skjnldsv avatar Oct 06 '20 11:10 skjnldsv

So then I can't solve this Issue, right?

jakobroehrl avatar Oct 06 '20 11:10 jakobroehrl

Did we ever get any further with this issue? It's frankly insane that after two years we still can't view images in order.

Is there anything we can do to get this put on some priority list?

valdearg avatar Jul 30 '22 17:07 valdearg

Since this issue might take another 10 years of resolving if there are central api changes needed, might it be possible to at least fix the natural sorting of images manually?

Having files behaving differently in the file viewer and slideshow is a no brainer especially on the mobile website.

I'm referring to the wrong sorting of 1 10 100 2 20 200 3 ... in the slideshow whereas the file viewer sorts correctly.

cmprmsd avatar Aug 13 '22 06:08 cmprmsd

Yes this is completely frustrating and should be way up there on the priority list, although it may not be as easy to fix as one would think

johnnyq avatar Sep 02 '22 18:09 johnnyq

Yes this is completely frustrating and should be way up there on the priority list Agree, basically makes the entire image display functionality for me useless because I can't just rename around 10k images so they have a name, for Nextcloud to correctly order them.

Why isn't there more discussion or attention on this??

TheAnachronism avatar Nov 24 '22 14:11 TheAnachronism

Hello,

In my humble opinion, this functional bug should be fixed as a matter of urgency because since the acceleration and highlighting of Nextcloud Photos "2.0" and especially of the "viewer" which now incorporates a retouching tool, this will lead to a lot of disappointments (too bad for a "basic" function).

I hope you don't see any aggression in my comment, because I know you have a lot of other things to think about 😉, but I always imagine that when developing software it is wiser to consolidate the basic functionality before adding new features.

Jerome-Herbinet avatar Feb 03 '23 15:02 Jerome-Herbinet

Is this the main and officially thread for adding a fix-this vote for the sorting disorder? Found I don't know how many threads about this problem but most of them pointed here, and this issue is still open.

For me I don't care about exif sorting for now, I just want the sorting to be as shown in the actual folder, name, size or last changed.

Otherwise really thankful about nextcloud, its the perfect software in this tech dystopian times.

TommySchwartz avatar Feb 01 '24 18:02 TommySchwartz

This issue is still present in the latest stable version of Nextcloud. It has been 3 years now. Are there any plans to fix this?

marco-calautti avatar Feb 17 '24 09:02 marco-calautti

No plans :D

cmprmsd avatar Feb 17 '24 09:02 cmprmsd

No plans :D

That's something I would like to hear from the developers.

marco-calautti avatar Feb 17 '24 11:02 marco-calautti

Look at the close comments on some of the other issues.

skjnldsv closed this as not planned on Sep 8, 2022

Sad reality.

cmprmsd avatar Feb 17 '24 11:02 cmprmsd

@cmprmsd I think this will be fixed sooner now since Nextcloud Files 28.0 adopted the newer backend libraries, so it would make sense to fix it now.

johnnyq avatar Feb 17 '24 16:02 johnnyq