![]() |
#1 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jun 2024
Device: Boox Note Air 3 & 3C, KyBook 3 on iPad
|
How do I disable tooltips in Books Detail pane?
I have a macro that grabs the book subtitle via OCR from the image of the book cover in the Book Details pane. However, sometimes the large tooltip window with the message "Double click to open the Book details window" (along with the book's file path and cover size in pixels), gets in the way of the OCR.
Is there a way to disable it? Note: the option: Preferences|Look & feel|Main interface|Show tooltips in the book list does not control this. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No there is no option to control it, why are you getting the cover from the book details panel anyway? calibr eincludes an extensive suite of command line utilities you can use to extract data including covers in scripts.
|
![]() |
![]() |
![]() |
#3 | |
Member
![]() Posts: 15
Karma: 10
Join Date: Jun 2024
Device: Boox Note Air 3 & 3C, KyBook 3 on iPad
|
Quote:
My macro allows me to draw a quick selection rectangle around the text on the book cover and it automatically creates my book title in the proper format. |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can right click and open the cover in an image editor which is one extra step but not too onerous.
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jun 2024
Device: Boox Note Air 3 & 3C, KyBook 3 on iPad
|
I could...
I just wondered, since there was an option to hide the tooltips in the book list, if there was a similar option for the book details hiding somewhere and just I couldn't see it. |
![]() |
![]() |
![]() |
#6 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
A more hackish approach would be to run Calibre from source using an edited book_details.py (full path is C:\somefolder\calibre-master\src\calibre\gui2\book_details.py)
I was able to reduce the tooltip to an empty rectangle using this: Code:
def update_tooltip(self, current_path): try: sz = self.pixmap.size() except: sz = QSize(0, 0) self.setToolTip( '<p>'+_('') ) # }}} Code:
def update_tooltip(self, current_path): try: sz = self.pixmap.size() except: sz = QSize(0, 0) self.setToolTip( '<p>'+_('Double click to open the Book details window') + '<br><br>' + _('Path') + ': ' + current_path + '<br><br>' + _('Cover size: %(width)d x %(height)d pixels')%dict( width=sz.width(), height=sz.height()) ) # }}} https://github.com/kovidgoyal/calibr...ads/master.zip Last edited by Comfy.n; 12-12-2024 at 10:48 PM. |
![]() |
![]() |
![]() |
#7 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
On Windows, I've used the IrfanView Tesseract plugin to extract titles, straplines, and author names from covers. Should be easy enough to do something similar with MacOS. BR Last edited by BetterRed; 12-12-2024 at 11:50 PM. Reason: wrong image |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
tooltips in the list of books | Fynjisx | Library Management | 1 | 11-23-2022 04:56 AM |
Tooltips for narrow columns | theducks | Library Management | 7 | 03-16-2015 10:58 PM |
How to turn off tooltips? | ktenney | Calibre | 8 | 01-23-2015 09:19 AM |
Disable tooltips? | jhalpin | Library Management | 7 | 06-08-2014 12:14 PM |