08-30-2023, 08:00 PM | #466 | |
cosiñeiro
Posts: 1,330
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Known issue. The DownloadManager is broken on Tolinos, at least some of them. The string you quoted was added as a workaround for that specific brand: If the DownloadManager produces an exception show it and ask "retry using the browser?".
See https://github.com/koreader/koreader/issues/5731 Quote:
My suggestion would be: 1. double check your preferred browser. KO sends a generic intent pointing to an APK, like https://github.com/koreader/koreader...m-v2023.08.apk but the system is in charge to decide which app will handle that link. 2. if you're not able to get it working again try to switch to Fdroid version and just update like any other fdroid app or install the apk manually with adb |
|
08-30-2023, 08:14 PM | #467 | |
cosiñeiro
Posts: 1,330
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
The patch: https://github.com/koreader/koreader-base/pull/1650 Goes live when it reaches https://github.com/koreader/koreader. If you're running nightlies you can get it the night/day after it goes live |
|
Advert | |
|
08-30-2023, 08:31 PM | #468 | |
Member
Posts: 17
Karma: 10
Join Date: Aug 2023
Device: Hisense A9
|
Quote:
|
|
08-31-2023, 03:34 AM | #469 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2023
Device: PW2 (90D4 XXXX) 5.12.2.2 - & - tolino shine3
|
Quote:
Anyway the more i use koreader, the more i realize how fascinating this pease of software is. Thank you very much, there is hardly people i can talk about it... and last but not least, another great plus using koreader on to different devices is, that you have one at home and the other at work and everything feels the same and even syncing to them is so good. |
|
08-31-2023, 05:08 PM | #470 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2023
Device: PW2 (90D4 XXXX) 5.12.2.2 - & - tolino shine3
|
I got my android phone connected with my tolino via cable and could transfer the files. I needed fdroid classic, as it is the last version supporting kitkat 4.4. Did not think about it at the first time..
|
Advert | |
|
09-01-2023, 06:22 PM | #471 | |
cosiñeiro
Posts: 1,330
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
You can have both installed at the same time, so I would recommend you that until the fix you're waiting for is included on the next Fdroid release v2023.09. Otherwise you need to wait more than a month for it. |
|
09-02-2023, 05:39 AM | #472 |
Member
Posts: 17
Karma: 10
Join Date: Aug 2023
Device: Hisense A9
|
Thank you for your clear explanation. And the button press now works on my device! You're a lifesaver! Thanks so so so much. I just sent you a donation, it's in JPY if that helps to identify me.
|
10-20-2023, 02:33 AM | #473 |
Member
Posts: 13
Karma: 11102
Join Date: Aug 2023
Device: Nook Glowlight 4e
|
Is orientation supposed to work in Nook Glowlight 4 (4e in my case)?
The device is 1024x758 and works perfectly when not rotated, but rotation to 90 or 270 reveals the following
Thanks. |
10-20-2023, 02:35 PM | #474 | |
cosiñeiro
Posts: 1,330
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
Will be working again with https://github.com/koreader/android-...ncher/pull/439 In the mean time those with affected devices that rely on hw rotation can use v2023.05 or previous releases. If v2023.05 doesn't fix the issue, then the device is broken beyond repair and the only solution is to disable hw rotation completely and fallback to software rota (KO is rotated, system is not). In that case please read and comment in https://github.com/koreader/koreader/issues/8482 Last edited by pazos; 10-20-2023 at 02:37 PM. |
|
10-20-2023, 07:39 PM | #475 | |
Member
Posts: 13
Karma: 11102
Join Date: Aug 2023
Device: Nook Glowlight 4e
|
Quote:
Code:
local frBuffer = require("ffi/framebuffer_android") frBuffer.setRotationMode = function(self, mode) end By the way, maybe its reasonable to provide something like "always use software rotation" in the settings? The mode for epub that worked with the above patch seemed to work correctly. |
|
10-20-2023, 07:57 PM | #476 | |
cosiñeiro
Posts: 1,330
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
HW rotation and SW rotation are indeed very bad names. Both are software. The former requests the rotation to android so everything is rotated (system ui, other apps...). The later is a rotation we do on our own before posting to the android sufarce. Certainly, from a maintainer's perspective, makes little sense to offer inferior options on menus. Better to fix the bugs that make you consider that inferior option in the first place But you're free to do what you want with users patches, of course. |
|
10-21-2023, 05:33 PM | #477 | ||
Member
Posts: 13
Karma: 11102
Join Date: Aug 2023
Device: Nook Glowlight 4e
|
Quote:
Quote:
Anyway, the script below works for any file (epub, pdf) and probably for any view of the program. Anyone who want to force the program rotation (vs system) for KoReader 2023.08 should create the file named 1-force-soft-rot.lua in the sdcard/koreader/patches directory with the following text Code:
local logger = require("logger") local frBuffer = require("ffi/framebuffer_android") frBuffer.setRotationMode = function(self, mode) logger.info("Forcing software rotation") frBuffer.parent.setRotationMode(self, mode) end frBuffer.getRotationMode = function(self) return self.cur_rotation_mode end |
||
11-15-2023, 03:20 PM | #478 | |
Enthusiast
Posts: 41
Karma: 1037
Join Date: Nov 2021
Device: Nook Simple Touch (3), Nook Simple Touch w/Glowlight (3)
|
Quote:
I've been using an app that can force orientation on an app-by-app basis through Accessibility settings. This is so much better! Now KOreader behaves just like everything else, adopting the current system orientation. Edit: Okay......never mind. I had only turned off control of KOreader screen orientation with the rotation control app, even rebooted, and everything looked good. But when I actually uninstalled the rotation control app, then KOreader resumed its random screen orientations, regardless of the system orientation even with the patch. SIGH. Well, I still think your patch is a great idea, it just doesn't work for these ROMs. At least I have something that does work. Last edited by nmyshkin; 11-16-2023 at 03:06 PM. Reason: change in behavior |
|
12-28-2023, 02:05 PM | #479 | |
Member
Posts: 22
Karma: 10
Join Date: Apr 2023
Device: PW5
|
Quote:
|
|
01-05-2024, 02:19 AM | #480 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jan 2024
Device: Onyx BOOX Palma
|
Hi,
I have been trying to create a user patch to account for the BOOX Palma's massive bezels which cover up the top corners of the screen. I attached what I came up with below but it doesn't seem to have any effect (It isn't the F-Droid version of the app). koreader/patches/1-andoid-viewport-shift-down: Code:
local Device = require("android") function Device:setViewport(x, y, w, h) logger.info(string.format("Switching viewport to new geometry [x=%d,y=%d,w=%d,h=%d]", x, y, w, h)) local viewport = Geom:new{x=x, y=120, w=w, h=h} self.screen:setViewport(viewport) end There is also this old related issue that never seemed to be resolved. Changing the setViewport in "ffi/framebuffer" also didn't seem to do anything. koreader/patches/1-framebuffer-viewport-shift-down Code:
local fb = require("ffi/framebuffer") fb.setViewport = function(self, viewport) if not self.full_bb then self.full_bb = self.bb end self.debug("fb:setViewport() setting viewport to", viewport.x, viewport.y, viewport.w, viewport.h) self.bb = self.full_bb:viewport( viewport.x, 120, viewport.w, viewport.h) self.viewport = viewport self.full_bb:fill(Blitbuffer.COLOR_WHITE) self:refreshFull() end Any help would be appreciated, thanks |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Koreader running on Kobos (all of them, hopefully!) | giorgio130 | KOReader | 3525 | 10-30-2024 06:25 AM |
Koreader doesn't work on 5.4.3 | vr4y | Kindle Developer's Corner | 13 | 04-15-2014 04:40 AM |
coolreader/koreader without fmon | peyton | Kobo Developer's Corner | 17 | 03-30-2014 05:06 PM |
framebuffer settings for koreader | shadoooo | Kobo Developer's Corner | 15 | 01-01-2014 12:20 PM |
Koreader v. Coolreader | 93terp | Kobo Developer's Corner | 8 | 11-05-2013 05:37 AM |