#1154 setColor() method produces incorrect results

ooDialog.4.2.2
closed
complete
1
2013-03-04
2013-01-12
No

In ooDialog 4.2.1, the setColor() method can produce incorrect results.

For instance, this invocation:

dlg = self~getEditControl(200)
ret = dlg~setColor(10,4)

should produce blue text on a white background for the edit control. Instead it sometimes produces black text on a black background.

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2013-01-12

    Committed revision 8827. [r8827]

    The Color table struct was not being set to all zeros on allocation, causing random problems.

     

    Related

    Commit: [r8827]

  • Mark Miesfeld
    Mark Miesfeld
    2013-01-12

    • labels: ooDialog --> ooDialog, fixed
    • status: open --> pending
    • assigned_to: Mark Miesfeld
    • pending_work_items: none --> complete
    • milestone: ooDialog.4.2.1 --> ooDialog.4.2.2
     
  • Mark Miesfeld
    Mark Miesfeld
    2013-03-04

    • status: pending --> closed
     
  • Mark Miesfeld
    Mark Miesfeld
    2013-03-04

    Fix is in ooDialog 4.2.2

     


Anonymous


Cancel   Add attachments