revPrintText/pageHeights broken in v2.8?

Phil Davis revdev at pdslabs.net
Wed Apr 4 14:40:09 EDT 2007


Good sleuthing, Richard! Thanks for sharing this.

Phil Davis


Richard Gaskin wrote:
> Yesterday I'd written:
> 
>> It seems that there may be a problem with the pageHeights property in 
>> v2.8.  I'm still pinning down the source of the problem, but have any 
>> of you found that revPrintText is printing with some lines missing 
>> between pages?
>>
>> If so, can you verify that this worked correctly in earlier versions?
>>
>> Do any of your own print routines which rely on the pageHeights 
>> property work well in v2.8?
> 
> I've since found the source of the problem:  If the stack being printed 
> is hidden, the rendering of the printed page will yield unpredictable 
> results.  In some cases no text will appear, in other cases (such as my 
> tests using revPrintText via Rev's File->Print Field menu item) the 
> resulting printout will have lines missing between pages.
> 
> None of this was reproducible in v2.7.4.
> 
> I've logged a bug report at:
> <http://quality.runrev.com/qacenter/show_bug.cgi?id=4601>
> 
> The workaround is to move the window offscreen rather than hiding it. If 
> moved offscreen but still visible all printing tests I've done get good 
> results.
> 
> It might be helpful to have input from others on this issue, since it's 
> still unclear to me whether the problem is in the buffering of the 
> window or something to do with the pageHeights property.  If you've 
> found any anomalies with printing hidden windows in Rev in v2.8, or have 
> had missing lines in printouts using revPrintText, please consider 
> adding your recipes to that BZ report.
> 
> Because RunRev remains had at work on updates to v2.8, timing may be 
> critical in seeing this addressed sooner rather than later.  So if 
> you've discovered printing anomalies like these please take a moment to 
> post your recipe to that report at your earliest convenience.
> 



More information about the use-livecode mailing list