Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.5.1, 5.6.0 Beta
-
None
-
Debian sid
Description
This might be a corner case, but I still think it's valid.
When we in the Debian Qt/KDE team build our packages we try to run their tests. In this case Maxy Curia was running kidentitymanagement's tests under xvfb (because the build farms do not run X).
Maxy discovered that qxcbscreen.cpp::547 [0] assumes that both htotal and vtotal are >0, but that's not the case with xvfb.
I would simply check they are not 0 and then use some default value for m_refreshRate. Of course if you tell me how to proceed I'll happily provide a patch through gerrit.
Thanks in advance!
Attachments
Issue Links
- duplicates
-
QTBUG-49322 Division by zero when running in Chrome Remote Desktop
- Closed