On March 28th, 2018 at approximately 1:30 pm CST the server housing the cPanel Feature Request site’s hypervisor unexpectedly failed.
This failure resulted in the loss of data back to September of 2017. Read more in our announcement.
 

Remove iframe from webmail paper_lantern skin

Gary Hoffmann shared this idea 3 years ago
In Progress

With the update to 11.48 with paper_lantern, the webmail interface is basically unusable. First, there is a hard-set iframe size. This causes a lot of scrolling outer/inner windows to get to top/bottom depending on the size of the window, or on larger windows, wasted space.


Also, much of the window is taken up by the fact that there is the paper_lantern header as well as the email reader header, then the email, then a footer and a paper_lantern footer.


If this header and footer are going to be there, they should be in place of the header/footer that's part of the email reader or they should be removed in favor of the email reader's header and footer. It would be easy enough to have a hamburger menu with the menu options offered by paper_lantern.


I have had several users that are webmail users asked to be taken back to X3 after the 11.48 release because of this - I don't really want to take their entire account back to X3, but I'm not aware of an alternative.


Thanks,

Gary.

Comments (20)

photo
1

I just tried to duplicate the issue and found an even bigger problem. Whne using the pseudo-x3 skin of PL once you close out squirrel mail (what my clients use), clicking HOME does not take you home. In fact it does not take you anywhere. To get back to the home screen you have to click the down arrow next to the little head and shoulder icon and then click return to cpanel. That is HORRIBLE navigation. I very much appreciate the effort put into PL so far but it is not even at a beta development stage yet let alone production. It is at best in alpha. Way too many bugs, invalid links, and incorrect navigation for it to be considered beta.

photo
1

I see a few options here.


• Lose the iframe and use an old style frameset which could handle a variable height center frame for an email client like roundcube


• create a native skin for roundcube that directly integrates the additional header and footer.


• use some more advanced css3 on the iframe which older browsers would have problems with. (see below)

While not perfect adding one of the following in the css would improve things for recent browsers in regard to the center frame filling the vertical space.

  1. iframe#mailFrame {
  2. border: 0px;
  3. height: calc(100vh - 125px);
  4. }

or

  1. iframe#mailFrame {
  2. border: 0px;
  3. height: 100vh;
  4. padding-top: 63px;
  5. padding-bottom: 63px;
  6. margin-bottom: -62px;
  7. margin-top: -62px;
  8. }

photo
1

I've also found that #wrap is being set with a min-width: 1300px; on the roundcube pages. Removing that allows the width to at least scale down to the roundcube minimum of 901px;


  1. #wrap {
  2. min-width: initial !important;
  3. }


Regular cpanel pages don't appear to have a min-width on the wrap so I don't see a negative here. However it would be nice if all the cpanel pages and page identifier classes on the body tag so styles could be targeted to specific pages if necessary.

photo
1

Is there anyway to remove the Paper Latern bar?


I appreciate it being there but none of my clients do and find it an annoyance.


It is also causing responsive issues with WebMail Lite as the iframe keeps it full screen.


Liam

photo
1

Where can we find the CSS file that directly controls webmail paper lantern?

photo
1

You have to create a style.css file in your own style folder. This stylesheet applies to all of paper lantern, not just webmail.


https://documentation.cpanel.net/display/PLD/0+-+Navigate+to+the+Style+Directory


Then if you want to set your custom modifications as the default for Paper Lantern, follow these instructions:


http://blog.cpanel.com/how-to-set-a-default-style-with-paper-lantern/

photo
1

I just made the switch from RVskin to Paper Lantern and I'm getting a lot of complaints about the bars. I'm going to have to switch customers back to x3. Not good...

photo
1

This. This is exactly why I came here.


This iframe thing going on with the new webmail is horrible. Double scrollbars, double footers -- you even have horizontal scrolling on a 1280 px wide monitor.


Please clean this up -- I've had a number of complaints/comments on it from users already.

photo
1

I've just tested this and I have to agree :


Roundcube is designed to fit the screen size however with the new frames above and below the whole page scrolls making it unusable.


Before removing X3 something needs to be done to fix this. Roundcube needs to occupy the full screen and the extra bars need to be hidden. The bottom one shouldn't exist and the top one needs to maybe replace the roundcube logo or a menu item. It's not that complicated to créate a plugin or something but the whole webmail experience with the large bar at top and bottom and the whole scrolling issue needs to be resolved.

photo
1

I have a shared hosting account at Godaddy. This is a very annoying issue that can be easily fixed, but there is little I can do as a shared hosting user. I'm going to submit a complaint to Godaddy. Maybe If they complain to Cpanel something will get done.

photo
2

A fix for the double-scrollbars will appear on 11.52 (should be in an EDGE release in the next week or two). At present we are reconsidering the Paper Lantern Webmail experience in lieu of your feedback.

photo
1

That is music to my ears, I hope godaddy implements the update sooner verses later. I do not think doing away with top bar is necessary, rather, just fix the width response and navigation.

photo
photo
1

That's a good step ahead! Thanks for the information, Andy. Remember that moving away from the iframe solution will also solve the problems with the number of unread messages and emptying trash on exit.

photo
1

This thread is of great assistance regarding this:

https://forums.cpanel.net/threads/webmail-navigation-bar-in-11-48.451921/


Seems to work great - completely gets rid of the scrollbars in Firefox and Chrome. A bit of a scrollbar in IE yet, but I'm sure it could be tweaked quite easily.

photo
1

I can confirm this feature is in 11.52

photo
1

I can confirm this on 11.52 build5


but not fully, because autoclean trashbin on lougout still don't work at all.

photo
1

Please add this option. The iframe on roundcube is unnecesary!!

photo
1

This has been done as from 11.52 build 5

photo
1

I am on 54.0.14 and header on webmail still appear. How to disable it ?


Thank you in advanced.

photo
photo
1

The iframe on the webmail client is making many customers complain. It just doesn't work. It's very badly coded and now we are being forced to use it as cpanel is automatically switching X3 to paper lantern. It makes it unusable. Please remove the iframe!