Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-22-2020, 10:07 AM   #1
CarryNL
Junior Member
CarryNL began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2017
Device: Aldiko on Android phone, Kobo Aura ed2, Kobo Forma
Question Viewer and editor crashing on other than primary monitor

First of all: I'm on Windows 10 Pro build 1903, three monitors attached to one video card, Calibre running on the primary monitor.

For a while now (not really sure how long but somewhere in 2019, I think) the Calibre editor has been crashing when I try to edit an epub. I couldn't figure out what caused it as no logs were written and no entries in the system or application event logs were to be found. I don't use the editor very often so after a while I just forgot about it and was slightly annoyed when I tried to edit a book and re-discovered it didn't work. And, to make it more of a puzzle, there were times when it did work...

After updating to 4.9.0 the Calibre viewer occasionally crashed when trying to open an epub but opening the epub on my mobile phone (in Aldiko) or my kobo Aura never showed a problem. Also, no logs or event messages in Windows. This was a bit more annoying as I sometimes like to read from my computer but I could manage without it. The most annoying part was that the crashes were so random as the same book would sometimes open and sometimes it wouldn't.

Today I finally managed to reproduce the problem with both viewer and editor. If I try to open either of them and move my mouse to my secondary or tertiary monitor, the viewer or editor will be opened on the monitor my mouse is over and ends up non-responsive. As long as I make sure to hover over something on my primary monitor, the chosen program opens without any problem and I can read or edit my ebook without any problem. Just to be clear: I'm not clicking anywhere so the active focus should be either the Calibre GUI on my primary monitor or the Explorer window on my primary monitor from where I started the viewer or editor, as far as I know. But for some reason, the monitor where the viewer or editor opens is determined by the location of my mouse.

I dragged Calibre GUI to another monitor to see if that would change anything but nope, still the same behaviour. If my mouse isn't hovering over my primary monitor, viewer or editor open on the monitor my mouse is over and end up unresponsive.

Is this something that is 'by design' or at least 'to be expected'? Can I influence the behaviour by locking viewer and editor to never open anywhere else but my primary monitor no matter where my mouse is? Or is my system just a special snowflake that should be left alone as it's doing the best it can?
CarryNL is offline   Reply With Quote
Old 05-22-2020, 10:38 AM   #2
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This will be a Qt WebEngine issue (the library calibre uses to render HTML). You cn probably workaround it by forcing it to use software rendering, see https://doc.qt.io/qt-5/qtwebengine-debugging.html
kovidgoyal is offline   Reply With Quote
Advert
Old 05-22-2020, 01:01 PM   #3
CarryNL
Junior Member
CarryNL began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2017
Device: Aldiko on Android phone, Kobo Aura ed2, Kobo Forma
Thanks! I'll ask the resident technical person (aka husband ) to look into that
CarryNL is offline   Reply With Quote
Old 05-29-2020, 02:56 PM   #4
Celebi
Junior Member
Celebi began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2015
Device: pocketbook 623
Please, how and where can this be set?
Celebi is offline   Reply With Quote
Old 05-29-2020, 05:15 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,155
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Easiest way would be to open File Explorer. Right click on My PC, click on Properties Click on the Advanced system settings. Click on Environment Variables tab. At this point, you either click on New under User variables for username or New under System variables. My preference is User.

Enter QTWEBENGINE_CHROMIUM_FLAGS as the variable name
Enter --disable-gpu as the variable value.
Click OK.

At least that is what I get from the instructions on the web page Kovid Goyal posted.
DNSB is offline   Reply With Quote
Advert
Old 05-30-2020, 08:06 AM   #6
Celebi
Junior Member
Celebi began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2015
Device: pocketbook 623
Thank you. Even though it did not help to solve the problem, at least I learned something new.
Celebi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editor keeps crashing when trying to update TOC edeniz Editor 15 01-16-2019 01:03 PM
Calibre opening epub in editor rather than viewer harpergriffin Library Management 4 02-18-2016 10:56 PM
drop file into viewer or editor BetterRed Calibre 2 02-16-2014 04:38 AM
[eBook Viewer Crash report] - CBR file crashing Bilbotorm Calibre 3 08-06-2013 07:00 AM
Crashing Problems With Windows 7 and Built in Viewer Athryn Calibre 6 12-28-2009 03:47 PM


All times are GMT -4. The time now is 07:17 AM.


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