![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#17 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
It is resized, made smaller, if the existing size is larger than somewhere around 260 pixels. The view manager plugin fixes the sizing.
|
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#20 |
Enthusiast
![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#22 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
![]() |
![]() |
#23 |
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#24 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Or wait ... ![]() EDIT: @JSWolf: there will be a point release if Kovid thinks it is worth it. |
|
![]() |
![]() |
![]() |
#25 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
|
|
![]() |
![]() |
![]() |
#26 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#27 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#28 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Jan 2012
Device: kindle
|
And it's working :P
|
![]() |
![]() |
![]() |
#29 |
Interested in the matter
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
Yes
![]() |
![]() |
![]() |
![]() |
#30 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 | 1 | 10-24-2009 01:20 PM |