-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Generate all preview sizes for Imaginary #40731
Conversation
A follow up on #40670 Based on discussions here: #38911 (comment) This fixes the case were not all previews are generated, for example in the activity view: #38911 (comment) Signed-off-by: Daniel Hansson <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Daniel Hansson <[email protected]>
FWIW, just tested this with a client that had 1000s of PDFs, everything is super fast and it generates everything. I think we should close the other PR, let's have a vote. 👎 for no, and 👍 for keeping it. gogogo |
Just go on and close it... The other fix would be lost by merging this here ;) |
Done, but you should have voted 👎 ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested by the community and confirmed to make things work but cannot judge the code changes
@juliushaertl Would you mind having a look at this? It removes a function which makes everything work again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am skeptical about deleting the performance related previews all together, the real question is *why does the deleted snippet or getSmallImagePreview
not generate the previews?
Theoretically we should be able to generate smaller previews no?
The function is buggy and doesn't make a huge impact when used. Ok, if you're on a Raspberry Pi or some legacy hardware - sure, but not for the "normal" user of Nextcloud and certainly not Enterprise users. |
/backport to stable27 |
The backport to stable27 failed. Please do this backport manually. # Switch to the target branch and update it
git checkout stable27
git pull origin stable27
# Create the new backport branch
git checkout -b fix/foo-stable27
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123
# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable27 More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport |
@fenn-cs Can you please help me with the backport? |
Sure @enoch85 would look into it. |
/backport b2d105e to stable27 |
Based on discussions here: #38911 (comment)
This fixes the case were not all previews are generated, for example in the activity view: #38911 (comment)
[Bug]: PDF previews don't work after upgrade to 27 - Error 400 #38911
Summary
TODO
Checklist