Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 06-24-2010, 08:01 PM   #1
luite
Connoisseur
luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.
 
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
Problem (bug) with bookmarks in PDF plugin (2.0 RC2)

I found a problem with the pdf plugin in document-viewer-plugins-4.0+svnr6952. Note that this plugin is not used anymore to view PDF files, unless you manually replace the newer closed source plugin. It does serve however as documentation for plugin writers, and my own DjVu plugin is based on its sources (and therefore has the same issue). I don't know if the bug is in uds or in the document-viewer-plugins, and it is hard to debug since half of the files are closed source.

Symptoms: You can create a bookmark by clicking on the upper right corner, but the dog ear doesn't turn grey. You cannot remove the bookmark by clicking again. The bookmarks menu does list the bookmarks correctly.

To reproduce:
- install poky sdk, emulator, and extract document-viewer-plugins-4.0+svnr6952
- edit /plugins/pdf/plugin_impl/Makefile.am:
uncomment the line:
## plugin_LTLIBRARIES = libuds-plugin-@PACKAGE_NAME@.la
and add ## to the line above (noinst_LTLIBRARIES ...)
- autoreconf --install && ./configure --host=arm-poky-linux-gnueabi && make
- rename the file /plugins/pdf/plugin_impl/.libs/libuds-plugin-pdf.so to libuds-plugin-adobe.so
- copy libuds-plugin-adobe.so to /usr/lib/uds/ on the emulator, overwriting the existing file
- copy /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib/libpoppler.so.3 to /usr/lib/ on the emulator
- open a PDF file on the emulator, browse to an arbitrary page and click on the dog ear in the upper right corner. Note that the dog ear does not turn grey.
- Check the bookmarks menu: the bookmark is listed. Clicking the dog ear again does not remove the bookmark.

(I've already reported this bug in the DjVu plugin thread. See this message: https://www.mobileread.com/forums/sho...0&postcount=25 for something that looks like another bug in document-viewer-plugins, but that bug doesn't seem to cause this issue)
luite is offline   Reply With Quote
Old 07-12-2010, 02:36 AM   #2
luite
Connoisseur
luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.
 
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
Any news on this issue? I realise that this is probably not a high priority issue for irex, but I'd really like to make the bookmark function work correctly for the djvu plugin.

If it's not going to be fixed, could anyone explain what has changed in the handling of bookmarks between the old and new pdf plugin (since bookmarks in the new closed source pdf plugin do work fine) so that I can try to fix it myself?
luite is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DR1000 DR1000 Chinese Vertical Layout TXT plugin install Problem spuggy iRex 0 08-28-2010 02:30 PM
pdf bookmarks alexxx Amazon Kindle 3 07-01-2010 08:36 AM
DR800 Power button problem with RC2 firmware apple101 iRex 7 06-16-2010 02:00 PM
How to include a pdf crop plugin. Hanselda Plugins 3 04-28-2009 08:35 AM
PDF Bookmarks? firekat iRex 2 09-09-2007 04:33 AM


All times are GMT -4. The time now is 11:17 AM.


MobileRead.com is a privately owned, operated and funded community.