Hi Till, hi folks,
I installed the latest stable version of roundcube, but this version still have a problem with IE6 when opening an attachment from the message (the messagepart.html template), which was present in rc1 version too.
After opening the message in a new window, it remains hanged with CPU 100% utilization, and the only way out is to kill the application.
I decided to track down the problem. The problem is related to the height: expression(...) in #messagepartframe selector in main.css file
I corrected it in the following way:
#messagepartcontainer { position: absolute; top: 80px; left: 20px; right: 20px; bottom: 20px; /* MB: added IE hack to calculate view size */ width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); height: expression((parseInt(document.documentElement.clientHeight)-100)+'px'); }
#messagepartframe { width: 100%; height: 100%; border: 1px solid #999999; background-color: #F9F9F9; /* css hack for IE */ /* MB: For some reason the following put IE6 in a tightloop which requires to kill the application :( height: expression(parseInt(document.getElementById('messagepartcontainer').offsetHeight)+'px');*/ width: expression(parent.offsetWidth+'px'); height: expression(parent.offsetHeight+'px'); }
This cures the problem. I tested on several different workstations with IE6, and the problem is solved with this. I don't know what is causing it, maybe the getElementById call.
Please review the correction and if it's ok, include it in your bugfix release. Thank you
Mirko
List info: http://lists.roundcube.net/dev/