![]() |
#1 |
Banned
![]() Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
|
Window size problem
Running Linux Mint 7, 32bit, NVidia driver, Compiz enabled.
Just had to re-install due to a hdd crash and now when I start Calibre the main screen extends over to the next "Desk" I have tried resize, but it only allows me to make it bigger not smaller. I have tried disabling compiz incase it was an issue with it, deleting the .config/calibre folder but no difference. Is there anything else I can change? ![]() |
![]() |
![]() |
![]() |
#2 |
Banned
![]() Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
|
Ok fixed it by running calibre as su, then resetting the permissions on the .config/calibre folder.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 58
Karma: 37
Join Date: Oct 2008
Device: PRS-600
|
This keeps happening to me on Snow Leopard with Calibre 0.6.16.
Every so often, when I launch Calibre it extends the window over all three virtual desktops, and won't let me shrink it. The only way to recover it seems to be to delete the ~/Library/Preferences/calibre. |
![]() |
![]() |
![]() |
#4 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
in ~/.config/calibre/gui.py (will be in a different location on non Linux machines) delete the main_window_geometry value.
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 58
Karma: 37
Join Date: Oct 2008
Device: PRS-600
|
I did try that, however that just moved the window so it was centred, but it remained huge!
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,277
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC the size is remembered in ~/Library/Preferences/calibre/dynamic.pickle
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 58
Karma: 37
Join Date: Oct 2008
Device: PRS-600
|
Deleting ~/Library/Preferences/calibre/dynamic.pickle and removing main_window_geometry from ~/Library/Preferences/calibre/gui.py didn't seem to be enough! Deleting everything from the directory does seem to though, but it looses all the other settings!
Last edited by iain_benson; 10-10-2009 at 10:27 AM. |
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,277
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's weird. IIRC GUI related settings are stored in only those two files. Can you delete the files one by one to figure out which file is causing the problem. That will help me figure out why its happening.
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() Posts: 58
Karma: 37
Join Date: Oct 2008
Device: PRS-600
|
Okay, I backed up the contents of the preferences directory, restoring the files between each step below:
- deleting dynamic.pickle on its own - no effect, wizard appears - removing main_window_geometry from gui.py - centered window, still big - deleting dynamic.pickle and removing main_window_geometry from gui.py - centered window, still big, wizard appears - deleting gui.py only - problem sorted, no wizard but settings reset So, it's presumably something in gui.py ... Removing settings one at a time from gui.py narrowed it down to the main_search_history setting. I have some very long queries in there (due to the dodgy SQL feature I added) the result being it sizes the drop down filter history list to try and fit the longest, so my own fault really I suppose - generally people won't have long filters in there, so won't see that the size of the widget is unconstrained. Can you tell I break software for a living? ![]() |
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,277
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I've committed a fix, but for it to work start with a normal sized window and only then add your very long strings to the search box.
|
![]() |
![]() |
![]() |
#11 |
Banned
![]() Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
|
Just had it happen again. I closed it last night on full screen, but this morning it was 1.5 screens width.
Tried removing the data in the search but still the same. |
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,277
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@hairybiker: Your case is likely caused by something else. You'll have to follow the same procedure as Ian to figure out what's causing it.
|
![]() |
![]() |
![]() |
#13 |
Banned
![]() Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
|
Again running as su fixes the issue. I didn't need to delete anything, just run as su then close and run as normal user. So obviously a permissions error somewhere.
When it happens again I will try some more debugging. |
![]() |
![]() |
![]() |
#14 |
Connoisseur
![]() Posts: 58
Karma: 37
Join Date: Oct 2008
Device: PRS-600
|
Sorry to be a pain, but this bug seems to have reappeared. I just updated from (I think) 0.6.42 to 0.6.47, and suddenly I get a huge window which clearing the main_search_history setting seems to resolve.
|
![]() |
![]() |
![]() |
#15 | |
Zealot
![]() Posts: 99
Karma: 30
Join Date: Mar 2010
Location: Grapevine, TX
Device: Sony PRS505
|
Quote:
https://www.mobileread.com/forums/sho...16&postcount=5 |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iPad Problem with sample size | splinters | Apple Devices | 4 | 11-05-2010 04:07 PM |
set default ebook viewer window size? | smee | Calibre | 3 | 10-02-2010 07:24 PM |
Ebook viewer: Remember last used window size not working (0.7.19) | sherman | Calibre | 2 | 09-19-2010 10:55 PM |
Viewer window size | crich70 | Calibre | 2 | 08-27-2010 11:29 PM |
Another font size problem | KlondikeGeoff | Sony Reader | 56 | 12-30-2006 07:34 PM |