Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-05-2026, 10:06 PM   #196
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,829
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by JSWolf View Post
I found what I hope will be an easy enough fix. I'd an option to make the settings in Bookshelf View to be global for the libraries I want. So for example, If I have library A, B, C, D, E. I want to be able to make changes in B and have them apply to C & D but not A or E.
The options are global except for templates which cannot be global since they depend on columns in the library that can vary between libraries.
kovidgoyal is offline   Reply With Quote
Old 01-05-2026, 10:07 PM   #197
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,829
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by JSWolf View Post
Now for another fix. When I want to show the title and author. the auther is in the wrong place. The author should be under the title.
What does under the title mean. This is vertical text the author can be to the right or the left of the title. It is currently to the right of the title.

EDIT: Actually, I think you mean you want the second line to the left when the text is drawn top to bottom rather than bottom to top. https://github.com/kovidgoyal/calibr...628166609f4aae

Last edited by kovidgoyal; 01-05-2026 at 10:34 PM.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-05-2026, 10:52 PM   #198
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,829
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by BetterRed View Post
Windows 10 Pro 2022H2, calibre Portable 8.99.2

Look and Feel->Show layout buttons checked.

If I right-click on the Bookshelf icon in the status bar the Look and feel->Main interface dialogue pops, to be consistent it should pop the Look and feel->Bookshelf dialogue.

BR
https://github.com/kovidgoyal/calibr...bece865ea3c079
kovidgoyal is offline   Reply With Quote
Old 01-05-2026, 11:42 PM   #199
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,829
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by BetterRed View Post
The Group by item that's injected at the top of The context menu for the books in the calibre library in Bookshelf view should be optional, or be movable/deletable.

Even better, dispense with it in the booklist context menu, and have a Group by button in the Search bar, after the Sort by button. That would make it's visible to everyone.

BR
https://github.com/kovidgoyal/calibr...8ff84ef616f72f
kovidgoyal is offline   Reply With Quote
Old 01-05-2026, 11:50 PM   #200
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,829
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by un_pogaz View Post
@Kovid, arh, I try to add my idea to append the second line height inside "get_spine_width().linear()", but is such a intricated things, I want to clarifed my idea so that you try on your side (and if I succeed before, sweet).

Code:
    def linear(f: float):
        return lc.min_spine_width + int(max(0, min(f, 1)) * (lc.max_spine_width - lc.min_spine_width - second_line_height))
I dont follow, how is this different than my option of increasing the min_spine_width when using two lines? The downside of this is that there will be less variation in widths since the distance between min_spine_width and max_spine_width is reduced.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-05-2026, 11:56 PM   #201
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,129
Karma: 30317706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Quote:
Originally Posted by kovidgoyal View Post
BetterRed is online now   Reply With Quote
Old 01-06-2026, 12:56 AM   #202
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,829
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Added an option to control whether the authors line is dropped for narrow books or narrow books are artificially widened to accomodate it. https://github.com/kovidgoyal/calibr...413071c20dab65
kovidgoyal is offline   Reply With Quote
Old 01-06-2026, 04:55 AM   #203
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 549
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by kovidgoyal View Post
I dont follow, how is this different than my option of increasing the min_spine_width when using two lines? The downside of this is that there will be less variation in widths since the distance between min_spine_width and max_spine_width is reduced.
Yeah, just woke up see that. Similiar in mind but you worked on a above level.

Quote:
Originally Posted by kovidgoyal View Post
Added an option to control whether the authors line is dropped for narrow books or narrow books are artificially widened to accomodate it. https://github.com/kovidgoyal/calibr...413071c20dab65
And the fact we can choose we want to enforce the second line or make it optional is a nice touch that elegant solve the downside side of that. Thanks.
un_pogaz is offline   Reply With Quote
Old 01-06-2026, 07:14 AM   #204
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 81,511
Karma: 150265339
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kovidgoyal View Post
What does under the title mean. This is vertical text the author can be to the right or the left of the title. It is currently to the right of the title.

EDIT: Actually, I think you mean you want the second line to the left when the text is drawn top to bottom rather than bottom to top. https://github.com/kovidgoyal/calibr...628166609f4aae
That's exactly it. Thank you.
JSWolf is offline   Reply With Quote
Old 01-06-2026, 12:56 PM   #205
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 549
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Hey Kovid, I was looking to add a PagesStatus dialog in the same way of the BackupStatus, but looking deeper I affraid that put all the ids in the queue risk to hit the queue limit.
So now my idea is to create a routine, like the one for the backup files, that scan all the books that need scan, regardless of the queue but at a lower pace than MaintainPageCounts.
This can be usefull because the book are put in queue only when requested in the bookshelf view or if the Page column is visible, but not when it requested by the template which result to forever return 0 for pages that was never display before (and in big library that a lot of books).
Also, have a special value "calculating" rather than guess it from 0 could be probaly helpfull for template etc.

I'm still looking do it not too dirty, but you would certainly do a better job than me.

Last edited by un_pogaz; 01-06-2026 at 01:19 PM.
un_pogaz is offline   Reply With Quote
Old 01-06-2026, 01:27 PM   #206
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,829
Karma: 28586150
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I dont really see the need for such a dialog. Unlike backup pages calculation is quite fast and once triggered it will maintain itself for new books automatically.

And if you do want to get page counting status you simply do first

db.queue_pages_scan()

and anytime you want to know which books need scanning, do

db.pages_need_scan() to get a set of book ids that remain to be scanned.
kovidgoyal is offline   Reply With Quote
Old 01-06-2026, 03:24 PM   #207
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,214
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
A few more nits:
  • I'm not seeing Pages update after editing a book using Calibre's "Edit book" to add / remove content.
  • Restoring a book from recently deleted leaves Pages set to 0.
  • After manually trigger "Re-count pages" from right clicking details, the displayed Pages count doesn't update until the library view updates for some other reason.
  • Is there somewhere to manually trigger "Re-count pages" for multiple books, but not the entire library?
A bit more questionably:
  • Restoring a book format doesn't recalc Pages, even if it's the only format.
I can see an argument being made it shouldn't need to. FanFicFare users are bit atypical in changing the length of existing books regularly -- I sometimes use 'restore recently deleted format' to reverse an FFF change.
JimmXinu is offline   Reply With Quote
Old 01-06-2026, 03:28 PM   #208
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 549
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by kovidgoyal View Post
I dont really see the need for such a dialog. Unlike backup pages calculation is quite fast and once triggered it will maintain itself for new books automatically.

And if you do want to get page counting status you simply do first

db.queue_pages_scan()

and anytime you want to know which books need scanning, do

db.pages_need_scan() to get a set of book ids that remain to be scanned.
I had the first function, but yeah, I think that displaying the number of book pending a scan on the button in the settings will be enough.

And based on the recent change on second function and more experimentation, I probaly have a better and simpler idea to creat this routine for "scan all pending books". Thanks.
un_pogaz is offline   Reply With Quote
Old 01-06-2026, 05:07 PM   #209
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,129
Karma: 30317706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
  1. Could the "Show shadow for hovered cover" setting be changed to a drop down menu: e.g. "Show cover on hover" with three options:

    • Don't show cover;
    • Show cover with shadow;
    • Show cover with no shadow.
  2. The settings in Tweak->Control behavior of the book list should be respected, specifically the doubleclick_on_library_view, and the enter_key_behavior settings.

    Click image for larger version

Name:	book list behaviour.jpg
Views:	20
Size:	202.8 KB
ID:	220119

    As they are in List and Grid View.

    Cover Browser respects the enter_key_behavior setting but not the doubleclick_on_library_view setting -

    I just noticed that the Cover Browser has its own context menu, IMO there should be a setting in L&F->Cover browser to use the Book list context menu.

Last edited by BetterRed; 01-06-2026 at 05:27 PM.
BetterRed is online now   Reply With Quote
Old 01-06-2026, 06:54 PM   #210
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 49,438
Karma: 174632678
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Not sure if this is an issue with my setup or general. I just downloaded the latest source, copied it into the calibre-master directory and when I run calibre, I get an error. See spoiler for more information.

Spoiler:
Code:
calibre, version 8.99.2
ERROR: Startup error: There was an error during calibre startup. Parts of calibre may not function. Click "Show details" to learn more.

Traceback (most recent call last):
  File "d:\calibre\calibre-master\src\calibre\gui2\main.py", line 307, in initialize_db_stage2
  File "d:\calibre\calibre-master\src\calibre\gui2\main.py", line 250, in start_gui
  File "d:\calibre\calibre-master\src\calibre\gui2\ui.py", line 377, in initialize
  File "d:\calibre\calibre-master\src\calibre\gui2\cover_flow.py", line 389, in __init__
  File "d:\calibre\calibre-master\src\calibre\gui2\cover_flow.py", line 227, in __init__
AttributeError: 'CoverFlow' object has no attribute 'setMaxFontSize'. Did you mean: 'setMaximumSize'?
DNSB is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre 5: Beta testers needed kovidgoyal Calibre 497 09-29-2020 01:58 AM
Beta testers needed kovidgoyal Calibre 75 08-18-2019 08:00 PM
Beta testers for calibre 3.0 needed kovidgoyal Calibre 598 07-09-2017 11:26 PM
Beta testers needed kovidgoyal Calibre 54 05-20-2016 01:34 PM
Beta testers for calibre 2.0 needed kovidgoyal Calibre 142 05-08-2015 05:44 AM


All times are GMT -4. The time now is 10:12 PM.


MobileRead.com is a privately owned, operated and funded community.