Skip to content

Fix small previews with Imaginary - #40670

Closed
enoch85 wants to merge 3 commits into
masterfrom
fix-pdf-previews
Closed

Fix small previews with Imaginary#40670
enoch85 wants to merge 3 commits into
masterfrom
fix-pdf-previews

Conversation

@enoch85

@enoch85enoch85 commented Sep 28, 2023

Copy link
Copy Markdown
Member

Context: #38911 (comment)

Summary

Without this change PDF, TIF and some other formats aren't generated if Imaginary is used.

Checklist

This solves #38911
cc @szaimen@solracsf Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
@enoch85

Copy link
Copy Markdown
MemberAuthor

Please backport to stable27, backport bot didn't like my efforts.

@solracsfsolracsf added the 3. to review Waiting for reviews label Sep 28, 2023
@solracsfsolracsf added this to the Nextcloud 28 milestone Sep 28, 2023
@solracsf
solracsf removed their request for review September 28, 2023 07:49

@Chartman123Chartman123 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working for me this way

@solracsf

Copy link
Copy Markdown
Member

@Glandos maybe you can review here, after your last changes?

@szaimenszaimen changed the title Fix PDF previews with ImaginaryFix previews with ImaginarySep 28, 2023
@szaimenszaimen changed the title Fix previews with ImaginaryFix small previews with ImaginarySep 28, 2023
@szaimen
szaimen requested review from a team, ArtificialOwl, icewind1991 and nfebe and removed request for a teamSeptember 28, 2023 09:42
@Glandos

Copy link
Copy Markdown
Contributor

Given the small change involved, I think everything will be OK.

However, I'm sorry to say that I don't have time right now to investigate more than that 😢

@enoch85

Copy link
Copy Markdown
MemberAuthor

OK to merge?

@szaimen

Copy link
Copy Markdown
Contributor

maybe we should revisit this due to #38911 (comment)?

@enoch85

Copy link
Copy Markdown
MemberAuthor

maybe we should revisit this due to #38911 (comment)?

Better to put that in a separate PR IMHO, this fixes the bug, then performance is another topic.

But sure, it's an easy fix if the decision is to remove it.

enoch85 added a commit that referenced this pull request Sep 30, 2023
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 <mailto@danielhansson.nu>
@enoch85enoch85 closed this Oct 4, 2023
@solracsf
solracsf deleted the fix-pdf-previews branch October 9, 2023 11:34
nfebe pushed a commit that referenced this pull request Oct 9, 2023
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 <mailto@danielhansson.nu>
zak39 pushed a commit to zak39/server that referenced this pull request Dec 19, 2023
A follow up on nextcloud#40670
Based on discussions here: nextcloud#38911 (comment)
This fixes the case were not all previews are generated, for example in the activity view: nextcloud#38911 (comment)
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: PDF previews don't work after upgrade to 27 - Error 400

5 participants

@enoch85@solracsf@Glandos@szaimen@Chartman123