-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Photos 2.0 - Slow speeds, navigation, ordering issues #1195
Comments
What method did you use to install the 2.0 version? |
This was included in the latest beta of version 15 according to the release notes: nextcloud/server#33674 I noticed a fairly significant change to the UI, though I think the version number may have appeared as the same in the apps view. May just be because it's beta. |
So you also running the nextcloud server beta? |
Yes, beta 2 currently. |
cc @artonge |
N°1 addressed in #1209 |
3 can be ignored, I think this was an issue with the theme I was using. Updated to the latest beta 6 and the performance does seem to be much better. So just the ordering of images now! |
Any updates on the ordering issues @artonge? Just aware that it was touted as a big feature upgrade and it's a bit unusable when you have a good number of images. |
In the forum, I pointed @andyxheli to a possible starting point to investigate the issue. Here it is again:
@valdearg Any chances you could open a PR for that ? |
Hrm, does this help at all? I'm afraid I'm not an expert: photos/src/components/FilesPicker.vue Line 166 in 05d89c6
It looks like that used to be included in the FilesPicker.vue, but no longer. |
#1330 maybe, good luck. |
sorry @artonge bit a little busy. didnt mean to ignore you. |
@valdearg did you try to manually apply this patch ? did it help ? |
Have to confess, I've never setup a NextCloud development process, I get an error about versions of Photos so probably need to do something else: "The files of the app Photos (photos) were not replaced correctly. Make sure it is a version compatible with the server." Main website is on beta2 so doubt it's a drop in replacement! If anyone is able to test it, that'd be great! |
I can test. Can you give me a scenario to try before and after the test please |
Both 'photos' and 'server' needs to be on the same branch, either master or stable25, else you will have this king of error :) |
Thanks! Simple test is that the images should be in the order they were added to the system, so if you add a new image to a folder NOW, it should show at the top. All images should then be in the order they were added. |
If you want to test on a live server, you could compile on your dev machine and move the build files to the server. |
I only have a test server my windows machine only run github desktop or on my linux "ubuntu' then i have my test VM running Nc 25 RC3 |
Haha, I have a broken app so far I'm afraid! It just redirects to the Files currently. |
Haha oh boy. I'm working on creating a dev setup |
@valdearg @andyxheli if you have docker installed locally, you can check the PR out and test it easily with:
|
@szaimen Thank you! I'll give that a try :) |
I get an error as soon as i click on photos app see admin @valdearg how about you ? |
Ah, that is probably my fault because the viewer app is missing. Please try this one:
|
No worries. Trying it again, Thank you! |
Looks good to me :) |
OK, from my testing, thanks to the fantastic help from @szaimen there, I can also confirm it seems to be working too. Just testing some other oddities as well. |
OK, think that's all set! That patch seems to resolve it, thanks for everyone's help with this! Not sure the procedure for fully approving the fix and including it in where it needs to be fully, but it should be good. |
All done now? :) |
Let's close this one, feel free to open another more specific issue if needed :) |
Describe the bug
Upgrading to the latest beta version 15.0.3 introduced the new version of Photos.
Currently I'm running into three different issues when viewing the overall apps/photos/ view which shows all images on the system.
Performance on my system is very slow to load. I suspect this may be because the initial dav query requests 1000 items. I'm using a separate PostgreSQL instance which contains a LOT of images and can be quite slow. If possible, the previous version requested a smaller number of images (I think it was around 15) which then performed another paginated search for a further number as you scrolled down the page. It would be amazing to get this part back, or perhaps customisable?
Ordering of images has changed, but I'm not entirely sure the exact ordering. Previously the view would display items in the most recently modified/recently added.
The DAV query seems to be working correctly. For example, the first items are:
However, in the photos view, we're getting these files first. Suggesting perhaps it's ordering the wrong way around maybe?
It's a bit difficult to send screenshots I'm afraid as it's a lot of family pictures currently at the top. For the moment I've reverted to the previous beta release due to the performance.
The text was updated successfully, but these errors were encountered: