[Differential] [Request, 3 lines] D2850: Prevent "TypeError: Cannot read property 'Layout' of null" warning on plasmashell startup

eliasp (Elias Probst) noreply at phabricator.kde.org
Sat Sep 24 08:03:57 UTC 2016


eliasp created this revision.
eliasp added a reviewer: Plasma.
eliasp set the repository for this revision to rPLASMADESKTOP Plasma Desktop.
eliasp added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  When starting `plasmashell`, the following warning was displayed:
  
    file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:83: TypeError: Cannot read property 'Layout' of null
  
  This adds a check whether the `containment` is available before attempting to use its layout.

REPOSITORY
  rPLASMADESKTOP Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D2850

AFFECTED FILES
  desktoppackage/contents/views/Panel.qml

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: eliasp, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160924/4a5b2a25/attachment.html>


More information about the Plasma-devel mailing list