![]() |
#16 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, they are stored separately, you will find it for the editor in tweak_book_gui.json
As for the every large initial size I will take a look at it when I am next on windows. |
![]() |
![]() |
![]() |
#17 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's remembering the size for me on windows and the initial size is correct as well.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm guessing what happened to the OP is that a geometry for a much bigger/higher res screen was saved, causing the restore to restore to a bigger size. I have now added some code to ensure windows are no more than the screne size when restoring them.
|
![]() |
![]() |
![]() |
#19 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,661
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If I invoke the ToC Editor from the Editor and change the window size it is saved in the __value__ of toc_editor_window_geom in tweak_book_gui.json, i.e. it works fine. My issue is when I invoke the ToC Editor from the Book List and change the window size. If I remove toc_editor_window_geom in gui.json I get that very large ToC Editor window. If I invoke the ToC Editor from the Book List and change the window size nothing is saved as toc_editor_window_geom in gui.json so I get stuck with that very large window. If I copy the toc_editor_window_geom section from tweak_book_gui.json into gui.json I get that window size when I open the ToC Editor from the Book List, but if I resize the window I get stuck with that size, i.e. the __value__ of toc_editor_window_geom in gui.json remains the same. Added: These may or may not be relevant.
Last edited by BetterRed; 04-26-2021 at 07:16 PM. |
|
![]() |
![]() |
![]() |
#20 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
By very large do you mean larger than available size? because its initial size is supposed to be the available desktop size - 100 pixels. And that is what I see on my windows machine.
As for not remembering the value, I think I know whats going on. The old vaue gets restored when you quit calibre, so if you dont quit calibre between invocations it will be remembered, if you do, it wont. |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
And this will take care of it: https://github.com/kovidgoyal/calibr...443b1dbeca0bfa
|
![]() |
![]() |
![]() |
#22 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,661
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
![]() BR |
||
![]() |
![]() |
![]() |
#23 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,661
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Fixed - thanks.
BR |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
TOC Editor window - oversized | Paulie_D | Editor | 4 | 05-05-2015 05:29 PM |
Gigantic book library | armandaneshjoo | Library Management | 6 | 05-24-2013 07:50 PM |
Calibre Viewer TOC Window | speakingtohe | Calibre | 4 | 03-12-2012 11:51 AM |
Opening a new window in calibre, and closing another window | Dr. Drib | Calibre | 3 | 02-23-2012 09:27 AM |
iPad The Apple iPad is basically a gigantic iPod Touch. | Donnageddon | Apple Devices | 16 | 04-04-2010 08:47 AM |