going1000 / ichm

Automatically exported from code.google.com/p/ichm
0 stars 0 forks source link

iChm 1.4.2 rendering problem #124

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm experiencing a corrupted document (rendering issue) with Mac OS X 10.6.5 
and with iCHM version 1.4.2 (79f1c63). 

The step to reproduce this reliably:

1. Open a document in iChm
2. Scroll to the middle of the page 
3. Click on document tab to give it focus
4. Scroll up a bit

and you get a horizontal line across the document (see attached screen shot).

This also happens if you switch focus between iChm and some other application.

Original issue reported on code.google.com by veritas....@gmail.com on 21 Nov 2010 at 2:32

Attachments:

GoogleCodeExporter commented 8 years ago
can you send the file to me?

Original comment by iamawal...@gmail.com on 21 Nov 2010 at 10:54

GoogleCodeExporter commented 8 years ago
This is not specific to the file. I can reproduce this with any *.chm file and 
on iMac with ATI video card, Mac Pro with nVIDIA 8800GT or aluminum Macbook 
with nVIDIA 9400M. 

I think the actual problem is with PSMTabBarControl which hasn't been in active 
development since 2007. The tab bar repaint code is simply not correct and the 
bottom edge of the tab bar (narrow line) is not cleared when focus is lost, 
leaving it rendered over the document itself. I don't know what this means for 
iCHM and if it is time to move to a different component :D.

By the way if you are interested in the file itself, it's python documentation 
that comes with Windows distribution of python 2.7, and you can probably get it 
at python.org, but I have attached it here as well.

Original comment by veritas....@gmail.com on 21 Nov 2010 at 12:52

Attachments:

GoogleCodeExporter commented 8 years ago
Got it. Thanks for reporting the issue.

Original comment by iamawal...@gmail.com on 21 Nov 2010 at 3:16