06-29-2017, 11:18 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Kindle Paperwhite
|
Calibre 3.1.1. not working LinuxMint 18.2
I have installed calibre on my computer using linuxmint 18.2 (based on ubuntu 16.04) and when I try to launch it I get the following in my terminal, but nothing else happens:
QWidget::setMinimumSize: (Dialog/MessageBox) Negative sizes (-492131204,-492131604) are not possible QWidget::setMinimumSize: (Dialog/MessageBox) Negative sizes (-492131204,-492131604) are not possible QXcbConnection: XCB error: 2 (BadValue), sequence: 386, resource id: 0, major code: 1 (CreateWindow), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 387, resource id: 73400324, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 388, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 389, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 390, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 392, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 393, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 394, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 398, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 402, resource id: 73400324, major code: 2 (ChangeWindowAttributes), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 403, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 404, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 405, resource id: 73400324, major code: 20 (GetProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 409, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 410, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 413, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 414, resource id: 73400324, major code: 18 (ChangeProperty), minor code: 0 QWidget::setMinimumSize: (Dialog/MessageBox) Negative sizes (-492131204,-492131604) are not possible Older version of Calibre work fine. Any help would be awesome. |
06-30-2017, 01:30 AM | #2 |
creator of calibre
Posts: 43,840
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This is some incompatibility between Qt 5.6 which calibre 3 uses and your X server. Basically, Qt for some reason gets the wrong/missing DPI information for the screen, which in trun causes it to use absurd/negative sizes for windows, and that causes those errors.
Unfortunately, I know of no way to find the root cause of this. If I had to guess, I'd say it is related to the new high DPI support in Qt. You can running calibre like this, it might work: QT_SCALE_FACTOR=1 QT_DEVICE_PIXEL_RATIO=1 calibre |
Advert | |
|
07-01-2017, 12:22 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Kindle Paperwhite
|
I wound up removing 3.1.1. and installing 2.85. Until LM updates the x server on the xfce version I think thats best. Thanks
|
07-02-2017, 02:28 PM | #4 |
Addict
Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
|
|
07-02-2017, 02:40 PM | #5 |
creator of calibre
Posts: 43,840
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Not that I know of
|
Advert | |
|
07-03-2017, 10:06 PM | #6 |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
I updated to Mint 18.2 Cinnamon today have no problems with calibre 3.2.1.
I suspect that the posters having problems are using NVIDIA graphics card, or the legacy Intel display driver that is no longer supported. bernie Spoiler:
|
07-07-2017, 06:32 PM | #7 |
Member
Posts: 10
Karma: 10
Join Date: May 2012
Device: aluratek libre reader pro
|
I have been using all versions 3 (3.3 now) on Mint Cinnamon 18, 18.1 and 18.2 with the Nividia driver and no problem (apart from having to set the GTK theming flag)
|
07-10-2017, 05:25 PM | #8 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2017
Device: kindle paperwhite; astak easy reader; iRex
|
For what it is worth, QT_SCALE_FACTOR=1 QT_DEVICE_PIXEL_RATIO=1 ebook-viewer Makes the icons on the left hand side a reasonable size on my laptop. They are over an inch in size with default settings (Slackware-current, Qt5.9)
|
08-13-2017, 08:29 AM | #9 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2017
Device: Ubuntu desktop
|
Having the same problem (silly size messages) with Ubuntu Studio 17. Fortunately the suggested solution (QT_SCALE_FACTOR=1 QT_DEVICE_PIXEL_RATIO=1) works just fine here.
Thanks for the info, Kovid! I may have spoken a little too soon - Calibre does throw an error on exiting, Gtk-Message: Failed to load module "atk-bridge" but this doesn't (so far) appear to affect the operation of the program. Last edited by NewEnglandLimey; 08-13-2017 at 08:44 AM. Reason: update |
Tags |
calibre 3, linux mint 18.2, ubuntu 16.04, ubuntu studio 17 |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LinuxMint 18.1 How to downgrade Sigil from 9.x to 8.2 | harryg123 | Sigil | 2 | 04-05-2017 06:49 AM |
Dual Boot Linuxmint/XP Library sharing | nomad062 | Library Management | 9 | 01-07-2017 06:22 PM |
Calibre Sync on Android stopped working properly with recent version of Calibre? | khahoon | Calibre | 5 | 07-06-2013 08:14 AM |
Calibre not working right for me | Klippy | Calibre | 0 | 02-23-2013 12:28 AM |
Calibre working only 47% | neilmarr | Calibre | 7 | 09-30-2009 02:02 AM |