Skip to content
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

Printing (from browser) is broken (again) #4536

Closed
Uatschitchun opened this issue Jul 15, 2023 · 7 comments · Fixed by #5054
Closed

Printing (from browser) is broken (again) #4536

Uatschitchun opened this issue Jul 15, 2023 · 7 comments · Fixed by #5054
Labels
bug Something isn't working

Comments

@Uatschitchun
Copy link

Describe the bug
When printing a longer text, only the first page gets printed and is cropped

To Reproduce

  1. Have a longer text
  2. Use print from browser
  3. See error

Expected behavior
For to print or export to PDF using browsers print function, the text should print completely and well formatted.

This was originally fixed and added (print CSS) and merged with PR: #2867

So this seems to be a regression.

You can find screenshots in the PR.

Server details:

  • Nextcloud version: [27]
  • PHP Version: [8.2]
  • Database: [MariaDB 10.5]

Client details:

  • OS: [Linux]
  • Browser: [Opera (Chrome)]
@juliusknorr
Copy link
Member

Can you provide a screenshot of the error? For me it works fine

@Uatschitchun
Copy link
Author

Can you provide a screenshot of the error? For me it works fine

Sure, here you are. This is the Readme.md from this repo. I tested on 2 different NC installations with same result.
Screenshot_20230717_150702
Screenshot_20230717_150818

@sopvkore
Copy link

sopvkore commented Nov 3, 2023

Observing the same. I suspect the issue is not around the print css but somewhere else. PR mentioned is still in (unchanged).
I'm wondering if it is perhaps install related issue - I'm running a couple of instances based on linuxserver docker images (versions 27+).
Also, confirm it works on a (public) nextcloud instance (murena.io) which is most likely v26.sth or even 25+. print.scss seems to be identical on all instances I could check.

@dertorsten
Copy link

Tested this with a galor of lore ipsum:
27.1.3 - Docker Nginx-FPM PHP8.2 / fail
26.0.8 Nginx PHP 8.1 fail
25.0.12 Nginx PHP 8.1 works

@AdamPS
Copy link

AdamPS commented Nov 24, 2023

Broken for me on 27.1.3 PHP 8.1 Apache.

  • Can I provide any extra diagnostics?
  • Does anyone have any idea of a workaround yet please?

@AdamPS
Copy link

AdamPS commented Nov 30, 2023

Great thanks

mejo- added a commit that referenced this issue Nov 30, 2023
mejo- added a commit that referenced this issue Nov 30, 2023
mejo- added a commit that referenced this issue Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants