Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KDE Connect doesn't use user's qt theme and doesn't send files #50706

Open
nuckle opened this issue Jun 5, 2024 · 10 comments
Open

KDE Connect doesn't use user's qt theme and doesn't send files #50706

nuckle opened this issue Jun 5, 2024 · 10 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@nuckle
Copy link
Contributor

nuckle commented Jun 5, 2024

Is this a new report?

Yes

System Info

Void 6.6.32_1 x86_64 GenuineIntel notuptodate rrrmFFFFFFFF

Package(s) Affected

kdeconnect-24.02.2_2

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

A working qt theme and an ability to send file to other devices (android in this case)

Actual behaviour

  • Qt theme is applied only partially (in KDE Connect Settings and KDE Connect Indicator)
  • Files don't send to android device via gui (works fine in kdeconnect-cli)
Preview

image

Steps to reproduce

I updated the package recently and noticed this bug. Didn't change anything in my configuration. Other QT programs work fine

  1. Run kdeconnect-app
@nuckle nuckle added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Jun 5, 2024
@nuckle nuckle changed the title Kdeconnect doesn't use qt theme and doesn't send files Kdeconnect doesn't use user's qt theme and doesn't send files Jun 5, 2024
@nuckle nuckle changed the title Kdeconnect doesn't use user's qt theme and doesn't send files KDE Connect doesn't use user's qt theme and doesn't send files Jun 5, 2024
@Luciogi
Copy link
Contributor

Luciogi commented Jun 6, 2024

which DE or WM you are using?

@nuckle
Copy link
Contributor Author

nuckle commented Jun 6, 2024

which DE or WM you are using?

The issue persists on Awesomewm and cinnamon

@Luciogi
Copy link
Contributor

Luciogi commented Jun 6, 2024

run it from terminal, share logs

@nuckle
Copy link
Contributor Author

nuckle commented Jun 6, 2024

run it from terminal, share logs

kdeconnect-app
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qrc:/qt/qml/org/kde/kdeconnect/app/FindDevicesPage.qml:13:1: QML FindDevicesPage: Created graphical object was not placed in the graphics scene.

@Dr64h
Copy link

Dr64h commented Jun 7, 2024

qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qrc:/qt/qml/org/kde/kdeconnect/app/FindDevicesPage.qml:13:1: QML FindDevicesPage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/kdeconnect/app/FindDevicesPage.qml:19:9: QML DevicePage: Created graphical object was not placed in the graphics scene.
kf.kio.filewidgets.kfilefiltercombo: Could not find file filter

I have this log under KDE. Sending files works only through Dolphin's context menu and from the phone to the PC.

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

@Luciogi
Copy link
Contributor

Luciogi commented Jun 7, 2024

=

qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qrc:/qt/qml/org/kde/kdeconnect/app/FindDevicesPage.qml:13:1: QML FindDevicesPage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/kdeconnect/app/FindDevicesPage.qml:19:9: QML DevicePage: Created graphical object was not placed in the graphics scene.
kf.kio.filewidgets.kfilefiltercombo: Could not find file filter

I have this log under KDE. Sending files works only through Dolphin's context menu and from the phone to the PC.

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

under kde sending from laptop to phone is working

@Luciogi
Copy link
Contributor

Luciogi commented Jun 7, 2024

try re-pairing devices

@nuckle
Copy link
Contributor Author

nuckle commented Jun 7, 2024

My logs when I try to send a file to my phone

qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qrc:/qt/qml/org/kde/kdeconnect/app/FindDevicesPage.qml:13:1: QML FindDevicesPage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/kdeconnect/app/FindDevicesPage.qml:19:9: QML DevicePage: Created graphical object was not placed in the graphics scene.

I also get a notification on mobile to open the file, but it's empty. The folder "Drop" is also empty. I tried to re-pair devices, reinstall the package, clean data in .cache and .config, but it didn't change anything.
Note: everything else works just fine: notifications, calls, clipboard sharing, etc

@Luciogi
Copy link
Contributor

Luciogi commented Jun 7, 2024

Sending file through dolphin, and applet works (use these as workaround)
but not within window of kde connect

@nuckle
Copy link
Contributor Author

nuckle commented Aug 13, 2024

Recently I found a related issue about a mismatching qt theme with a sort of "fix" for this

Similar issues posted earlier:

I use kvantum and seems like kdeconnect-app and kdeconnect-sms don't follow its theme like they used to do (without any tweaking)

kdeconnect-app

image

However, it kinda works in settings menu and sms

Settings

image

kdeconnect-sms

image

Also it works fine in other parts of the app

kdeconnect-settings

image

My current workaround is to simply add colors from a kde theme to ~/.config/kdeglobals

The result

kdeconnect-app

image

kdeconnect-sms

image

I also noticed that kdeconnectd stopped running automatically via dbus service when I run kdeconnect-app

Seems like it's a bug and it's described here

For me it works again when I change Exec field in /usr/share/dbus-1/services/org.kde.kdeconnect.service to kdeconnectd's full path

[D-BUS Service]
Name=org.kde.kdeconnect
Exec=/usr/bin/kdeconnectd

File transfer from KDE Connect App still doesn't work, but works fine from kdeconnect-cli or Dolphin

Debug info (without kdeconnectd running)

> kdeconnect-app
qt6ct: using qt6ct plugin
kf.i18n: Loading the "qt_" catalog failed for locale QLocale(English, Latin, United States)
kf.i18n: Loading the "qt_" catalog failed for locale QLocale(English, Latin, United States)
kf.i18n: Loading the "qtbase_" catalog failed for locale QLocale(English, Latin, United States)
kf.i18n: Loading the "qtscript_" catalog failed for locale QLocale(English, Latin, United States)
kf.i18n: Loading the "qtmultimedia_" catalog failed for locale QLocale(English, Latin, United States)
kf.i18n: Loading the "qtxmlpatterns_" catalog failed for locale QLocale(English, Latin, United States)
kf.kirigami.platform: Loading style plugin from "/usr/lib/qt6/plugins/kf6/kirigami/platform/org.kde.desktop.so"
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.Spawn.ExecFailed", "Failed to execute program org.kde.kdeconnect: No such file or directory")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.Spawn.ExecFailed", "Failed to execute program org.kde.kdeconnect: No such file or directory")
kdeconnect.interfaces: dbus interface not valid
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.Spawn.ExecFailed", "Failed to execute program org.kde.kdeconnect: No such file or directory")
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.Spawn.ExecFailed", "Failed to execute program org.kde.kdeconnect: No such file or directory")
kdeconnect.interfaces: dbus interface not valid
qrc:/qt/qml/org/kde/kdeconnect/app/FindDevicesPage.qml:13:1: QML FindDevicesPage: Created graphical object was not placed in the graphics scene.
kdeconnect.interfaces: dbus interface not valid
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.Spawn.ExecFailed", "Failed to execute program org.kde.kdeconnect: No such file or directory")
qt6ct: palette support is disabled
qrc:/qt/qml/org/kde/kdeconnect/DBusProperty.qml:48: ReferenceError: write is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

3 participants