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

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

Open
1 of 2 tasks
Cwpute opened this issue Aug 27, 2024 · 9 comments
Open
1 of 2 tasks

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

Cwpute opened this issue Aug 27, 2024 · 9 comments

Comments

@Cwpute
Copy link

Cwpute commented Aug 27, 2024

Prerequisites

  • I have searched for duplicate or closed issues
  • I can recreate the issue with all plugins disabled

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
Copy link
Member

pabzm commented Aug 27, 2024

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
Copy link
Author

Cwpute commented Aug 29, 2024

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
Copy link
Member

pabzm commented Sep 12, 2024

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
Copy link
Author

Cwpute commented Sep 13, 2024

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
Copy link
Member

pabzm commented Sep 15, 2024

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

Insert_signature_with_image.mp4

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?

@Cwpute
Copy link
Author

Cwpute commented Sep 30, 2024

I can't read your video it seems :/

Here is the list of things i tried after your message:

  1. Followed the steps listed above using another browser that has (Falkon) and it still doesn't work.
  2. I created a new identity with a similar signature but it still didn't work: image
  3. I tried removing the picture in the signature, and it still didn't work:
    image
  4. Seeing that my original signature was always appearing first before switching to the second identity, i set the test identity to be the Default one, but it didn't change anything.
  5. I create another identity with a signature that was not formatted in HTML, but it didn't work:
    image
  6. I created a third test identity with no HTML and no emojis that simply read yeah., but it didn't work. (if you wonder, this one was Aergia, godess of sloth)
  7. And finally: i tried with an entirely different computer on the same account, and it still didn't work 😠

I've contacted the admins running my instance for further support, to see if there are variables i didn't take into account and if they can reproduce it themselves.

@keomabrun
Copy link

Hi 👋
Thank you for you support <3

We spent a bit of time trying to understand the exact path to follow in order to reproduce this bug.
Here are our findings :

  • It happens on different browsers Chromium, Firefox (even in debugging mode, without the plugins)
  • It also happens even after clearing the cache and sessions data
  • It only happens on a particular account (we cannot reproduce it on other accounts, with the exact same parameters and signature)
  • The faulty account was using the following non-default parameters, but reverting them manually did not solve the issue :
    • Attachment : RFC 2231 (Thunderbird)
    • MIME 8 encoding activated
  • We face the same issue with and without the image in the signature, or with only one line of un-formated text or pure text (no HTML)

Here is a short video of the issue :
Capture vidéo du 2024-10-14 12-27-51.webm

This issue is minor as there is a work around, but it might help others facing similar issues.

@keomabrun
Copy link

New input, here is the user's preferences value extracted from database, after trying to revert all the configuration to the default value, using the web interface.

a:12:{s:14:"compose_extwin";i:0;s:10:"htmleditor";i:4;s:14:"draft_autosave";i:60;s:18:"mime_param_folding";i:1;s:10:"force_7bit";b:0;s:11:"mdn_default";b:0;s:11:"dsn_default";b:0;s:10:"reply_mode";i:1;s:25:"compose_save_localstorage";i:1;s:11:"search_mods";a:4:{s:1:"*";a:2:{s:7:"subject";i:1;s:4:"from";i:1;}s:4:"Sent";a:2:{s:7:"subject";i:1;s:2:"to";i:1;}s:6:"Drafts";a:2:{s:7:"subject";i:1;s:2:"to";i:1;}s:5:"INBOX";a:2:{s:7:"subject";i:1;s:4:"from";i:1;}}s:11:"client_hash";s:16:"<redacted>";s:12:"archive_mbox";s:7:"Archive";}

When I revert it to the default configuration using SQL commands, the problem seem to disappear.

@pabzm
Copy link
Member

pabzm commented Oct 23, 2024

I currently have no good idea what the cause could be, sorry.

I'm leaving this open until something enlightens someone, and for future references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants