fzxs8 / chmsee

Automatically exported from code.google.com/p/chmsee
GNU General Public License v2.0
0 stars 0 forks source link

chmsee do not show images in some files #71

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
[b]What steps will reproduce the problem?[/b]
Some .chm files i opened with chmsee do not show images, while xchm do 
show.
sample file: http://www.mediafire.com/?jikjljyw1mn (just show the cover, 
not other images)

[b]What is the expected output? What do you see instead?[/b]
in the position of expected image, just a broken icon.

[b]What version of the product are you using? On what operating system?[/b]
v1.1.0-rc2/Arch Linux OR v1.0.3/Slackware. Seems a common issue.

Please provide any additional information below.

Original issue reported on code.google.com by binhk.ng...@gmail.com on 12 Apr 2010 at 3:30

GoogleCodeExporter commented 8 years ago
This is caused by image name case sensitive problem. In chmsee, displaying 
images is
totally controlled by mozilla gecko render.

To display this kind of book's images, you can correct it by hand.
e.g. cd ~/.chmsee/bookshelf/ec7720... && mv images Images

Original comment by jungl...@gmail.com on 12 Apr 2010 at 8:58

GoogleCodeExporter commented 8 years ago
According to http://tools.ietf.org/html/rfc3986, URI is not necessarily all 
case-insensitive. The schema and the host is case-insensitive, but the rest is 
supposed to be case-sensitive unless the schema explicitly defines it. As we 
are using Linux and the pages chmsee displays are under file schema, I suppose 
the URI ARE case-sensitive. Unfortunately, CHM is a file format created and 
supposed to be viewed in Windows, chances of name collisions in only 
capitalization is slim. Therefore, I suggest extract all files in lowercase 
filenames and parse the html files accordingly.

Original comment by augu...@gmail.com on 7 Nov 2010 at 9:17

GoogleCodeExporter commented 8 years ago
As Gecko embedding only send notify message about open-uri and uri-opened, 
chmsee has no way to interrupt Gecko rendering an html page. Lower the filename 
case can not solve this kind of image issue. 

Another problem is that some chmfiles contain case sensitive file. I 
encountered a chmfile, after extracting, there were two different files:  
"index.html" used for homepage and "Index.html" used for index in the same 
folder.

Original comment by jungl...@gmail.com on 11 Nov 2010 at 3:43

GoogleCodeExporter commented 8 years ago
Clear all pre-2.0 issues

Original comment by jungl...@gmail.com on 18 Jan 2013 at 6:10