![]() |
#61 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
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 |
![]() |
![]() |
![]() |
#62 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
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 ![]() |
![]() |
![]() |
![]() |
#63 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#64 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,731
Karma: 29711016
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 |
![]() |
![]() |
![]() |
#65 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#66 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,731
Karma: 29711016
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 |
|
![]() |
![]() |
![]() |
#67 | |
Connoisseur
![]() ![]() Posts: 61
Karma: 198
Join Date: Feb 2022
Device: Kobo Sage (prev. Kindle PW5)
|
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 |
|
![]() |
![]() |
![]() |
#68 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,977
Karma: 75337983
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. |
![]() |
![]() |
![]() |
#69 | |
Connoisseur
![]() ![]() Posts: 61
Karma: 198
Join Date: Feb 2022
Device: Kobo Sage (prev. Kindle PW5)
|
Quote:
|
|
![]() |
![]() |
![]() |
#70 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
The other option is just to wait for the next Calibre version release.
|
![]() |
![]() |
![]() |
#71 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,731
Karma: 29711016
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 |
|
![]() |
![]() |
![]() |
#72 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
qt6 beta 5.99.8 doesn't have that change yet.
|
![]() |
![]() |
![]() |
#73 | ||
Connoisseur
![]() ![]() Posts: 61
Karma: 198
Join Date: Feb 2022
Device: Kobo Sage (prev. Kindle PW5)
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#74 |
Connoisseur
![]() ![]() Posts: 61
Karma: 198
Join Date: Feb 2022
Device: Kobo Sage (prev. Kindle PW5)
|
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. ![]() |
![]() |
![]() |
![]() |
#75 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
I've posted a VM test version with Previous View action. Note that you have to set your own hotkeys.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |