08-17-2024, 09:17 AM | #1381 | |
Evangelist
Posts: 401
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
https://www.mobileread.com/forums/sh...postcount=1363 |
|
08-17-2024, 06:05 PM | #1382 |
Custom User Title
Posts: 9,338
Karma: 63297233
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
The 'sync now' issue is only an issue when I run the send-to-device or remove-from-device chains while the device is already connected (otherwise it runs on next sync) so I'm not inclined to go mucking around with my workflow.
Last edited by ownedbycats; 08-17-2024 at 06:11 PM. |
08-18-2024, 03:29 PM | #1383 |
want to learn what I want
Posts: 1,186
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Hi folks, I've been getting some glitch upon double-clicking files on list view. Can't remember when it started to happen, unfortunately. Before going into the description, let me state clearly what conditions don't trigger the error message:
a) double-clicking in Cover grid view is unaffected. b) it doesn't happen when the event "Book List Double Clicked" is unchecked. Now I'll try to explain. I have a chain with the following actions, kindly provided by ownedbycats, that runs on event "Book List Double Clicked": - open book - set #lastread - Increment #timesread - add date to #readdates On list view, when I double-click the title of a book that contains a PDF format (which is my default "preferred input format" in Behaviour preferences, for double-clicking priority purposes), it runs the chain fine, sets all fields correctly. However, when I task-switch back to Calibre from my default system PDF program, the title cell shows as if waiting for an input, I mean, it's been inadvertently selected for editing, as if I had pressed F2. What happens next is that, even without making any changes to the title field, when I click anywhere outside the title cell, I get the message in the attached log - "PermissionError: [WinError 32] The process cannot access the file because it is being used by another process" Also, that will occur either when I have the tweak doubleclick_on_library_view set to 'open_viewer' or to 'do_nothing'. Since I started using this chain, I use the latter (do_nothing). I wonder if some tweak to the "Book List Double Clicked" event or to the chain itself could prevent that? Last edited by Comfy.n; 08-19-2024 at 04:43 PM. |
08-18-2024, 03:35 PM | #1384 |
Custom User Title
Posts: 9,338
Karma: 63297233
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Won't help with the unintentional selection, but the esc key should back out of accidental edits without the error.
|
08-18-2024, 03:49 PM | #1385 | |
want to learn what I want
Posts: 1,186
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Quote:
edit: well, what I actually wanted to mean is that pressing Esc prevents the message, but there's something else related to focus I can't precisely describe Last edited by Comfy.n; 08-18-2024 at 05:22 PM. |
|
08-19-2024, 03:40 AM | #1386 |
Wizard
Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
I am not able to replicate. If by any chance you have the following plugin tweak set:
Code:
action_chains_single_click_edit = True |
08-19-2024, 03:59 AM | #1387 | |
want to learn what I want
Posts: 1,186
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Quote:
once I removed that plugin tweak, issue is resolved! I can't remember why I've needed to set it, by the way, but hopefully this removal won't affect other chains. |
|
08-19-2024, 10:40 AM | #1388 |
Evangelist
Posts: 401
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
I have an action chain:
1) Send to device, main memory 2) Single edit to put a check mark in a user column 3) Eject If I have "show progress bar" and "wait until any jobs started by the selected action finishes" checked for the send, then it does not appear to wait and does not eject. If I uncheck progress bar it works. Checking both "show progress bar" and "wait until any progress bar finishes", then sometimes I get an error about device not connected. Is this what it's supposed to do? Is there something else I should check or uncheck? |
08-19-2024, 01:34 PM | #1389 | |
Resident Curmudgeon
Posts: 76,028
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
08-19-2024, 02:20 PM | #1390 |
Evangelist
Posts: 401
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
I believe this is the third time you've made the some reconnect comment, which alas does not answer the question.
|
08-19-2024, 04:14 PM | #1391 | |
want to learn what I want
Posts: 1,186
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Quote:
After reinstating the action_chains_single_click_edit plugin tweak, I tested different double-click speeds, either by alternating between purposely delayed double-clicks and fast ones or by changing the double-click speed setting on Control Panel (setting it to the fastest level available). I'm still testing those settings but as of now I can "double-click to open" on list view without having that issue most times. It seems that the higher the double-click speed, meaning lower interval between the first and the second click, the less likely is that the issue will arise. edit to add: actually I totally forgot that I had that tweak in place, so at some point I started to think it was a core Calibre option :amnesia_smiley: Last edited by Comfy.n; 08-19-2024 at 04:38 PM. |
|
08-23-2024, 03:41 AM | #1392 |
Custom User Title
Posts: 9,338
Karma: 63297233
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: I have a custom kobo: identifier mapped to https://www.kobo.com/ca/en/ebook/{id} (this was previously used by the now-nonfunctional Kobo Books plugin).
I'd like to add to a chain to paste a URL (e.g. https://www.kobo.com/ca/en/ebook/some-random-book) into a dialog and automatically add the id to the book. Is this possible? I tried putting a single-field edit but it didn't have the Paste from Clipboard button. Last edited by ownedbycats; 08-23-2024 at 03:57 AM. |
08-24-2024, 01:26 AM | #1393 |
Wizard
Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
The custom action below would store clipboard contents into a chain variable called clipboard:
Code:
from qt.core import QApplication from calibre_plugins.action_chains.actions.base import ChainAction class PasteClipboardAction(ChainAction): name = 'Paste Clipboard' def run(self, gui, settings, chain): chain.set_chain_vars({'clipboard': QApplication.clipboard().text()}) Code:
program: globals(clipboard) |
10-01-2024, 09:29 AM | #1394 |
Custom User Title
Posts: 9,338
Karma: 63297233
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: I use an Action Chain that runs upon "FanFicFare download finished" with the event manager. I think the event was included in the FFF plugin itself.
It uses a selection modifier to grab the newly-downloaded fanfics and then calls a chain which does several single-field edits (mostly template'd) as well as runs the comments cleaner. However, if I alt-tab out of the window at any point after using FFF to confirm library update, there's some 50% chance that the Calibre UI will become unusable— I just get the error sound when clicking anything as though it's stuck under an invisible dialog. This doesn't happen if I remove the event, and I can't get it to trigger by alt+tabbing while manually running the chains (either the 'cleanup: fanfiction' or the 'FanFicFare Download' one with the selection modifier). Has anyone else had issues like this? |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Editor Plugin] Editor Chains | capink | Plugins | 94 | 07-03-2024 07:26 PM |
Action Chains Resources | capink | Plugins | 65 | 07-01-2024 03:12 PM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 03:15 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |