View Single Post
Old 08-18-2024, 03:29 PM   #1383
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,652
Karma: 7908443
Join Date: Sep 2020
Device: none
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?
Attached Thumbnails
Click image for larger version

Name:	MWSnap 2024-08-18, 16_20_00.png
Views:	922
Size:	10.1 KB
ID:	210260   Click image for larger version

Name:	2024-08-18 15_43_41-Add actions.png
Views:	925
Size:	26.2 KB
ID:	210261  
Attached Files
File Type: zip chain.zip (2.5 KB, 881 views)
File Type: txt log_dclic.txt (1.8 KB, 465 views)

Last edited by Comfy.n; 08-19-2024 at 04:43 PM.
Comfy.n is online now   Reply With Quote