https://bugs.kde.org/show_bug.cgi?id=512258

            Bug ID: 512258
           Summary: NoticesView.qml uses Warnings enum
    Classification: Plasma
           Product: plasmashell
      Version First master
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Weather widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

SUMMARY

I get lots of errors like 

qrc:/qt/qml/plasma/applet/org/kde/plasma/weather/NoticesView.qml:41:
ReferenceError: Warnings is not defined

on both my computer with a master build and on stock Fedora.

I did not get these earlier, when no weather warning was in effect. The warning
itself works, but there does not seem to be a color-coded icon (as the source
assignment fails).

The enum is defined in warnings.h, but I'm not sure it's exported, and in any
case the qml file (nor any other in the widget) does not import a qml module
that would make it available.

STEPS TO REPRODUCE
1.  Have a weather warning for your location
2.  Have Weather widget enabled 

OBSERVED RESULT

runtime error in log, no icon 

EXPECTED RESULT

no runtime error, but icon

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to