Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can only view images, not text #23

Open
ghost opened this issue Jan 17, 2017 · 6 comments
Open

Can only view images, not text #23

ghost opened this issue Jan 17, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Jan 17, 2017

I tried with several epubs, but none is opened correctly. I see a black background, with only images showing correctly (all spaced like the text was really there, just I cannot see it). No errors are displayed.
You can try for example this Open epub from project gutenberg: http://www.gutenberg.org/ebooks/53979 (ebook with images).

I'm on archlinux, using this pkgbuild: https://aur.archlinux.org/packages/ebook-viewer-git/

Python 3.6
Webkit 2.4.11
Gobject introspection 1.50.0+1+gb8d92b0

Please tell me if more info are needed

@rafaelmardojai
Copy link
Contributor

I opened the epub you linked and i can see the text perfectly.

captura de pantalla de 2017-01-17 12-49-22

Maybe a theme related bug...

@ghost
Copy link
Author

ghost commented Jan 17, 2017

I'm using the default, Adwaita

@ghost
Copy link
Author

ghost commented Jan 24, 2017

Some follow-up: the issue happens only with the day theme. It doesn't happen anymore if I change to self.set_transparent(False) in viewer.py (which breaks the night theme though 😄 )

@michaldaniel
Copy link
Owner

@andya9 Can you try building from source? If the issue is still present attach some screen shot. I might need some additional info about your WebKit version, GTK version and what DE and GTK Theme are you using.

@ghost
Copy link
Author

ghost commented Feb 8, 2017

I was already building from source. I rebuilded it now and the issue persists: here a screenshot. You can see the black window, with three small rectangles which are images; the real file as text all around.

Python 3.6
Webkit 2.4.11
Gobject introspection 1.50.0+1+gb8d92b0
Gtk 3.22.7
DE: openbox
Theme: Adwaita

@uriel1998
Copy link

I have exactly the same issue (though switching theme doesn't seem to matter), but may be able to provide some insight; looking at this book, I can just see the header text.

2017-07-27--1501198621_789x712_scrot

I am also using a GTK3 theme (Miniwata) with the "use global dark theme" switch set, though that doesn't seem to matter. Are the font or colors set by the ePub CSS at all? Or are they set directly in the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants