03-04-2024, 11:33 AM | #1 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
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. |
03-04-2024, 12:14 PM | #2 |
want to learn what I want
Posts: 1,000
Karma: 6422750
Join Date: Sep 2020
Device: Calibre E-book viewer
|
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 | |
|
03-04-2024, 01:32 PM | #3 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
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.
|
03-04-2024, 02:09 PM | #4 |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I'll run it for a while--I don't see any immediate issues.
|
03-04-2024, 07:19 PM | #5 |
Bibliophagist
Posts: 35,464
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Looks okay here but I'm not a heavy custom column user.
|
Advert | |
|
03-04-2024, 08:29 PM | #6 |
Custom User Title
Posts: 8,639
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I'm a heavy composite column user. Much smoother.
|
03-04-2024, 09:45 PM | #7 |
Plugin Developer
Posts: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I'm not seeing any issues with the plugins I regularly use that update custom columns: FanFicFare, Reading List, Manage Series and Count Pages.
|
03-05-2024, 09:18 AM | #8 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
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(). |
|
03-06-2024, 01:31 AM | #9 | |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
03-06-2024, 04:17 AM | #10 |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
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. |
03-06-2024, 05:31 AM | #11 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
03-06-2024, 05:45 AM | #12 |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
A man learns all his life
|
03-06-2024, 10:23 AM | #13 |
Custom User Title
Posts: 8,639
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
03-06-2024, 10:59 AM | #14 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
03-06-2024, 11:24 AM | #15 |
Custom User Title
Posts: 8,639
Karma: 61234567
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.
|
|
Similar Threads | ||||
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 |