roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.78k stars 1.62k forks source link

Can't insert signature in last line of email #9613

Open Cwpute opened 2 weeks ago

Cwpute commented 2 weeks ago

Prerequisites

Describe the issue

  1. Compose a new mail
  2. Write at least one line of text and leave an empty line below that
  3. Place the carret on that empty line
  4. Click the Signature button to insert a signature on that line
  5. The signature isn't placed

Here a screenshot for reference: 2024-08-27_12-57

I cannot disable the plugins as i'm not an administrator of this instance. The plugins installed as per the About page are as follows:

acl, archive, filesystem_attachements, jqueryui, managesieve, markasjunk, roundcube-dovecot_client_ip, zipdownload

What browser(s) are you seeing the problem on?

Firefox

What version of PHP are you using?

No response

What version of Roundcube are you using?

1.6.8

JavaScript errors

No response

PHP errors

No response

pabzm commented 2 weeks ago

I can't reproduce that problem locally. Could you check the Web Developer Console for errors please? (In Firefox's menu choose "More Tools", "Web Developer Tools").

Cwpute commented 2 weeks ago

Ok i just did some more tests and i can provide more details on how it happens. Here is an updated how to to perform this bug:

  1. Compose a new mail
  2. Erase any signature that might have been automatically inserted
  3. Save it as a draft
  4. Open it again, using the "Edit" button on the mail preview
  5. Write at least one line of text and leave an empty line below that
  6. Place the carret on that empty line
  7. Click the Signature button to insert a signature on that line
  8. The signature isn't placed

The Webdev console does show some things that could fit, but it's all in french sorry:

Cette page utilise la propriété non standard « zoom ». Envisagez d’utiliser calc() dans les valeurs des propriétés pertinentes ou utilisez « transform » avec « transform-origin: 0 0 ». tinymce.min.js:9:18973 Pseudo-classe ou pseudo-élément « -moz-broken » inconnu. Jeu de règles ignoré suite à un mauvais sélecteur. rc:1:5 GET https://mail.girofle.org/rc/?_task=mail&_id=146216885866d0740ba6d12&_action=display-attachment&_file=rcmfile551724937228082143000 [HTTP/2 200 329ms]

MouseEvent.mozInputSource est obsolète. Veuillez utiliser plutôt PointerEvent.pointerType. tinymce.min.js:9:49565 Ce site semble utiliser un effet de positionnement lié au défilement. Cet effet pourrait ne pas fonctionner correctement avec le défilement asynchrone. Consultez https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html pour obtenir davantage de détails ou discuter des outils et des fonctionnalités liés. rc GET https://mail.girofle.org/rc/?_task=mail&_id=146216885866d0740ba6d12&_action=display-attachment&_file=rcmfile551724937228082143000 [HTTP/1.1 200 OK 0ms]

MouseEvent.mozInputSource est obsolète. Veuillez utiliser plutôt PointerEvent.pointerType.

pabzm commented 4 days ago

Sorry, I still cannot reproduce that. I made a screen recording of my attempt. Did I follow your steps correctly?

Screenrecording-insert-signature.webm

(The signature is also correctly inserted if I compose HTML emails.)

Cwpute commented 3 days ago

Thanks for trying to get through this with me @pabzm So first off, when i create the new draft, i don't write anything in the mail Subject, neither into the Body. I just delete the signature. Then, when i save that draft and get back to modify it, below the line into which i wrote text (where you wrote "test") i only create 1 new line, not more. Finally, if this has any importance, the signature contains a picture. It looks like this: image

pabzm commented 1 day ago

Still can't reproduce. Is there another difference in the workflow?

https://github.com/user-attachments/assets/b5ca9e49-50db-47e3-ab0e-16ca71b61228

If not, I'm afraid your setup is to blame :/

The messages from the browser console seem unrelated to your problem.

Did you try to change you signature?