03-08-2022, 12:03 PM | #61 |
Plugin Developer
Posts: 6,385
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Thanks! I haven't been following qt6 dev very much.
Attached is a VM test version with the change. Posted test version in PI thread. Last edited by JimmXinu; 03-08-2022 at 12:35 PM. Reason: Remove obsolete test version |
03-08-2022, 12:04 PM | #62 |
Grand Sorcerer
Posts: 11,775
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
FWIW: you can easily determine whether apply_state() has the save_state named parameter.
Code:
import inspect x = inspect.signature(self.gui.library_view.apply_state) has_save_state = 'save_state' in x.parameters |
Advert | |
|
03-08-2022, 12:09 PM | #63 |
Grand Sorcerer
Posts: 11,775
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
03-08-2022, 05:24 PM | #64 |
null operator (he/him)
Posts: 20,667
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
FTR - last evening my time, I ripped the custom columns out of jnikkir's library. That had some effect but it was still slower than I would have expected, given the one column sort sequence didn't change and VL switching was instant.
@JimmXinu - I'll do some tests of the new VM plugin in my 5.38 install, and when Kovid posts a new portable 5.99 beta I'll test it under that too. Be interesting to see if the small delays I get with VM switching are reduced, I've assumed they were due to my multi-column sort sequences - which are my raison d'être for using VM. @jnikkir - thanks for your cooperation & perseverance, without it the 'bug' would not have been fixed. BR |
03-08-2022, 05:27 PM | #65 | |
Grand Sorcerer
Posts: 11,775
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
Advert | |
|
03-08-2022, 05:49 PM | #66 | |
null operator (he/him)
Posts: 20,667
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Installing it under next portable 5.99 beta will tell us if it your changes improves my non-problematic View switching performance - or has any unwanted side-effects BR |
|
03-09-2022, 02:49 PM | #67 | |
Connoisseur
Posts: 51
Karma: 198
Join Date: Feb 2022
Device: Kindle PW5/11th Gen
|
Quote:
I am indeed using 5.38 and didn't see a change with VM 1.7.1, so I'm going to show my ignorance one more time by asking... what does "running from source" mean? What's the best way to get this up and running? =S |
|
03-09-2022, 02:58 PM | #68 |
Custom User Title
Posts: 8,823
Karma: 62032371
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
It means setting up a development environment, downloading Calibre's source code, and running from that. You don't necessarily need to be a dev -- I do it myself for new features and bugfixes.
https://manual.calibre-ebook.com/develop.html If you go this path, I recommend SourceTree -- I believe chaley uses it too. Last edited by ownedbycats; 03-09-2022 at 03:00 PM. |
03-09-2022, 03:04 PM | #69 | |
Connoisseur
Posts: 51
Karma: 198
Join Date: Feb 2022
Device: Kindle PW5/11th Gen
|
Quote:
|
|
03-09-2022, 03:07 PM | #70 |
Plugin Developer
Posts: 6,385
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
The other option is just to wait for the next Calibre version release.
|
03-09-2022, 03:13 PM | #71 | |
null operator (he/him)
Posts: 20,667
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Or, if it comes sooner, you could get a sneak peek by installing the portable edition of the next version 6 beta, see ==>> Plugin devs: Upcoming migration to Qt 6 BR |
|
03-09-2022, 04:59 PM | #72 |
Plugin Developer
Posts: 6,385
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
qt6 beta 5.99.8 doesn't have that change yet.
|
03-09-2022, 05:16 PM | #73 | ||
Connoisseur
Posts: 51
Karma: 198
Join Date: Feb 2022
Device: Kindle PW5/11th Gen
|
Quote:
Quote:
|
||
03-19-2022, 03:46 PM | #74 |
Connoisseur
Posts: 51
Karma: 198
Join Date: Feb 2022
Device: Kindle PW5/11th Gen
|
Just wanted to pop back into this thread and say, all delays in loading VM Views are, indeed, totally gone now (at least when I'm not relying on Action Chains to change the VM view). After updating to Calibre 5.39.0 and installing View Manager 1.7.1, I set each VM view to switch to a specific virtual library, and now CTRL+Tabbing between them instantly loads the correct VL and VM column layout. Yay!!
Using Action Chains (set to change VM views when clicking on a VL tab) does reintroduce some delay. As chaley mentioned earlier, apparently that delay is intentional to "improve performance." So I'm trying to rely less on clicking a tab and having Action Chains change the VM view, and more on using CTRL+Tab to switch VLs/VM views. I kind of wish there was a shortcut to load the previous VM view, in addition to CTRL+Tab which loads "next view," but that's a not a huge deal. Thanks again to everyone who helped figure out what was up with those delays. It makes switching between VM views so much smoother. |
03-19-2022, 04:53 PM | #75 |
Plugin Developer
Posts: 6,385
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I've posted a VM test version with Previous View action. Note that you have to set your own hotkeys.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extremely slow in long files | arspr | Editor | 11 | 06-26-2014 06:22 AM |
[Old Thread] Why is Calibre so slow sending ebooks in emails? | rfog | Calibre | 10 | 05-17-2013 01:42 PM |
This long thread title is intended to reflect my thought's incredible complexity. | Prestidigitweeze | Lounge | 11 | 04-20-2012 06:28 AM |
[Old thread] Calibre really slow | spaze | Calibre | 15 | 03-24-2011 04:04 AM |
[Old Thread] Slow to 'get list of books on device' for Kindle DX | tklaus | Devices | 4 | 03-10-2011 12:11 PM |