View Single Post
Old 04-26-2021, 06:58 PM   #19
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,811
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
It's remembering the size for me on windows and the initial size is correct as well.
I think my observations are distinct from the OPs problem

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.
  • I sometimes install a fresh Calibre Portable to experiment with templates, plugins etc. I've noticed that the default size for some dialogue box popups are similarly very large -- but if I resize them the new size sticks so, ça ne fait rien. I can't remember which dialogue box popups, I can find out easy enough if it would be of any help.
  • My monitor is an uncommon size - 2560 × 1440
BR

Last edited by BetterRed; 04-26-2021 at 07:16 PM.
BetterRed is offline   Reply With Quote