Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-26-2015, 08:05 PM   #31
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Well, on my end all three have the exact same result. So, not the same results after all...
The only thing that matters is whether I exit in fullscreen = restarts with strange yet specific dimensions, or exit with manually sized dimensions = restarts with saved dimensions.

The good news is it doesn't happen in Safe Mode, the bad news is I cannot find whatever it was that must be making a difference...
It did once open the way it should, right after I killed half a dozen services, but it seems to be a fluke.

Although at some point it started showing a faint outline of fullscreen mode for a second or two.

But I am keeping it manually sized to "full" screen, which works in a way.
eschwartz is offline   Reply With Quote
Old 02-26-2015, 08:36 PM   #32
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eschwartz View Post
Well, on my end all three have the exact same result. So, not the same results after all...
The only thing that matters is whether I exit in fullscreen = restarts with strange yet specific dimensions, or exit with manually sized dimensions = restarts with saved dimensions.

The good news is it doesn't happen in Safe Mode, the bad news is I cannot find whatever it was that must be making a difference...
It did once open the way it should, right after I killed half a dozen services, but it seems to be a fluke.
When I went through the Max, Norm, Min sequence again for the third time I got a different result, might have been the same as the first time. It was then that I decided to try fresh desktop shortcuts for the other programs. When they behaved as I thought they should I concluded it was something peculiar to calibre.

Quote:
Originally Posted by eschwartz View Post
Although at some point it started showing a faint outline of fullscreen mode for a second or two.
Interesting, when closing calibre, just after the window disappears, I momentarily see a white box (same size as the window was). I'm pretty sure this is a very recent behaviour, i.e. since Christmas - well after 2.0/Qt5. I'm not seeing that on any other programs either.

BR
BetterRed is offline   Reply With Quote
Advert
Old 02-26-2015, 08:51 PM   #33
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I wanted to know what calibre is up to, so I did most testing launching it from cmd, err, conemu. I figured there might be less interference from weird shortcut settings. Why shortcuts should ever need to control my window size, I just don't know.
eschwartz is offline   Reply With Quote
Old 02-26-2015, 09:14 PM   #34
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Legacy, and corporate requirements. If you're in IT-ops supporting thousands of users running line of business applications across several continents you want all the control you can get. Especially if the l-o-b apps have anything to do with managing customer's funds, investments, well being etc.

Consequences of not doing so could be catastrophic, one rogue trader at a Singapore branch bankrupted a major UK investment bank, imagine what 5000 rogue traders could do to Gold in Sacks

BR
BetterRed is offline   Reply With Quote
Old 02-26-2015, 09:25 PM   #35
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
And all because of window size!
eschwartz is offline   Reply With Quote
Advert
Old 02-26-2015, 10:24 PM   #36
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This sounds very much like a race. calibre restores its window geometry at some point in its startup. Probably something else on your computer is also trying to change the window geometry during the startup. Depending on which "loses" the final geometry is either correct or not. One obvious candidate is windows itself via shortcut properties, but you have eliminated that.

See the call to read_settings() in gui2/ui.py

You can try moving the window geometry restore from read_settings() and puttin it by itself in a new function which you can call via a timer at the end of initialize(). By changing the timeout, you can ensure calibre always loses the race.
kovidgoyal is online now   Reply With Quote
Old 02-26-2015, 10:45 PM   #37
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
That worked, thanks! I added QTimer.singleShot(1, self.my_set_geometry) at the very end.

But I do wonder what was causing it...

Last edited by eschwartz; 02-26-2015 at 10:47 PM.
eschwartz is offline   Reply With Quote
Old 02-26-2015, 11:29 PM   #38
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Not being a windows guru, I dont know of a way to instrument windows sufficiently to see what program is responsible for sending resize events to another, but there probably is some way to do it -- some kind of hook into the window system or kernel event queue
kovidgoyal is online now   Reply With Quote
Old 02-26-2015, 11:30 PM   #39
McHunter
Connoisseur
McHunter will become famous soon enoughMcHunter will become famous soon enoughMcHunter will become famous soon enoughMcHunter will become famous soon enoughMcHunter will become famous soon enoughMcHunter will become famous soon enough
 
McHunter's Avatar
 
Posts: 56
Karma: 510
Join Date: Dec 2013
Device: PB TL2 /PB TL3 (M) STOLEN/ PB SURFpad 3 (7.85") / thl T11
Quote:
Originally Posted by eschwartz View Post
That worked, thanks! I added QTimer.singleShot(1, self.my_set_geometry) at the very end.

But I do wonder what was causing it...
It's wiered, as I can't produce the problem on my system, the only thing that I can think of different graphic driver, I have a NVIDIA graphics card "GeForce GTX 550 Ti" with driver version 347.52 on Windows7 Ultimat SP1 32bit.
McHunter is offline   Reply With Quote
Old 02-27-2015, 12:02 AM   #40
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
It is safe to assume Intel HD Integrated Graphics.
I occasionally use whatever garbage computer is available in the school lab, when I am not on my even more junky 11-yr-old laptop -- which ironically works better. Though, it runs linux.

No one here was paying for gaming equipment...



@kovid -- I am not touching that with a ten-foot pole unless someone can provide explicit instructions.
eschwartz is offline   Reply With Quote
Old 02-27-2015, 11:04 AM   #41
iTalic
Reader
iTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 4
Karma: 16198
Join Date: Sep 2013
Device: iPhone 5s
I am having this problem as well, where Calibre appears to not save preference changes or window resizing. Running OS X 10.10.2, Calibre 2.20. I think it was happening for me in at least 2.19 and maybe 2.18 as well, but just didn't pay much attention because the only symptom was that the window size was maximized without manually changing it.

I tried backing up my old gui.py and gui.json in ~/Library/Preferences/calibre. Calibre created new files, but again would not save changes after that once I made them. I checked that I have read/write permissions on these files as well and also tried rebuilding permissions with Disk Utility.

No luck with any of this.
iTalic is offline   Reply With Quote
Old 02-27-2015, 11:24 AM   #42
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Redownload and install calibre.

v2.20 was rereleased with a fix for preferences not saving, slightly different problem.

https://www.mobileread.com/forums/showthread.php?t=256268

Last edited by eschwartz; 02-27-2015 at 11:27 AM.
eschwartz is offline   Reply With Quote
Old 02-27-2015, 11:39 AM   #43
McHunter
Connoisseur
McHunter will become famous soon enoughMcHunter will become famous soon enoughMcHunter will become famous soon enoughMcHunter will become famous soon enoughMcHunter will become famous soon enoughMcHunter will become famous soon enough
 
McHunter's Avatar
 
Posts: 56
Karma: 510
Join Date: Dec 2013
Device: PB TL2 /PB TL3 (M) STOLEN/ PB SURFpad 3 (7.85") / thl T11
Question

Quote:
Originally Posted by eschwartz View Post
It is safe to assume Intel HD Integrated Graphics.
I occasionally use whatever garbage computer is available in the school lab, when I am not on my even more junky 11-yr-old laptop -- which ironically works better. Though, it runs linux.

No one here was paying for gaming equipment...
hmmmm... are you sure ther is not some sort of "spyware" running on them, of course, only for "protection of national security"... because they are school equipment...

As for "gaming equipment"... 3 Years ago perhaps, now? I don't know...
McHunter is offline   Reply With Quote
Old 02-27-2015, 11:41 AM   #44
iTalic
Reader
iTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcoveriTalic exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 4
Karma: 16198
Join Date: Sep 2013
Device: iPhone 5s
I re-downloaded v2.20 and guy.py is still not saving window location or sizing changes. After I quit Calibre I checked the file modification times and gui.json is updating, but gui.py is not.
iTalic is offline   Reply With Quote
Old 02-27-2015, 11:46 AM   #45
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by McHunter View Post
hmmmm... are you sure ther is not some sort of "spyware" running on them, of course, only for "protection of national security"... because they are school equipment...
No but there is a filter that blocks the consecutive letters "tv" in urls, to protect our sensitive minds as well as shield us from websites which use access tokens for login sessions and from search sites which use random identifiers and suchlike.

Quote:
as for "gaming equipment"... 3 Years ago perhaps, now? I don't know...
Even when new, they, um, weren't.


... as you can tell, I have a dim view of the system here. But it is useful when I am too impatient to get my laptop.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre and exiting Full Screen mode on a tablet John41 Calibre 2 04-29-2014 01:07 AM
How can I enable the "absolute" full screen mode in Calibre? Edum Library Management 6 09-02-2013 04:59 PM
calibre input/output error while starts to view a file ccczzx Calibre 4 08-05-2011 10:56 AM
3.5 "disk drive starts when I launch Calibre mferrap Calibre 3 05-11-2011 12:23 PM


All times are GMT -4. The time now is 09:04 AM.


MobileRead.com is a privately owned, operated and funded community.