FS#51029 - [calibre] 2.68 GUI won't start

Attached to Project: Community Packages
Opened by Pericles (watsonalgas) - Thursday, 29 September 2016, 03:12 GMT
Last edited by Jelle van der Waa (jelly) - Thursday, 29 December 2016, 00:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: I just re-installed Arch, so everything's fresh (was having the problem before, too). Here's the output:

calibre 2.68 embedded-python: False is64bit: True
Linux-4.7.5-1-ARCH-x86_64-with-glibc2.2.5 Linux ('64bit', '')
('Linux', '4.7.5-1-ARCH', '#1 SMP PREEMPT Sat Sep 24 13:04:22 CEST 2016')
Python 2.7.12
Linux: ('', '', '')
devicePixelRatio: 1.0
logicalDpi: inf x inf
physicalDpi: -151097187.422 x -268699924.43
QWidget::setMinimumSize: (/Wizard) Negative sizes (-402653024,0) are not possible
QWidget::setMinimumSize: (/Wizard) Negative sizes (0,-626349394) are not possible
QWidget::setMaximumSize: (/Wizard) Negative sizes (-402128897,16777215) are not possible
QWidget::setMaximumSize: (/Wizard) Negative sizes (0,-609572179) are not possible
QWidget::setMinimumSize: (/QWidget) Negative sizes (-492131479,55) are not possible
QXcbConnection: XCB error: 2 (BadValue), sequence: 403, resource id: 0, major code: 1 (CreateWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 404, resource id: 12582917, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 405, resource id: 12582917, major code: 18 (ChangeProperty), minor code: 0

Additional info:
* package version 2.68, if I downgrade to 2.65 it starts fine.


Steps to reproduce:
run calibre or calibre-debug -g
This task depends upon

Closed by  Jelle van der Waa (jelly)
Thursday, 29 December 2016, 00:59 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Thursday, 29 September 2016, 06:11 GMT
>> physicalDpi: -151097187.422 x -268699924.43

This looks very wrong. Please post your /var/log/Xorg.0.log
Comment by Pericles (watsonalgas) - Thursday, 29 September 2016, 13:17 GMT
I don't know if it matters, but my log is found in ~/.local/share/xorg
Comment by Scott McLeod (halcyonblue) - Monday, 21 November 2016, 07:06 GMT
I have a fresh install too, and am able to reproduce this with community/calibre 2.72.0-1. I've been able to work around it by setting the environment variable QT_DEVICE_PIXEL_RATIO=1 prior to running calibre.
Comment by Doug Newgard (Scimmia) - Monday, 21 November 2016, 07:13 GMT
Does this happen to be on Gnome/Wayland?
Comment by Pericles (watsonalgas) - Monday, 21 November 2016, 18:14 GMT
The device pixel ration didn't fix it for me.

I'm using Openbox.
Comment by Scott McLeod (halcyonblue) - Monday, 21 November 2016, 18:45 GMT
I'm using X.Org X Server 1.18.4, xf86-video-intel 1:2.99.917+730+gdad64e9-1, and StumpWM. I'm sucessfully invoking calibre with "QT_SCALE_FACTOR=1 calibre", and can reproduce the problem by invoking calibre without setting the variable. Calibre succeeded with QT_DEVICE_PIXEL_RATIO=1 as well, but I have since discovered that QT_DEVICE_PIXEL_RATIO is deprecated.
Comment by Pericles (watsonalgas) - Monday, 21 November 2016, 20:15 GMT
"QT_SCALE_FACTOR=1 calibre" worked for me too.

Loading...