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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/commit/
                   |                            |fa2bafea8f0cd9fac0864ac23f2
                   |                            |3c955d5f15b73
             Status|ASSIGNED                    |RESOLVED

--- Comment #15 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit fa2bafea8f0cd9fac0864ac23f23c955d5f15b73 by David Edmundson.
Committed on 08/01/2021 at 00:23.
Pushed by davidedmundson into branch 'master'.

[panel] Fix crash on screen changes

There is an error handling path when we fetch the relevant config()

```
KConfigGroup PanelView::panelConfig(...
{
    if (!containment || !screen) {
        return KConfigGroup();
    }
```

which we indiscrimiately call parent() on.

This patch guards that case, which is presumably screen being
temporarily null.

This code is also Plasma 5.8 compatibility fallback, so arguably we
could get rid of it.

M  +4    -3    shell/panelview.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/fa2bafea8f0cd9fac0864ac23f23c955d5f15b73

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

Reply via email to