add faster option to export text selections via qr codes#12746
add faster option to export text selections via qr codes#12746Frenzie merged 1 commit intokoreader:masterfrom
Conversation
|
by the way, what happens if you QR a whole page, but it has an image? |
|
Text only, text over 2953 characters is truncated. I don't know where that number came from; it seems like slightly more shouldn't be an issue (at least on devices with a higher resolution/larger screen). koreader/frontend/ui/widget/qrwidget.lua Lines 19 to 22 in 9aa327a |
|
Apparently 177 rows by 177 columns is simply the maximum it can do. |
|
That's impressive in any case :D |
|
I was able to read your one page from my phone xD a French book, right?) |
|
Da Vinci Code in French? |
|
I don't know why I have that, possibly something to do with @poire? It's the 2018 version of https://fr.wikipedia.org/wiki/Da_Vinci_Code through our Wikipedia save as EPUB feature. |
I too was wondering why it was such a specific number. good to know, anyway that should be around 450-600 words more or less so, plenty good. |
this is the same reason, producers don't put real phone numbers on tv anymore, people will call any number they see. I was originally going to add a qr screenshot but then thought better of it. ;) |
|
I was just checking if QR works OK :D |
|
Failed to init the plugin when Start with: or switch to the file browser (definitely, no |
|
Sorry, could you clarify what you mean?, i am using |
|
Anything in the crash.log? |
|
I can’t see logs at the moment, and probably not until the evening; what are you getting? |
|
yeah, you are right @hius07 if self.ui.highlight then
self:addToHighlightDialog()
endthat should take care of it, right? why is that kindle (K4) still using BST (British summer time)? |
Because Kindles are stupid and have archaic tz timezone files :D Grab a sane one from current Linux distro and then replace a binary /var/local/system/tz with it. I just copied full /usr/share/zoneinfo from Linux Mint Debian Edition 6 :D There is also a link /etc/localtime that points to the same thing. |

what's new:
This pull request introduces a new method to add the QR code generation option to the highlight dialogue, to allow users to generate a QR code from selected text. No longer do users need to make a selection, copy it and then go through menus with multiple taps or key presses to generate a QR code.
implementation:
plugins/qrclipboard.koplugin/main.lua: IntroducedaddToHighlightDialogmethod to add the "Generate QR code" option to the highlight dialogue. This method copies selected text to the clipboard (automatically) and then displays the QR code.screenshots:
This change is