← Back to team overview

mudlet-makers team mailing list archive

[Bug 1229978] [NEW] setLabelStyleSheet() needs improvement in error handling

 

Public bug reported:

setLabelStyleSheet() currently only checks the two arguments to it
needed, and fails to notify when the label it is operating on is missing
(http://sourceforge.net/p/mudlet/code/ci/master/tree/src/TConsole.cpp#l590).
It also doesn't notify then the CSS is invalid, but Qt doesn't seem to
support us there in that regard.

If the label setLabelStyleSheet() tries to operate on is missing, the
function should return nil, "setLabelStyleSheet: label $labelname"
doesn't exist"

** Affects: mudlet
     Importance: Undecided
         Status: New

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

Title:
  setLabelStyleSheet() needs improvement in error handling

Status in Mudlet the MUD client:
  New

Bug description:
  setLabelStyleSheet() currently only checks the two arguments to it
  needed, and fails to notify when the label it is operating on is
  missing
  (http://sourceforge.net/p/mudlet/code/ci/master/tree/src/TConsole.cpp#l590).
  It also doesn't notify then the CSS is invalid, but Qt doesn't seem to
  support us there in that regard.

  If the label setLabelStyleSheet() tries to operate on is missing, the
  function should return nil, "setLabelStyleSheet: label $labelname"
  doesn't exist"

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


Follow ups

References