[Okular-devel] Dt. 29th July - status

Albert Astals Cid aacid at kde.org
Tue Jul 30 21:43:11 UTC 2013


El Dimarts, 30 de juliol de 2013, a les 11:19:45, Jaydeep Solanki va escriure:
> On Tue, Jul 30, 2013 at 1:41 AM, Albert Astals Cid <aacid at kde.org> wrote:
> > El Dilluns, 29 de juliol de 2013, a les 23:57:38, Jaydeep Solanki va
> > 
> > escriure:
> > > Hi,
> > > As compared to other days, I didn't do much today.
> > > 
> > > But found some really interesting facts about our image not loading
> > 
> > problem.
> > 
> > > I know it's not possible but some how the override is not called instead
> > > the default implementation is called, I found out this by placing the
> > > images next to the binary and it works. Images load, which indirectly
> > > indicates that it is loading using default implementation.
> > > 
> > > I also tried removing the override, and having the images next to the
> > > binary, everything works.
> > > 
> > > If you have any hint, I would really appreciate it, because I'm really
> > > in
> > > need of one.
> > 
> > Have you tried debugging it? At some point in Qt there has to call
> > loadResource? What about putting a breakpoint in
> > QTextDocument::loadResource
> > and see what happens?
> 
> I tried it in the first place, but it doesn't hit the break point, that's
> how I concluded loadResource is not called.
> It hits the breakpoint for other files.

You set the breakpoint in EpubDocument::loadResource or 
QTextDocument::loadResource?

Again, do you have a small test case?

Albert

> 
> > > Also, I have started discovering QTextDocument source. It has a class
> > 
> > named
> > 
> > > QTextHtmlParser that does all the magic, I saw how it categorises Html
> > > elements, but I'm still not sure how it handles Css. I'll look into it
> > > further.
> > 
> > Cool :-)
> > 
> > > BTW, do you also contribute to Qt ? I saw you on #qt-labs.
> > 
> > I have done some small patches here and there, yes.
> > 
> > Cheers,
> > 
> >   Albert
> >   
> > > Cheers,
> > > Jaydeep
> > 
> > _______________________________________________
> > Okular-devel mailing list
> > Okular-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/okular-devel



More information about the Okular-devel mailing list