** Changed in: openlp/2.0
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1196926

Title:
  Zero division error when display size set to zero

Status in OpenLP - Worship Presentation Software:
  Fix Committed
Status in OpenLP 2.0 series:
  Fix Released
Status in OpenLP trunk series:
  Fix Committed

Bug description:
  Orriginally reported at: http://support.openlp.org/issues/1980

  However, I've been able to trigger this by a different method:

  Open the "Configure OpenLP" dialog
  Set hight or width to 0 for the "Override display position" option
  Click ok.

  This produces this traceback:

  Traceback (most recent call last):
    File 
"D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.mainwindow",
 line 1155, in screenChanged
    File 
"D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.lib.renderer",
 line 95, in update_display
    File 
"D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.lib.renderer",
 line 355, in _calculate_default
  ZeroDivisionError: float division by zero

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1196926/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to