View Single Post
Old 12-12-2024, 10:42 PM   #6
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,614
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>'+_('') 
        )

    # }}}
instead of:

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://manual.calibre-ebook.com/dev...nt-environment

https://github.com/kovidgoyal/calibr...ads/master.zip
Attached Thumbnails
Click image for larger version

Name:	MWSnap 2024-12-13, 00_36_29.png
Views:	64
Size:	23.9 KB
ID:	212467  

Last edited by Comfy.n; 12-12-2024 at 10:48 PM.
Comfy.n is offline   Reply With Quote