Roundcube Community Forum

 

The New MobileMe "MobileCube"

Started by phireware, December 28, 2009, 02:52:16 PM

Previous topic - Next topic

internalkernel

It's a great start... I'm sure it'll come along nicely...

I adjusted your theme a bit more today and thought I'd post the info in case anyone else wants to do the same. In the default theme, on the attachment bar of the preview pane there is a clickable arrow which drops down and shows the message headers inline. This is extremely useful for me as I'm still very much in the process of tweaking Spam Assassin, so I located the code in the old theme and merged it into the mail.css.

I realize you can access this info with a right click, and show source - but this quicker... and well, I'm lazy...

td.show-headers
{
  height: 10px;
  background: url(images/icons/down_small.gif) no-repeat center;
}
       
td.hide-headers
{      
  height: 10px;
  background: url(images/icons/up_small.gif) no-repeat center;
}      
       
#all-headers
{
  height: 150px;
  display: none;
}      
       
#headers-source
{      
  margin: 0 5px;
  padding: 0.5em;
  height: 145px;
  background: white;
  overflow: auto;
  font-size: 11px;
  white-space: nowrap;
  border: 1px solid #999999;
  display: none;
  text-align: left;
  color: #333;
}


Obviously, you have to also copy the gif images the url refers to into the images/icon folders in MobileCube as well. This was inserted at line 1023 in mail.css.

fritz001

A very nice theme, especially adding support for plugins

but here are 2 little bugs:
1. related to sieve plugin
2. i guess is related to foldericons....

P.S. tested on Firefox 3.6 ( linux )

internalkernel

Quote from: fritz001;25692A very nice theme, especially adding support for plugins

but here are 2 little bugs:
1. related to sieve plugin
2. i guess is related to foldericons....

P.S. tested on Firefox 3.6 ( linux )

The first one happens because the watermark.html and watermark.gif are not being found. You can copy them out of the default theme and into MobileCube to stop that error.

It should be:
MobileCube/watermark.html
MobileCube/images/watermark.gif

bagu

#78
There is an other small bug when not using english as default language, the bottom text is under icons...

phireware

#79
Quote from: internalkernel;25687It's a great start... I'm sure it'll come along nicely...

I adjusted your theme a bit more today and thought I'd post the info in case anyone else wants to do the same. In the default theme, on the attachment bar of the preview pane there is a clickable arrow which drops down and shows the message headers inline. This is extremely useful for me as I'm still very much in the process of tweaking Spam Assassin, so I located the code in the old theme and merged it into the mail.css.

I realize you can access this info with a right click, and show source - but this quicker... and well, I'm lazy...

td.show-headers
{
  height: 10px;
  background: url(images/icons/down_small.gif) no-repeat center;
}
       
td.hide-headers
{      
  height: 10px;
  background: url(images/icons/up_small.gif) no-repeat center;
}      
       
#all-headers
{
  height: 150px;
  display: none;
}      
       
#headers-source
{      
  margin: 0 5px;
  padding: 0.5em;
  height: 145px;
  background: white;
  overflow: auto;
  font-size: 11px;
  white-space: nowrap;
  border: 1px solid #999999;
  display: none;
  text-align: left;
  color: #333;
}


Obviously, you have to also copy the gif images the url refers to into the images/icon folders in MobileCube as well. This was inserted at line 1023 in mail.css.
Can you explain more on where I can find the place this code works? Screenshots? I just haven't found where this code comes into any use.

Quote from: internalkernel;25693The first one happens because the watermark.html and watermark.gif are not being found. You can copy them out of the default theme and into MobileCube to stop that error.

It should be:
MobileCube/watermark.html
MobileCube/images/watermark.gif

This will be fixed and will be in the next build of the BETA, I'll push it out sometime tonight.

phireware

#80
Quote from: bagu;25703There is an other small bug when not using english as default language, the bottom text is under icons...

I'll try to find a fix...

internalkernel

Quote from: phireware;25726Can you explain more on where I can find the place this code works? Screenshots? I just haven't found where this code comes into any use.

Screenshot is attached... I circled the expand arrow in red, when that is clicked the box below opens and the headers are shown inline. I just pulled the code straight from the original mail.css in the default profile, I adjusted the height of the arrows and that was it....

phireware

Quote from: internalkernel;25730Screenshot is attached... I circled the expand arrow in red, when that is clicked the box below opens and the headers are shown inline. I just pulled the code straight from the original mail.css in the default profile, I adjusted the height of the arrows and that was it....

Great, thanks I'll add it in. All the beta updates are in sourceforge to let you know. View all files and choose 3.1.0 beta. Hopefully you won't mind testing as you have been a great help so far! Thanks.

Martian

First and most important - Thanks so much for this wonderful skin!!!

I've had my eye on Mobilecube for some time now and finally decided to give it a go on my test server tonight.  Thus far I am very impressed.  I did however find a couple problems to pass along, but hey it is a Beta after all right ;)

The first issue is that I can't seem to find a way to display more than the first 40 contacts.  Either I'm an idiot (highly possible) or there just isn't any way to move to a 2nd page.  As you can see in the first attachment I can only see contacts 1-40 of 69.

The second issue is pretty straight forward.  I use the managesieve plugin and it appears that Mobilecube doesn't support it (yet?).  See the second screenshot.  I don't know if you plan to support this plugin in the future but chalk up one vote for for it (I would of course be happy to provide testing).

The third issue I found was specific to IE8 (which I normally never use).  The "Compact" and "Empty" buttons at the bottom left don't display correctly.  See the third screenshot.

I'm presently running Roundcube 3.1 with Mobilecube 3.1.0 beta.

The first two issues were confirmed in Firefox 3.5 running on 64-bit VistaSP2, IE8 running on 64-bit Vista SP2, and Firefox 3.6 running on 32-bit Arch Linux on my netbook.

The third issue was only present under IE8.

Hope this helps and thanks again for this excellent skin!

Martian

internalkernel

Quote from: Martian;25735The first issue is that I can't seem to find a way to display more than the first 40 contacts.

In your Preferences, under Interface there's a setting called Rows per Page, change that to whatever - the default is 200.

That's defined in main.inc.php:
$rcmail_config['max_pagesize'] = 200;

The managesieve plugin tab was actually just added, yesterday... So, there's still some work to be done there. I don't know the specifics of Managesieve, I use the SieveRules plugin (different plugin).  The functionality is there, it's just the layout needs some tweaking.

phireware

Quote from: Martian;25735First and most important - Thanks so much for this wonderful skin!!!

I've had my eye on Mobilecube for some time now and finally decided to give it a go on my test server tonight.  Thus far I am very impressed.  I did however find a couple problems to pass along, but hey it is a Beta after all right ;)

The first issue is that I can't seem to find a way to display more than the first 40 contacts.  Either I'm an idiot (highly possible) or there just isn't any way to move to a 2nd page.  As you can see in the first attachment I can only see contacts 1-40 of 69.

The second issue is pretty straight forward.  I use the managesieve plugin and it appears that Mobilecube doesn't support it (yet?).  See the second screenshot.  I don't know if you plan to support this plugin in the future but chalk up one vote for for it (I would of course be happy to provide testing).

The third issue I found was specific to IE8 (which I normally never use).  The "Compact" and "Empty" buttons at the bottom left don't display correctly.  See the third screenshot.

I'm presently running Roundcube 3.1 with Mobilecube 3.1.0 beta.

The first two issues were confirmed in Firefox 3.5 running on 64-bit VistaSP2, IE8 running on 64-bit Vista SP2, and Firefox 3.6 running on 32-bit Arch Linux on my netbook.

The third issue was only present under IE8.

Hope this helps and thanks again for this excellent skin!

Martian
I'm glad you enjoy the theme! Was your first problem fixed with internalkernel suggestion? If it does deal with the config file I have no control over what goes on in that part of roundcube. Your second problem needs a fix as it seems there are several plugins doing this. I hope this can be fixed soon. Lastly, your third problem has been an issue for some time now, it is just IE that creates this problem but again, there will be a fix for it sometime in the future. DClark and I have been working on this theme and I thought he had found a solution, but I'll check it out. Again, I'm glad you enjoy the theme so much and thanks alot for giving feedback! We really enjoy it.

ABerglund

#86
The choice to increase the number of items per page is only a workaround, not a cure, and will only help if you set the number higher than the number of your contacts. For those of us who have large address books (frequently the case with global LDAP books), that is not really feasible.

Compare these two screenshots to see the problem. The first is with the default skin. Note the controls to flip between pages when the number of contacts exceeds the number set in the preferences, and the lack of controls in MobileCube.



Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

internalkernel

Your to-do list regarding "things that need to be fixed" seems to be growing... And on that note, let me add one more thing to it. :)

I noticed this today... that certain messages wrap text properly and others don't. I compared to the default theme and found this was indeed something in MobileCube. I then compared the default mail.css with MobileCube's tried several kludges but couldn't figure it out. I'll try to come back to it this evening when I have more time.

But for now I attached screen shots - the first one is the default theme and the second is the same email in MobileCube. Notice the lack of text wrapping...

I'm pretty sure that's controlled in:
div.message-part div.pre {
        margin: 0px;
        padding: 0px;
        white-space: -moz-pre-wrap !important;
        white-space: pre;
        font-size: 13px;
        font-family: Helvetica,Arial,sans;
        line-height: 18px;
}


But, I'm not sure exactly what to change to make it wrap properly.

phireware

Quote from: ABerglund;25752The choice to increase the number of items per page is only a workaround, not a cure, and will only help if you set the number higher than the number of your contacts. For those of us who have large address books (frequently the case with global LDAP books), that is not really feasible.

Compare these two screenshots to see the problem. The first is with the default skin. Note the controls to flip between pages when the number of contacts exceeds the number set in the preferences, and the lack of controls in MobileCube.




I'll look into that, can be an easy fix and I will include it in the next build of beta 3.1.0.

Quote from: internalkernel;25753Your to-do list regarding "things that need to be fixed" seems to be growing... And on that note, let me add one more thing to it. :)

I noticed this today... that certain messages wrap text properly and others don't. I compared to the default theme and found this was indeed something in MobileCube. I then compared the default mail.css with MobileCube's tried several kludges but couldn't figure it out. I'll try to come back to it this evening when I have more time.

But for now I attached screen shots - the first one is the default theme and the second is the same email in MobileCube. Notice the lack of text wrapping...

I'm pretty sure that's controlled in:
div.message-part div.pre {
        margin: 0px;
        padding: 0px;
        white-space: -moz-pre-wrap !important;
        white-space: pre;
        font-size: 13px;
        font-family: Helvetica,Arial,sans;
        line-height: 18px;
}


But, I'm not sure exactly what to change to make it wrap properly.

I'll look into it and let you know what I find out. I noticed this when I got messages from Facebook that they would not word wrap properly. So if I find a fix I will let you know. There should be an easy fix somewhere.

internalkernel

Quote from: phireware;25761I'll look into it and let you know what I find out. I noticed this when I got messages from Facebook that they would not word wrap properly. So if I find a fix I will let you know. There should be an easy fix somewhere.

This seemed to fix the way the text wrapped. Changed the lines from my post above to read:

div.message-part pre,
div.message-htmlpart pre,
div.message-part div.pre
{
        margin: 0px;
        padding: 0px;
        white-space: -moz-pre-wrap !important;
        white-space: pre-wrap !important;
        white-space: pre;
        font-size: 13px;
        font-family: Helvetica,Arial,sans;
        line-height: 18px;
}