Fix TrayMenu crash after display wake. Add checks if screen exists, else set scaling to 1.0
TrayMenu: Replace PopupPanel with NPanel (for better loading & to prevent QS crash) Overview, Background etc: add screen checks, if it doesnt exist set scaling to 1.0
This commit is contained in:
parent
714f6c058f
commit
51f1923e22
9 changed files with 119 additions and 137 deletions
|
|
@ -12,7 +12,7 @@ Variants {
|
|||
|
||||
required property ShellScreen modelData
|
||||
|
||||
active: Settings.isLoaded
|
||||
active: Settings.isLoaded && modelData
|
||||
|
||||
sourceComponent: PanelWindow {
|
||||
id: root
|
||||
|
|
@ -38,7 +38,7 @@ Variants {
|
|||
property real stripesAngle: 0
|
||||
|
||||
// External state management
|
||||
property string servicedWallpaper: WallpaperService.getWallpaper(modelData.name)
|
||||
property string servicedWallpaper: modelData ? WallpaperService.getWallpaper(modelData.name) : ""
|
||||
property string futureWallpaper: ""
|
||||
onServicedWallpaperChanged: {
|
||||
// Set wallpaper immediately on startup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue