![]() |
#1381 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 245
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
https://www.mobileread.com/forums/sh...postcount=1363 |
|
![]() |
![]() |
![]() |
#1382 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,207
Karma: 63194629
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. |
![]() |
![]() |
![]() |
#1383 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,099
Karma: 6425162
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. |
![]() |
![]() |
![]() |
#1384 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,207
Karma: 63194629
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.
|
![]() |
![]() |
![]() |
#1385 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,099
Karma: 6425162
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. |
|
![]() |
![]() |
![]() |
#1386 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,133
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 |
![]() |
![]() |
![]() |
#1387 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,099
Karma: 6425162
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. ![]() |
|
![]() |
![]() |
![]() |
#1388 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 245
Karma: 4562
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? |
![]() |
![]() |
![]() |
#1389 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,680
Karma: 134319570
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#1390 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 245
Karma: 4562
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.
|
![]() |
![]() |
![]() |
#1391 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,099
Karma: 6425162
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. |
|
![]() |
![]() |
![]() |
#1392 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,207
Karma: 63194629
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. |
![]() |
![]() |
![]() |
#1393 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,133
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) |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |