Roundcube Community Forum

Release Support => Pending Issues => Topic started by: ehymel on March 03, 2026, 10:40:39 AM

Title: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 03, 2026, 10:40:39 AM
I recently updated from version 1.7-beta2 to 1.7-rc4. The problem below has now appeared:

When I first load ANY new unread message, all images in the message are blocked, as expected. However all email headers (From, To, ReplyTo, Date) are also missing (see screenshot). If I click off of the message then return to the new message, now all headers are correctly displayed. If I have previoulsy "allowed all from <email address>" then I see all message images (as expected) or I have the additional button of "Always allow from <email address>" (also as expected).

So, it's just the initial load of any new unread message. I'm not sure which version this problem appeared between beta2 and rc4.
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: JohnDoh on March 05, 2026, 02:13:54 AM
is there anything in the roundcube error log? also do you have any of the imap or message caching options enabled? if so does resetting the cache make any difference?
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 05, 2026, 06:49:09 PM
Thanks for the reply.

No error messages in the roundcube errors.log file, and I am not using any imap or message caching:

// config/default.inc.php
$config['imap_cache'] = null;
$config['messages_cache'] = false;

Just in case, I rebooted the entire server and the issue persists.
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 05, 2026, 07:35:41 PM
I still don't have an answer, but it must be some odd caching issue as you suggested @JohnDoe. When I revert back to version 1.7-beta2 and even version 1.6.10 I now get the same behavior. I'll keep investigating and report back here if I find a solution. If anyone has ideas to try, I'm all ears. fwiw, I'm running a fedora 43 server with caddy v. 2.10.2.
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 08, 2026, 01:07:33 PM
This issue is now fixed.

For anyone else that comes across this, removing all files in the rouncubemail/temp/ directory fixed the issue:

rm -f rouncubemail/temp/*
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 09, 2026, 11:37:19 AM
Well, not fixed after all. Back to investigating. If anyone has any ideas for what to try I'm all ears!
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: SKaero on March 09, 2026, 12:07:13 PM
Have you tried using another browser? Is there any errors in the browsers JS console?
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 09, 2026, 05:43:15 PM
Good ideas, thank you for the suggestions.

Unfortunately I see the same behavior in Microsoft Edge, Google Chrome, and Firefox, all at latest version. No JS errors in the browser console.

Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: SKaero on March 09, 2026, 08:26:28 PM
When you updated Roundcube did you replace all the skin files? Did you install from the complete download or dependent version?
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 10, 2026, 11:24:31 AM
I downloaded the complete package and ran the bin/installto.sh command, as per the upgrade instructions:

cd <the-unpacked-roundcube-directory>
bin/installto.sh <your-existing-roundcube-directory>

I will try a fresh install today and see if that fixes. Will report back.
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 10, 2026, 09:09:50 PM
Fresh install ... no change.

Longer version: I downloaded the complete version of 1.7-rc4, moved config/config.inc.php.sample to config/config.inc.php and set my db and smtp config parameters. I still have the same problem of headers not being shown on initial load of new messages.

What the heck could have happened???
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: SKaero on March 11, 2026, 12:27:27 AM
Did you do any server updates like PHP or your web server? I wonder if dependence like that could be the cause of the issue.
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 13, 2026, 05:23:19 PM
Only minor version updates for php (8.5.2 to 8.5.3 to 8.5.4), but just to check I downgraded php to version 8.4 with the same results as my current version.
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: SKaero on March 14, 2026, 03:50:40 AM
Is there anyway I could get a test account to see if for myself?
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 15, 2026, 10:07:11 AM
Certainly! I'll pm you. Thank you
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: SKaero on March 17, 2026, 02:12:06 AM
I tested with the account you send and was able to briefly see the problem, after switching the email to plan text all the headers showed up as normal and the problem happen again. I noticed that you have a larger number of plugins enabled. Can you try diabling all the plugin and see if the issues continues? My leading guess is that either a outdated plugin or conflict between plugins is causing the issue.
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 17, 2026, 10:59:12 AM
I appreciate the time you are spending on this.

I commented out ALL plugins in the confing/config.inc.php file and just to be thorough (not sure if needed) I deleted all files in the temp/ directory.

Unfortunately there is no change. I'll leave all plugins disabled in case you want to have a look. It seems 2 plugins remain no matter what (jqueryui and filesystem_attachments).
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 17, 2026, 11:25:32 AM
As far as switching to plain text, I think that anything you do to refresh the page after the initial load will then appropriately show the headers. If I go to my settings and turn off HTML views of messages I see the same behavior with new messages not showing headers on initial load.
Title: Re: Email headers not showing on initial load in 1.7-rc4
Post by: ehymel on March 22, 2026, 01:00:39 PM
This is now solved. I was being affected by an already-reported roundcube bug (https://github.com/roundcube/roundcubemail/issues/10045)

I fixed as suggested by the bug reporter by setting
mail_attachment_detection_options="" in dovecot.conf