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

            Bug ID: 444231
           Summary: Illegal null property access resulting in `TypeError`s
           Product: plasma-systemmonitor
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: ksysguard-b...@kde.org
          Reporter: m...@ratijas.tk
                CC: ahiems...@heimr.nl, plasma-b...@kde.org
  Target Milestone: ---

SUMMARY
When switching pages, loading some of them generates QML/JS `TypeError`s. It
only happens on some pages, and only during first time loading -- I guess after
that they get cached or something.

I took a quick look at the code, but couldn't figure it out immediately, hence
filing a bug for later(tm).

Also, it doesn't seem to break stuff. I think properties eventually receive
intended values during same update cycle of event loop, before they get a
chance to display inconsistency on a screen.

STEPS TO REPRODUCE
1. Launch plasma-systemmonitor.
2. Select pages from the sidebar, one by one.

OBSERVED RESULT

    file::/main.qml:25: TypeError: Cannot read property 'title' of null
    file::/main.qml:81: TypeError: Value is null and could not be converted to
an object
    qrc:/GlobalMenu.qml:32: TypeError: Value is null and could not be converted
to an object

EXPECTED RESULT
No errors

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.14.12-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2

ADDITIONAL INFORMATION

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

Reply via email to