mail icon indicating copy to clipboard operation
mail copied to clipboard

Printing not possible after update to 5.9

Open wedge47 opened this issue 5 months ago • 14 comments

Steps to reproduce

  1. If one trys to print a mail message error message appears "Nachricht konnte nicht gedruckt werden" (message could not be printed)

Printing via three-dots menu or ctrl+p

Expected behavior

Printing dialog should open

Actual behavior

error message appears "Nachricht konnte nicht gedruckt werden" (message could not be printed)

Image

Mail app version

Mail app 5.9.0 (5.9.1 is not yet available via app update)

Nextcloud version

33.0.5

Mailserver or service

Dovcot

Operating system

Debian 12

PHP engine version

PHP 8.3

Nextcloud memory caching

'memcache.local' => '\OC\Memcache\APCu', 'memcache.distributed' => '\OC\Memcache\Redis',

Web server

Apache (supported)

Database

MariaDB

Additional info

Btw: printing is not very convinient. It's missing date and time of the message and often does unnessesary pagebreaks.

I know we live in a digital world but there are still use cases for printing. An the erros above also apply on printing PDF

wedge47 avatar Jun 04 '26 07:06 wedge47

Is a rollback to 5.8.2 possible without losing configuration for the users? And if yes, how do i perform it?

wedge47 avatar Jun 05 '26 04:06 wedge47

Issue appears on different browsers (edge, chrome, firefox) and different systems (PC, Android) also with all extensions disabled.

wedge47 avatar Jun 05 '26 07:06 wedge47

You can still do with the browser file => Print .

Aveyron-RetD avatar Jun 05 '26 10:06 Aveyron-RetD

interessting because CTRL+P is without a response .. but the outcome is not usable because of the iframes.

Image

wedge47 avatar Jun 05 '26 10:06 wedge47

I have the same problem using Chrome and Vivaldi, on Windows and Linux systems.

admorgan avatar Jun 07 '26 03:06 admorgan

I have the same problem using Chrome and Vivaldi, on Windows and Linux systems.

From the console when I try to print

2277194:1 Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden. Element with focus: <button.action-button button-vue focusable> Ancestor with aria-hidden: <div.v-popper__popper v-popper--theme-nc-popover-8 _ncPopover_k--Q7 action-item__popper v-popper__popper--hidden v-popper__popper--hide-from#popper_80wlc1av_37uxa0> <div id=​"popper_80wlc1av_37uxa0" aria-hidden=​"true" tabindex=​"-1" data-popper-placement=​"bottom" class=​"v-popper__popper v-popper--theme-nc-popover-8 _ncPopover_k--Q7 action-item__popper v-popper__popper--hidden v-popper__popper--hide-to" style=​"position:​ absolute;​ transform:​ translate3d(1299px, 183px, 0px)​;​">​<div class=​"v-popper__backdrop">​

​<div class=​"v-popper__wrapper">​…​
​<div class=​"v-popper__inner" style=​"height:​ fit-content;​">​…​
​<div class=​"v-popper__arrow-container" style=​"left:​ 206.921px;​">​…​
​
​
​

admorgan avatar Jun 07 '26 03:06 admorgan

Thanks for the report

ChristophWurst avatar Jun 08 '26 09:06 ChristophWurst

https://github.com/nextcloud/mail/pull/13049

ChristophWurst avatar Jun 09 '26 08:06 ChristophWurst

Please reopen... Unable to print in version 5.9.2 with the same error message as described above.

I have the same question as wedge47: Is a rollback to 5.8.2 possible without losing configuration for the users? And if yes, how do i perform it?

Note on:

interessting because CTRL+P is without a response .. but the outcome is not usable because of the iframes.

After changing the setting to "Show all Mails on Thread" in the email settings and then back again, CTRL+P works again. -> like browser file => Print but the outcome is not usable because of the iframes.

DevDagobert avatar Jun 11 '26 11:06 DevDagobert

https://github.com/nextcloud/mail/pull/13054

ChristophWurst avatar Jun 11 '26 11:06 ChristophWurst

Please reopen... Unable to print in version 5.9.2 with the same error message as described above.

I have the same question as wedge47: Is a rollback to 5.8.2 possible without losing configuration for the users? And if yes, how do i perform it?

Note on:

interessting because CTRL+P is without a response .. but the outcome is not usable because of the iframes.

After changing the setting to "Show all Mails on Thread" in the email settings and then back again, CTRL+P works again. -> like browser file => Print but the outcome is not usable because of the iframes.

Thanks for the comment, same problem here. I reverted to 5.8.2 via command line but i'm not sure if that is correct or even a supported way. Probably i was lucky that there where no big changes in the database upgrading 5.8.2 to 5.9.1. But my users desperately needed printing.

wedge47 avatar Jun 11 '26 11:06 wedge47

Downgrades are not supported. If you brick your instance with this you will be on your own. So do use this with caution and always have a backup ready to restore a working state.

ChristophWurst avatar Jun 11 '26 11:06 ChristophWurst

interessting because CTRL+P is without a response .. but the outcome is not usable because of the iframes.

yeah because NC likely hijacks the button combo, but cant do anything about the Browser Menu. can NC-Mail open Mails in their own window? that may help to print less junk along.

My1 avatar Jun 19 '26 08:06 My1

The last release of Mail fix this for me.

admorgan avatar Jun 19 '26 12:06 admorgan