Code Monkey home page Code Monkey logo

document-viewer's People

Contributors

abderrahim avatar aelmahmoudy avatar dschuermann avatar ebraminio avatar ericwa avatar fid-jose avatar fliegendewurst avatar hwasiti avatar krasnayaploshchad avatar luiscruz avatar matsimon avatar megaminxwin avatar mightyscoopa avatar mrcolbyrussell avatar naofum avatar spiritquaddicted avatar sss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

document-viewer's Issues

Color hue or saturation is off or washed out.

https://code.google.com/p/ebookdroid/issues/detail?id=437

What steps will reproduce the problem?

  1. open a PDF with color images.

What is the expected output?
Colors are darker and detailed.

What do you see instead?
Colors are washed out and overexposed.

What version of the product are you using?
1.6.4

On what operating system?
4.1.1

What device are you using?
Galaxy Note 10.1

Please provide any additional information below.
The color rendition is off with multiple PDF files. I've tried several textbooks and while text is sharp, there is a color difference with the entire file. I've attached photos to illustrate what I am seeing.

I have tried adjusting the contrast, gamma, exposure for hours trying many combinations to get closer but all it does is wash it out more. Is there an unadjusted color scheme?

Text blinking with 'fade in' (single page mode)

https://code.google.com/p/ebookdroid/issues/detail?id=392

What steps will reproduce the problem?

  1. set User interface\Brightness to 30%
  2. set Rendering to 'Single page'
  3. set Page transition to 'Fade in'
  4. turn the page

What is the expected output?
the next page must brighten (fade out) from 0% brightness to 30% brightness

What do you see instead?
the next page brightens from 0% brightness to 100% brightness and then down to 30%. the page is 'blinking'

What version of the product are you using?
1.6.2

On what operating system?
4.1.1

Please provide any additional information below.
Blinking is very annoying when reading at night in 'Night mode'

Slow scrolling and rendering on Huawei Mediapad 10 FHD

https://code.google.com/p/ebookdroid/issues/detail?id=524

What steps will reproduce the problem?
1.Open any pdf or djvu document
2.See slow, laggy scrolling and slow page rendering. Much slower than on single core Xperia Arc phone.
3.

What is the expected output?
Maybe GPU acceleration used a wrong way, or Huawei GPU driver is not optimized. Maybe to add a setting for CPU-only (software) rendering and scrolling, or to repair the GPU rendering.

What do you see instead?

What version of the product are you using?

On what operating system?
Android 4.1.2, stock

What device are you using?
Huawei Mediapad 10 FHD, 1,4 GHz Cortex A9 CPU (Hisilicon K3V2), Vivante GC4000 GPU, 2 GB RAM.

Please provide any additional information below.
Feel free to contact me on e-mail, both russian and english. I can help you to test new versions.

Post-processing bug in night mode - black screen becomes grey

https://code.google.com/p/ebookdroid/issues/detail?id=426

The problem concerns decreesing brightness/contrast in night mode.
When tuning any of graphic postprocessing options to decrease minimal Super_AMOLED+ screen brightness - black screen background becomes grey and awfully eye hurting...

What is the expected output?

  • I want to block postprocessing of background, only for text and picture layers.
  • I want to tune text brightness increasing/decreasing via screen left border sliding, like it is implemented in the latest version of Cool Reader.
  • I want to use minimal text brightness, less than such in android tray settings (see Cool Reader).

What version of the product are you using?
1.6.4

On what operating system?
Android 3

What device are you using?
Samsung Galaxy Tab 7.7

ClassCastException in AsyncTask

I/wpa_supplicant(15187): wlan0: WPA: Group rekeying completed with 00:0f:cc:cd:11:70 [GTK=TKIP] D/dalvikvm(16713): GC_CONCURRENT freed 1985K, 63% free 3179K/8451K, paused 8ms+4ms, total 34ms D/dalvikvm(16713): WAIT_FOR_CONCURRENT_GC blocked 21ms I/ActivityManager( 280): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.sufficientlysecure.viewer/org.ebookdroid.ui.library.RecentActivity u=0} from pid 464 V/tiny_hw ( 105): out_write(0x41efaa88) opening PCM(0), card,dev: 0,0 D/dalvikvm(16967): Late-enabling CheckJNI I/ActivityManager( 280): Start proc org.sufficientlysecure.viewer for activity org.sufficientlysecure.viewer/org.ebookdroid.ui.library.RecentActivity: pid=16967 uid=10145 gids={1015, 3003, 1028} E/Trace (16967): error opening trace file: No such file or directory (2) I/Document Viewer(16967): Document Viewer (org.sufficientlysecure.viewer) 2.0(2000) I/Document Viewer(16967): Root dir: /system I/Document Viewer(16967): Data dir: /data I/Document Viewer(16967): External storage dir: /storage/sdcard0 I/Document Viewer(16967): App storage dir: /storage/sdcard0/.org.sufficientlysecure.viewer I/Document Viewer(16967): Files dir: /data/data/org.sufficientlysecure.viewer/files I/Document Viewer(16967): Cache dir: /data/data/org.sufficientlysecure.viewer/cache I/Document Viewer(16967): System locale : en_GB I/Document Viewer(16967): VERSION : 16 I/Document Viewer(16967): BOARD : picasso I/Document Viewer(16967): BRAND : Acer I/Document Viewer(16967): CPU_ABI : armeabi-v7a I/Document Viewer(16967): CPU_ABI2 : armeabi I/Document Viewer(16967): DEVICE : a500 I/Document Viewer(16967): DISPLAY : cm_a500-userdebug 4.1.2 JZO54K eng.pj.20121122.181927 test-keys I/Document Viewer(16967): FINGERPRINT : acer/a500_ww_gen1/picasso:4.0.3/IML74K/1329824557:user/release-keys I/Document Viewer(16967): ID : JZO54K I/Document Viewer(16967): MANUFACTURER: Acer I/Document Viewer(16967): MODEL : A500 I/Document Viewer(16967): PRODUCT : picasso I/Document Viewer(16967): Debug logging enabled by default D/Document Viewer.DBAdapter(16967): New DB connection created: null I/Document Viewer.SettingsManager(16967): BookSettingsUpdate thread started I/Document Viewer.CacheManager(16967): Default app cache dir: /data/data/org.sufficientlysecure.viewer/files I/Document Viewer(16967): No heap preallocation I/Document Viewer(16967): UI Locale: en_GB D/Document Viewer.RecentActivity.0(16967): onCreate(): null D/Document Viewer.RecentActivityController.0(16967): beforeCreate(): org.ebookdroid.ui.library.RecentActivity@421257a0 D/Document Viewer.RecentActivityController.0(16967): afterCreate(): false D/Document Viewer.RecentActivityController.0(16967): Last book: , found: false, should load: false D/Document Viewer.RecentActivity.0(16967): onStart() D/Document Viewer.RecentActivity.0(16967): onCreate(): null D/Document Viewer.RecentActivity.0(16967): onResume() D/Document Viewer.RecentActivityController.0(16967): onResume(): false D/Document Viewer.RecentActivity.0(16967): onPostResume() D/libEGL (16967): loaded /system/lib/egl/libEGL_tegra.so D/libEGL (16967): loaded /system/lib/egl/libGLESv1_CM_tegra.so D/libEGL (16967): loaded /system/lib/egl/libGLESv2_tegra.so D/OpenGLRenderer(16967): Enabling debug mode 0 D/dalvikvm(16967): GC_FOR_ALLOC freed 687K, 25% free 6400K/8451K, paused 20ms, total 22ms W/dalvikvm(16967): threadid=14: thread exiting with uncaught exception (group=0x41d59300) I/System.out(16967): Stacktrace is written: /storage/sdcard0/.org.sufficientlysecure.viewer/logs/org.sufficientlysecure.viewer.2.0.20130704.111635.stacktrace E/AndroidRuntime(16967): FATAL EXCEPTION: ThumbnailLoader-1 E/AndroidRuntime(16967): java.lang.RuntimeException: An error occured while executing doInBackground() E/AndroidRuntime(16967): at org.emdev.ui.tasks.AsyncTask$2.done(AsyncTask.java:230) E/AndroidRuntime(16967): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273) E/AndroidRuntime(16967): at java.util.concurrent.FutureTask.setException(FutureTask.java:124) E/AndroidRuntime(16967): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307) E/AndroidRuntime(16967): at java.util.concurrent.FutureTask.run(FutureTask.java:137) E/AndroidRuntime(16967): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) E/AndroidRuntime(16967): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) E/AndroidRuntime(16967): at java.lang.Thread.run(Thread.java:856) E/AndroidRuntime(16967): Caused by: java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.Void[] E/AndroidRuntime(16967): at org.ebookdroid.common.cache.ThumbnailFile$LoadingTask.doInBackground(ThumbnailFile.java:163) E/AndroidRuntime(16967): at org.emdev.ui.tasks.AsyncTask$1.call(AsyncTask.java:215) E/AndroidRuntime(16967): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305) E/AndroidRuntime(16967): ... 4 more W/ActivityManager( 280): Force finishing activity org.sufficientlysecure.viewer/org.ebookdroid.ui.library.RecentActivity W/dalvikvm(16967): threadid=15: thread exiting with uncaught exception (group=0x41d59300) I/System.out(16967): Stacktrace is written: /storage/sdcard0/.org.sufficientlysecure.viewer/logs/org.sufficientlysecure.viewer.2.0.20130704.111635.stacktrace I/Process (16967): Sending signal. PID: 16967 SIG: 9 I/ActivityManager( 280): Process org.sufficientlysecure.viewer (pid 16967) has died. I/WindowState( 280): WIN DEATH: Window{420cc3f0 org.sufficientlysecure.viewer/org.ebookdroid.ui.library.RecentActivity paused=true}
Second after loading a document: `

File browser closing unexpectedly

https://code.google.com/p/ebookdroid/issues/detail?id=482

What steps will reproduce the problem?

  1. Read some short books. For example you have few books in dir.
  2. Press button "Show files", browse to where books are.
  3. Open one book
  4. Press button "Back" - you return to file browser.
  5. Open other book
  6. Press button "Back" - you return to file browser. (This is working as many times as you need)
  7. But! Press "home", or switch to other app, while book are opened
  8. Return/Rerun ebookdroid, after a while, or after some other action (Actually, I'm reporting this to find uot if there any other users with same problem/behavior)
  9. Press button "Back" - for an instant you see that dir in file browser, then it quickly closes and you see bookshelves instead.

What is the expected output?
Either show normally file browse dialog, or just go to shelve if it's not possible (I believe still it's possible, since for a moment you are see that right one dir)

What do you see instead?

What version of the product are you using?
1.6.6

On what operating system?
Android 4.1.2

What device are you using?
SGS3

Please provide any additional information below.

Also, this is minor. If you read few books by this method from one directory, fiels aren't marked as read, until you close filebrowse or ebookdroid and reopen it.

Do not intrude to pdf download intent

The app intercepts pdf downloads and takes up download function. This it's irritating. Can it be made optional? I'm tempted to uninstall it... ;)

Incorrect page view on padfone 2

https://code.google.com/p/ebookdroid/issues/detail?id=522

What steps will reproduce the problem?

  1. Using application in both modes - tablet and phone
  2. Switching portrait/landscape view

What is the expected output?
Page should not be scaled vertically to half

What do you see instead?
Normal width and scaled to half height

What version of the product are you using?
EbookDroid 1.6.6

On what operating system?
Android

What device are you using?
Padfone 2

Pinch-to-zoom should zoom around the pinching center, not the screen center

https://code.google.com/p/ebookdroid/issues/detail?id=519

What steps will reproduce the problem?
0. (optional) Get a tablet, if possible. It is more noticeable on larger screens.

  1. Open any file in EBookDroid 1.6.6.
  2. (optional) Show pages side-by-side, and leave the tablet in landscape orientation. This way, you can see 2 or 3 pages at once on the screen.
  3. Use two-finger-pinch gesture to zoom in and out.

What is the expected output?
The zoom should happen around my fingers, centered on the pinch center. In other words, the touched page regions should keep touching my finger.

What do you see instead?
The zoom happens around the center of the screen.

For comparison, open Google Maps and try the same gesture there.

What version of the product are you using?
1.6.6

On what operating system?
Android JellyBean

What device are you using?
Galaxy Nexus and also a CyanogenMod 7" tablet.

"Single page" view settings too hidden

https://code.google.com/p/ebookdroid/issues/detail?id=505

What steps will reproduce the problem?

  1. Be a noob
  2. Download ebookdroid, and read in the description "We do have page turning emulation - just switch to single page mode and choose page turning effect of your choice!"
  3. Try to find "single page mode"

What is the expected output?
This should be very easy to find.
I would expect it to be under the "magnifying glass (?)" icon, that has "full screen" "Show title", etc.

What do you see instead?
This setting is hidden very deeply.
All Setting - makes sense, though a direct view mode menu would be better
Rendering - not really the place I'd expect this setting. Rendering sounds more like issues about fonts and stuff.
Document View mode - makes sense. But it is the 5th option down, so one has to read fairly carefully.

It is also available in Book settings, and there is a bit less hidden. But the noob (me) is looking to have ALL books behave in a certain way

What version of the product are you using?
1.6.6

On what operating system?
Android 4.1.2

What device are you using?
Galaxy Note 2

Please provide any additional information below.
May 14, 2013 Delete comment #1 mlachmann

request: replace white in night mode with a different color

I don't have much experience with programming, I'm more of a 'reader' and almost always I use the night mode for reading: it's easier on the eyes. However the white in the night mode is still too bright and contrasty for night reading and it would be very nice if one can change that text color to something less abrasive like beige or khaki. My brother is telling me that the process for getting into nightmode in this code (EbookDroid) is a series of loops that converts the document colors to their corresponding negative values (somehow) and its not straightforward to make the whites in nightmode to some other color like I mentioned. I would very much appreciate if you could consider this possibility as it really enhances the reading experience for those who do intensive reading on this app.

Menu item to show properties of a PDF

Thanks to all devs, it is the most useful reader on android! :-)

When reading aPDF, it is currently not possible to check the document properties (author, date, fonts used, etc). It would be very useful to have a feature that allows reading all properties as well.

Thanks!

Crashes during search if split-pages is enabled

https://code.google.com/p/ebookdroid/issues/detail?id=460

What steps will reproduce the problem?

  1. open a two-column pdf with split-pages enabled.
  2. Search for a string of text.
  3. The display moves and highlights a region (sometimes the wong one!)
  4. Select arrow to find the next match.
  5. EbookDroid closes.

What is the expected output?
I expected search to work as usual. It does work if I disable split-pages.

What do you see instead?
Program closes.

What version of the product are you using?
1.6.6

On what operating system?

What device are you using?

Please provide any additional information below.

Cyrillic fonts issue

PDF with Cyrillic fonts are displayed incorrectly.
Please see screenshot attached.

screenshot_2014-07-20-00-27-18

'Crop pages (auto)' fails at some pages of the attached file

https://code.google.com/p/ebookdroid/issues/detail?id=572

What steps will reproduce the problem?

  1. Open the file at page 105.
  2. Enable option 'Crop pages (auto)'.
  3. Scroll pages up and down.

What is the expected output?
Normally zoomed image.

What do you see instead?
Very high level of zoom, cropped text. Sometimes gray pages instead of rendered images.

What version of the product are you using?
2.0.2

On what operating system?
Android 4.1.1

What device are you using?
Chuwi V99

Trying to add more functionally to the app

Hi i'm trying to add the following to the app:

Calculator
and a activity that launches a flashcard app I have made

I have the code for the calculator i just need to know how to add it to the viewpager for the bookshelf

Thanks in advance

Tap-on-screen submenus not properly accessible

https://code.google.com/p/ebookdroid/issues/detail?id=467

What steps will reproduce the problem?
После официального обновления Samsung Galaxy S2 до Android 4.1.2 Jelly Bean:

  1. Во время просмотра PDF нажать кнопку меню или два раза тапнуть по экрану.
  2. Появляется меню "Навигация, Вид, Настройки, О программе, Закрыть".
  3. При нажатии на первые три пункта меню (Навигация, Вид, Настройки) на долю секунды появляется нужное меню и сразу пропадает. Пункты "О программе" и "Закрыть" работают нормально.

What is the expected output?
Меню навигации и настроек.

What do you see instead?
Ничего.

What version of the product are you using?
v 1.6.6

On what operating system?
официальный Android 4.1.2

What device are you using?
Samsung Galaxy S2

Please provide any additional information below.
Невозможность использовать меню в книге очень мешает. До этого программа была для меня лучшим и единственным PDF-ридером.

scrolling begins with a jerk

https://code.google.com/p/ebookdroid/issues/detail?id=433

What steps will reproduce the problem?

  1. open document (djvu)
  2. hold finger on screen to scroll
  3. move finger

What is the expected output?
smooth document scrolling from the minimal finger move

What do you see instead?
document scrolling begins with a jerk after the displacement of a finger on a half-centimeter, in case of long hold with no displacement - scrolling does not start

What version of the product are you using?
ebookdroid 1.6.4

On what operating system?
android 2.3.5

What device are you using?
htc desire s

Please provide any additional information below.

Allow negative page-offsets

Please allow negative numbers as page-offsets in the book settings.

I have some djvu ebooks that include some front matter (title page, etc.) before getting to page 1.

Often loses position when zoom

Many thanks for picking up and working on this app. I use it a lot to read PDF magazines and have a few issues to report.

Often, when I double-click on a column to zoom in to fit the view to the column width, it will do the zoom but navigate to a completely different page at the same time. Usually when it does this it goes to somewhere much earlier in the document, but it once went to a later page.

It doesn't always do this and I haven't yet managed to find a pattern as to why it does it some times and not others.

If I bother to scroll to the correct page keeping the zoom level the same, I will see that the zoom percentage it has chosen it just right for the column that I double-clicked on, although I haven't checked that every time.

Sony Xperia Pro, Android 2.3.4, Document Viewer 2.5

PDF Problem: Bio Journal, Elsevier

Came by mail:

I've a problem with the attached pdf, it closes document viewer each
time I try to reopen it (worked well the first time).

I attached the syslog (part of it), I think the problem is due to
something like that :
"error: cannot load page 9 contents"

The file opens correctly using okular on linux and correctly using
lecturenotes with pdfview import (using mupdf too).

Name:
Orthogonal analytical methods for botanical standardization:
Determination of green tea catechins by qNMR and LC–MS/MS

Store only book specific settings per book, not global settings

https://code.google.com/p/ebookdroid/issues/detail?id=504

What steps will reproduce the problem?

  1. Go to file browser mode
  2. All settings->Rendering->Page transitions->Fade in (for example)
  3. Open a previously unread book
  4. Exit the book, and now change the global setting: All settings->Rendering->Page transitions->Slide
  5. Open the same book again

What is the expected output?
I would expect the book to now have a page transition of 'slide", which is the global option I chose.

What do you see instead?
Page transition stays "Fade in", from the first time the book was opened.

A book should only remember the book-specific settings that were set via "Book settings", not those set via "All Settings".

What version of the product are you using?
1.6.6

On what operating system?
Android

What device are you using?
Galaxy Note 2

Please provide any additional information below.

Bad rendering size in pdf

https://code.google.com/p/ebookdroid/issues/detail?id=512

What steps will reproduce the problem?

  1. Open and read pdf document: (Creating a Website - The Missing Manual (OReilly, 2011). See link at the end.
  2. Scroll from page to page

What is the expected output?
Regular font size (or zoom factor) from page to page

What do you see instead?
Every second page is rendered larger. The problem is apparently caused by the elimination of a margin and a higher zoom factor every second page.

What version of the product are you using?
1.6.6

On what operating system?
Android 4.2.2

What device are you using?
Nexus 10

Please provide any additional information below.
I put a copy of the problem pdf at
https://dl.dropboxusercontent.com/u/22346285/books/Creating%20a%20Website%20-%20The%20Missing%20Manual%20%28OReilly%2C%202011%29.pdf

Sometimes 'Go to...' or 'Outline' doesn't work

It's a weird issue. Usually when I press 'Go to...' and type a number and press 'Go', it simply refreshes at the original page, not the page I inputted. I need to do twice or so to switch to a new page. The problem of 'Outline' is similar. When I choose a page in 'Outline', it stops at the original page. I need to do this many times to switch a page.

Android 4.1.2 (my Samsung phone) & Android 4.1.1 (my Samsung tab)
Document Viewer 2.5, installed from F-Droid.

Multiple notifications on file adding to library

https://code.google.com/p/ebookdroid/issues/detail?id=463

What steps will reproduce the problem?

  1. Open EbookDroid
  2. Open standard Android browser
  3. Find any big pdf file (which will load for a few seconds) and download it ("Save link" from browser context menu)

What is the expected output?
After the file is loaded, the only one "File added to library" message appears in the Android status bar.

What do you see instead?
"File added to library" messages continuously added in the Android notification list until the status bar will filled out with notification icons. After pressing the "Clear" button in the notification list, the notification list is cleared and messages continue to be added again, even after the file is already loaded.

What version of the product are you using?
1.6.6

On what operating system?
Google Android 2.3.7

What device are you using?
Pocket Book A10 3G

Please provide any additional information below.
This also applies to the Dolphin browser, but does not affect the Opera browser.

Cannot swipe forward/back when viewing portrait document on landscape screen under "Fit width (single page)" rules

Steps to reproduce:

  • Open a portrait PDF
  • Turn tablet to landscape orientation
  • Under settings select "Single page" navigation and "Fit width" zoom
  • Swipe left / right

What should happen:

  • Turn page previous / next

What happens instead:

  • Nothing

Notes:

  • This works as expected in when the tablet is in portrait orientation
  • Can navigate to next page by scrolling down and pressing "hand" icon - no workaround to navigate to previous page

multi-part PDF not working

https://code.google.com/p/ebookdroid/issues/detail?id=420

What steps will reproduce the problem?

  1. Open a multi-part PDF
  2. Open Outline -- outline links to other files do not appear.
  3. Tap page-link to other file; nothing happens

What is the expected output?

  • Outline should show links to other PDF files (usually in same folder)
  • PageLinks and OutlineLinks to other PDF files should open the other PDF file and target the specified page.

What do you see instead?

  • PageLinks don't work
  • Outline is missing external links

What version of the product are you using?
1.6.4

On what operating system?
Android 2.3.3 - 4.1.2

What device are you using?
Various

Please provide any additional information below.
These are GOTOR links, and the filespec is available in muPDF. Just need to provide a way to switch documents (using intents?) internally. Extra credit if the navigation history maintains a path through multiple files.

Missing fonts?

The german pdf manuals from gnupg.org are unreadable. Seems that there are missing fonts.

App switches to the bookshelf/home screen when attempting to scroll down a new eBook page.

https://code.google.com/p/ebookdroid/issues/detail?id=424

What steps will reproduce the problem?

  1. Open a new eBook file.
  2. Attempt to scroll down page.
  3. Application exits the file and switches to the bookshelf/home screen.

What is the expected output?

File should continueto scroll in direction swiped.

What do you see instead?

Bookshelf/Home screen

What version of the product are you using?

1.6.4

On what operating system?

Android 4.1

What device are you using?

ASUS TRANSFORMER TF300

App fails on Replicant 4.0 0005

Document Viewer fails when trying to view a PDF file on Replicant 4.0 0005 . I've used Document Viewer on a stock Android 2.3.5 with the same PDF file without any problems.

The error is as follows:

Title: Application error
Message: Your device cannot support required GLES configuration

I'm using version 2.2 of Document Viewer released through f-droid for both the Android device and the Replicant device.
The hardware with Replicant 4.0 0005 installed is a Samsung Galaxy Tab 2 7.0 (GT-P3110)

My initial thought is that "GLES" might refer to OpenGL ES [1].

[1] https://en.wikipedia.org/wiki/OpenGL_ES

Add some additional scrolling actions

I am one of the lucky few to have a phone with a slideout hardware keyboard (Sony Xperia Pro), and I use it to read PDFs in Document Viewer with keys mapped to the Scroll Back and Scroll Forward actions. I have set the "Scroll height" setting to 85%. This allows me to to go through the document roughly one screenfull at a time without my fingers getting in the way of the screen. I have also configured taps at the top and bottom of the screen to do the same thing, useful if I wish to read without the keyboard open, e.g. in portrait mode, by the way.

This is fine in itself but I often read multi-column text where, when I reach the bottom of the column, I have to scroll to the top of the current column then scroll right to reach the top of the next. I have to do the scrolling to the left and right with my finger on the screen, which breaks up the flow a little.

So, I suggest some additional actions could be added, which users could map to key presses and screen taps.

Firstly, it would be great to have some actions to go left and right by a screenfull, or a percentage of a screenfull. If you added such actions, I suggest that there needs to be a separate setting from the current "Scroll height" setting for the left and right percentage. For example, if I was zoomed into a column such that it was fitting the full width, I would want the "Scroll width" to be 100%, but keep "Scroll height" on 85%.

Secondly, and in addition to the above, it would be great to have additional actions available to fine tune the scroll position up, down, left and right, without have to drag on the screen. That is, rather than going a screenful, or a percentage of a screenfull, go just a small amount. In many cases I'm sure that moving a screenfull to the left or right would not properly line up with the next column, so these actions would be useful to get the view into the correct position. This would also be useful for up and down when I don't wish to move a whole 85%.

If I may be so bold, in my opinion the ideal model for the fine tuning scrolling actions would not be PC-style where pressing the key once moves by one line in a stepwise fashion, and after a while an autorepeat kicks in. Instead, it would be great to see a smooth scrolling solution, where if the key was pressed very briefly it would only move by a pixel or two, but if held down it would smoothly scroll continuously until the key is released. A small amount of acceleration would add some polish, up to not too high a maximum speed.

(This was the keyboard scrolling model used in the default web browser on the non-Android Nokia N900, and it was a most satisfactory way of scrolling round a document smoothly, without fear of overshooting).

If you implement the smooth scrolling suggestion, you might need to consider renaming the current Scroll Up and Scroll Down options, which are really more like Page Up and Page Down, or maybe Screen Up and Screen Down.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.