packages icon indicating copy to clipboard operation
packages copied to clipboard

KDE Connect cannnot load the system theme / does not respect dark theming, mesa zink error

Open TraceyC77 opened this issue 1 year ago • 2 comments

Summary

This was originally reported in the forums

KDE Connect does not properly load the system theme in Budgie

Steps to reproduce

  1. Set Budgie to a dark theme
  2. Launch KDE Connect

Expected result

KDE Connect uses the system theme

Actual result

KDE Connect has a light theme partially or completely

On my test VM, it was completely light. For the user in the forum thread, it was mixed.

Environment

  • [X] Is system up to date?

Repo

Shannon (stable)

Desktop Environment

Budgie

System details

Budgie VM In Desktop Settings > Style Widgets: Materia Icons: Papirus Cursors: breeze_cursors Dark theme: toggled on Built-in theme: toggled off

I also observed that Budge Control Center also appears with a light theme. This is not affected by toggling built-in theme on and restarting the app.

Other comments

Running kdeconnect-app from terminal reveals its having trouble reading the theme file I see this in the terminal regardless of which widget style I choose.

tracey@budgie-test-vm ~ $ kdeconnect-app
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
failed to load driver: zink
QQmlComponent: Component is not ready
kf.kirigami: "<Unknown File>: No matching type found, pragma Singleton files cannot be used by QQmlComponent."
kf.kirigami: Invalid Theme file, using default Basic theme.
kf.kirigami: Failed to find a Kirigami platform plugin
file:///usr/lib64/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:413:17: QML ToolButton: Binding loop detected for property "implicitHeight"
file:///usr/lib64/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:309:21: QML Button: Binding loop detected for property "implicitHeight"
file:///usr/lib64/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:309:21: QML Button: Binding loop detected for property "implicitHeight"
file:///usr/lib64/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:413:17: QML ToolButton: Binding loop detected for property "implicitHeight"
file:///usr/lib64/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:309:21: QML Button: Binding loop detected for property "implicitHeight"
file:///usr/lib64/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:309:21: QML Button: Binding loop detected for property "implicitHeight"
kf.kirigami: The Theme singleton is deprecated (since 5.39). Import Kirigami 2.2 or higher and use the attached property instead.
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "width"

At Joey's suggestion I installed kirigami-addons and restarted the app. Same error in terminal and UI still has its default light theme.

Note: for the user in the forum thread, this results in white text on a white background in the SMS window.

TraceyC77 avatar Jan 21 '24 23:01 TraceyC77

The problem is exactly the same in Xfce

TraceyC77 avatar Jan 22 '24 00:01 TraceyC77

Also encountered this mesa and zink error trying to launch VS Code in a Plasma 6 VM Unstable, up to date

❯ code-oss
Warning: 'ozone-platform-hint' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.
[main 2024-03-25T19:12:16.709Z] update#setState disabled
[main 2024-03-25T19:12:16.710Z] update#ctor - updates are disabled as there is no update URL
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
failed to load driver: zink
[30643:0325/141217.416938:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[30664:0325/141217.870212:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

Operating System: Solus 4.5 KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.6.22-281.current (64-bit) Graphics Platform: X11 Processors: 4 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz Memory: 15.2 GiB of RAM Graphics Processor: llvmpipe Manufacturer: QEMU Product Name: Standard PC (Q35 + ICH9, 2009) System Version: pc-q35-7.2

TraceyC77 avatar Mar 25 '24 19:03 TraceyC77