Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/share/usr/share/xsessions/plasma", "/usr/local/share", "/usr/share", "/var/lib/snapd/desktop")
WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Desktop"
qml: cellHeight iconHeight 108
qml: availableColumns 0 = containerSize / cellSize 0 108
qml: availableColumns 0 floored
qml: extraSpacing 0
qml: cellHeight extraHeight 0
qml: cellHeight is containment iconHeight 108 extraHeight 0
qml: cellWidth iconWidth 92
qml: availableColumns 0 = containerSize / cellSize 0 92
qml: availableColumns 0 floored
qml: extraSpacing 0
qml: cellWidth extraWidth 0
qml: cellWidth is containment iconWidth 92 extraWidth 0
qml: cellHeight iconHeight 108
qml: availableColumns 0 = containerSize / cellSize 0 108
qml: availableColumns 0 floored
qml: extraSpacing 0
qml: cellHeight extraHeight 0
qml: cellHeight is containment iconHeight 108 extraHeight 0
qml: availableColumns 2.608695652173913 = containerSize / cellSize 240 92
qml: availableColumns 2 floored
qml: allColumnSize 184
qml: extraSpace 56
qml: extraSpacing 28
qml: cellWidth extraWidth 28
qml: cellWidth is containment iconWidth 92 extraWidth 28
qml: availableColumns 1.3888888888888888 = containerSize / cellSize 150 108
qml: availableColumns 1 floored
qml: allColumnSize 108
qml: extraSpace 42
qml: extraSpacing 42
qml: cellHeight extraHeight 42
qml: cellHeight is containment iconHeight 108 extraHeight 42
qml: availableColumns 0 = containerSize / cellSize 0 92
qml: availableColumns 0 floored
qml: extraSpacing 0
qml: cellWidth extraWidth 0
qml: cellWidth is containment iconWidth 92 extraWidth 0
qml: availableColumns 0 = containerSize / cellSize 0 108
qml: availableColumns 0 floored
qml: extraSpacing 0
qml: cellHeight extraHeight 0
qml: cellHeight is containment iconHeight 108 extraHeight 0
qml: availableColumns -0.010869565217391304 = containerSize / cellSize -1 92
qml: availableColumns -1 floored
qml: extraSpacing 0
qml: cellWidth extraWidth 0
qml: availableColumns -0.009259259259259259 = containerSize / cellSize -1 108
qml: availableColumns -1 floored
qml: extraSpacing 0
qml: cellHeight extraHeight 0
qml: availableColumns -0.08333333333333333 = containerSize / cellSize -9 108
qml: availableColumns -1 floored
qml: extraSpacing 0
qml: cellHeight extraHeight 0
qml: availableColumns -0.09782608695652174 = containerSize / cellSize -9 92
qml: availableColumns -1 floored
qml: extraSpacing 0
qml: cellWidth extraWidth 0
qml: availableColumns 20.782608695652176 = containerSize / cellSize 1912 92
qml: availableColumns 20 floored
qml: allColumnSize 1840
qml: extraSpace 72
qml: extraSpacing 3.6
qml: cellWidth extraWidth 3.6
qml: cellWidth is containment iconWidth 92 extraWidth 3.6
qml: availableColumns -0.009259259259259259 = containerSize / cellSize -1 108
qml: availableColumns -1 floored
qml: extraSpacing 0
qml: cellHeight extraHeight 0
qml: availableColumns 20.869565217391305 = containerSize / cellSize 1920 92
qml: availableColumns 20 floored
qml: allColumnSize 1840
qml: extraSpace 80
qml: extraSpacing 4
qml: cellWidth extraWidth 4
qml: cellWidth is containment iconWidth 92 extraWidth 4
qml: availableColumns 10 = containerSize / cellSize 1080 108
qml: availableColumns 10 floored
qml: allColumnSize 1080
qml: extraSpace 0
qml: extraSpacing 0
qml: cellHeight extraHeight 0
No metadata file in the package, expected it at: "/home/chris/Pictures/Wallpapers/"
No metadata file in the package, expected it at: "/home/chris/Pictures/Wallpapers/"
No metadata file in the package, expected it at: "/home/chris/Pictures/Wallpapers/"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
Notifications service registered
...
After panel loads I think since it would trigger resize of the viewport
...
qml: enabling redshift with command: redshift -l 50:7 -t 5000:4000 -b 1:1 -g 1:1:1 -r
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
qml: availableColumns 9.99074074074074 = containerSize / cellSize 1079 108
qml: availableColumns 9 floored
qml: allColumnSize 972
qml: extraSpace 107
qml: extraSpacing 11.88888888888889
qml: cellHeight extraHeight 11.88888888888889
qml: cellHeight is containment iconHeight 108 extraHeight 11.88888888888889
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
qml: timeLeft 0 1498062092397
qml: availableColumns 9.722222222222221 = containerSize / cellSize 1050 108
qml: availableColumns 9 floored
qml: allColumnSize 972
qml: extraSpace 78
qml: extraSpacing 8.666666666666666
qml: cellHeight extraHeight 8.666666666666666
qml: cellHeight is containment iconHeight 108 extraHeight 8.666666666666666
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:282:17: QML Text: Binding loop detected for property "width"
function calcExtraSpacing(cellSize, containerSize) {
var availableColumns = containerSize / cellSize;
console.log('\t', 'availableColumns', availableColumns, ' = containerSize / cellSize', containerSize, cellSize)
availableColumns = Math.floor(availableColumns);
console.log('\t', 'availableColumns', availableColumns, ' floored')
// var availableColumns = Math.floor(containerSize / cellSize);
var extraSpacing = 0;
if (availableColumns > 0) {
var allColumnSize = availableColumns * cellSize;
console.log('\t', 'allColumnSize', allColumnSize)
var extraSpace = Math.max(containerSize - allColumnSize); // TODO: Max() missing second arg (0?)
console.log('\t', 'extraSpace', extraSpace)
extraSpacing = extraSpace / availableColumns;
}
console.log('\t', 'extraSpacing', extraSpacing)
return extraSpacing;
}
readonly property int iconWidth: {
var val = iconSize + (2 * units.largeSpacing) + (2 * units.smallSpacing)
console.log('cellWidth', 'iconWidth', val)
return val
}
readonly property real extraWidth: {
var val = calcExtraSpacing(iconWidth, scrollArea.viewportWidth)
console.log('cellWidth', 'extraWidth', val)
return val
}
cellWidth: {
if (root.useListViewMode) {
return gridView.width;
} else if (root.isContainment) {
console.log('cellWidth is containment', 'iconWidth', iconWidth, 'extraWidth', extraWidth)
return iconWidth + extraWidth;
} else {
console.log('cellWidth not containment', 'iconWidth', iconWidth)
return iconWidth;
}
// } else {
// var iconWidth = iconSize + (2 * units.largeSpacing) + (2 * units.smallSpacing);
// console.log('cellWidth', 'iconWidth', iconWidth)
// if (root.isContainment && isRootView) {
// var extraWidth = calcExtraSpacing(iconWidth, scrollArea.viewportWidth);
// console.log('cellWidth', 'extraWidth', extraWidth)
// return iconWidth + extraWidth;
// } else {
// return iconWidth;
// }
// }
}
readonly property int iconHeight: {
var val = (iconSize + (theme.mSize(theme.defaultFont).height * plasmoid.configuration.textLines) + (6 * units.smallSpacing))
console.log('cellHeight', 'iconHeight', val)
return val
}
readonly property real extraHeight: {
var val = calcExtraSpacing(iconHeight, scrollArea.viewportHeight)
console.log('cellHeight', 'extraHeight', val)
return val
}
cellHeight: {
if (root.useListViewMode) {
return Math.ceil((Math.max(theme.mSize(theme.defaultFont).height, iconSize)
+ Math.max(highlightItemSvg.margins.top + highlightItemSvg.margins.bottom,
listItemSvg.margins.top + listItemSvg.margins.bottom)) / 2) * 2;
} else if (root.isContainment) {
console.log('cellHeight is containment', 'iconHeight', iconHeight, 'extraHeight', extraHeight)
return iconHeight + extraHeight;
} else {
console.log('cellHeight not containment', 'extraHeight', extraHeight)
return iconHeight;
}
// } else {
// var iconHeight = iconSize + (theme.mSize(theme.defaultFont).height * plasmoid.configuration.textLines) + (6 * units.smallSpacing);
// console.log('cellHeight', 'iconHeight', iconHeight)
// if (root.isContainment && isRootView) {
// var extraHeight = calcExtraSpacing(iconHeight, scrollArea.viewportHeight);
// console.log('cellHeight', 'extraHeight', extraHeight)
// return iconHeight + extraHeight;
// } else {
// return iconHeight;
// }
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.