![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
If you can run from source, please do ...
There are some changes pushed to source today that improve the GUI performance when scrolling. The more composite columns you have, the more the improvement. It does this by not processing a book for details display until the selection hasn't changed for 100ms. As a result, the book details display(s) update 100ms after scrolling or paging stops.
It also changes the semantics of db.get_metadata() (not ProxyMetadata()). Composite columns are now evaluated when they are used instead when get_metadata() is called. I checked to be sure it worked in all places where calibre uses get_metadata(), but it is possible that some plugins do things that "go around" the rules by reaching inside a metadata object in ways we don't expect. This is the reason I hope people can run it, as there is no way I can simulate how people use which plugins. ![]() |
![]() |
![]() |
![]() |
#2 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Sure, I hope I can find something worth mentioning, as I can't really figure what plugins use those functions, and I myself use just the functions explained in examples provided on the forum.
I only remember seeing db.get_metadata() before, because it is used in a search to find all items (e.g. authors) that have an attached note. I'm currently testing some Action Chains and navigating the UI, everything seems to run smoothly. BTW, those interested in testing on Windows can follow the steps below, although that's not recommended on a working/main library, please correct me as needed: - download this file https://github.com/kovidgoyal/calibr...ads/master.zip - extract for instance to c:\users\username then run the following calibre-dev.bat set CALIBRE_DEVELOP_FROM=C:\users\username\calibre-master\src start calibre |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,627
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I don't think I'm able to run from source code (not enough time), but I'll take into account as I even have some plugins for myself that using a lot get metadata... and I've got a lot of composite columns.
|
![]() |
![]() |
![]() |
#4 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,965
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
I'll run it for a while--I don't see any immediate issues.
|
![]() |
![]() |
![]() |
#5 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,048
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Looks okay here but I'm not a heavy custom column user.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,948
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I'm a heavy composite column user. Much smoother.
|
![]() |
![]() |
![]() |
#7 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,965
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
I'm not seeing any issues with the plugins I regularly use that update custom columns: FanFicFare, Reading List, Manage Series and Count Pages.
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
It is usually a direct replacement for get_metadata(). However, it can't be used if you use mi.set() to modify the metadata. Other metadata methods that can't be used are smart_update(), template_to_attribute(), set_user_metadata(), set_all_user_metadata(), set_identifier(s)(), remove_stale_user_metadata(), and all_non_none_fields(). |
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,627
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 839
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
From which version of Calibre can you use get_proxy_metadata?
I'd like to consider whether it's worth changing the minimum version in the plugin code, or whether to add code to maintain backward compatibility. |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#12 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 839
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
A man learns all his life
![]() |
![]() |
![]() |
![]() |
#13 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,948
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#15 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,948
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
The earliest changelog I find is for 0.7. It indicates that 0.6 was also called Calibre.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to debug or run Sigil's source code in VS2017 | darencainiao | Sigil | 9 | 05-10-2023 05:19 AM |
Request if you run from source and use hierarchical columns | chaley | Library Management | 0 | 05-28-2020 12:16 PM |
To CC users who run calibre from source ... | chaley | Calibre Companion | 2 | 12-09-2014 09:24 AM |
Run from Source on Windows? | itimpi | Calibre | 12 | 01-22-2009 04:34 AM |