Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-19-2022, 08:36 AM   #16
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@kovid: the problem happens because gui2.library.views.restrict_column_width() is called before the main window is resized. At startup the (undisplayed) main window appears to be 100px wide so the calculation of the maximum space available for a column is incorrect. The sizes don't become correct until all the various events are processed, which is at the end of initialization.

I have a fix but I worry that it is not optimal or even correct. I changed restrict_column_width() to do nothing until all of the events to repaint the screen are processed (the same as quickview initialization). This required added an "initialization_complete" boolean to ui.py that restrict_column_width() checks. I can push a PR with these changes if you want to see them.

Edit: restrict_column_width() appeared with pin views.

Edit 2: my guess is that Qt changed how and when some resize and repaint events are processed.


EDIT: see post 19 below

Last edited by chaley; 03-19-2022 at 01:33 PM.
chaley is offline   Reply With Quote
Old 03-19-2022, 10:45 AM   #17
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
??? Is this only happening if you resize a column in a session?
5.39 win10 x64

because the existing size ( set from 5.38) is being maintained
theducks is online now   Reply With Quote
Advert
Old 03-19-2022, 11:33 AM   #18
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by theducks View Post
??? Is this only happening if you resize a column in a session?
5.39 win10 x64

because the existing size ( set from 5.38) is being maintained
It is resized, made smaller, if the existing size is larger than somewhere around 260 pixels. The view manager plugin fixes the sizing.
chaley is offline   Reply With Quote
Old 03-19-2022, 12:46 PM   #19
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@kovid: Never mind post 16. It is caused by my change to library.views.apply_state(). I am testing a fix that maintains the improved performance.

EDIT: PR pushed.

Last edited by chaley; 03-19-2022 at 01:34 PM.
chaley is offline   Reply With Quote
Old 03-19-2022, 01:42 PM   #20
alumoi
Enthusiast
alumoi began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Jan 2012
Device: kindle
So it's either back to 5.38 or jump to beta?
5.39 on Windows 10 only remembers column size on one library and forgets it for my other 3.
No, the libraries are not on a network drive, only on second HDD.
No, I don't use view manager.
alumoi is offline   Reply With Quote
Advert
Old 03-19-2022, 01:55 PM   #21
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by alumoi View Post
So it's either back to 5.38 or jump to beta?
5.39 on Windows 10 only remembers column size on one library and forgets it for my other 3.
No, the libraries are not on a network drive, only on second HDD.
No, I don't use view manager.
It is back to 5.38. The latest beta contains the regression. [It doesn't, but that is irrelevant now that 5.39.1 is released. I accidentally tested running from source.]

The regression causes columns above a certain size to be reduced when calibre starts. They aren't reduced when you use switch library.

Last edited by chaley; 03-20-2022 at 12:41 PM.
chaley is offline   Reply With Quote
Old 03-19-2022, 02:23 PM   #22
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: 79,763
Karma: 145864619
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 chaley View Post
It is back to 5.38. The latest beta contains the regression.

The regression causes columns above a certain size to be reduced when calibre starts. They aren't reduced when you use switch library.
Is there going to be a 5.39.1 with the fix?
JSWolf is offline   Reply With Quote
Old 03-19-2022, 02:37 PM   #23
Brett Merkey
Not Quite Dead
Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
I will gladly stick with 5.39 anyway. Not having the Saved Search window blow up on me every time I fidget with it surely compensates for modifying that Title column in the book list back to normal.
Brett Merkey is offline   Reply With Quote
Old 03-19-2022, 02:47 PM   #24
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Brett Merkey View Post
I will gladly stick with 5.39 anyway. Not having the Saved Search window blow up on me every time I fidget with it surely compensates for modifying that Title column in the book list back to normal.
The view manager plugin works around the problem by applying column sizes after calibre initializes. If you set up a default 'apply on start up' view then the sizes in that view will win.

Or wait ... This plus the title case problem might be enough for Kovid to decide to do a 5.39.1 point release.

EDIT: @JSWolf: there will be a point release if Kovid thinks it is worth it.
chaley is offline   Reply With Quote
Old 03-19-2022, 05:53 PM   #25
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: 79,763
Karma: 145864619
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 chaley View Post
The view manager plugin works around the problem by applying column sizes after calibre initializes. If you set up a default 'apply on start up' view then the sizes in that view will win.

Or wait ... This plus the title case problem might be enough for Kovid to decide to do a 5.39.1 point release.

EDIT: @JSWolf: there will be a point release if Kovid thinks it is worth it.
What is the title case problem?
JSWolf is offline   Reply With Quote
Old 03-19-2022, 06:07 PM   #26
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
What is the title case problem?
See the 7th post in the calibre forum..
chaley is offline   Reply With Quote
Old 03-20-2022, 05:29 AM   #27
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: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
5.39.1 has been released.
JSWolf is offline   Reply With Quote
Old 03-20-2022, 05:49 AM   #28
alumoi
Enthusiast
alumoi began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Jan 2012
Device: kindle
And it's working :P
alumoi is offline   Reply With Quote
Old 03-20-2022, 07:19 AM   #29
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
Yes
jbacelar is offline   Reply With Quote
Old 03-20-2022, 11:59 AM   #30
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: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Thanks for the fixes.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot how to create size columns Rellwood Library Management 2 08-06-2021 08:21 PM
columns won't resize Rellwood Calibre 4 01-11-2021 10:04 PM
Why won't iBooks allow highlighting and font size changes for one particular ePUB? wealthychef Apple Devices 11 07-26-2017 02:27 PM
Font size won't change Jorge Junior Sigil 9 09-23-2012 05:19 PM
PDF Won't Change text size TGNY PDF 1 10-24-2009 01:20 PM


All times are GMT -4. The time now is 06:27 PM.


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