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

Breaks plasma 6 global shortcut service. #36

Open
zany130 opened this issue Apr 2, 2024 · 2 comments
Open

Breaks plasma 6 global shortcut service. #36

zany130 opened this issue Apr 2, 2024 · 2 comments

Comments

@zany130
Copy link

zany130 commented Apr 2, 2024

somehow the user systemd service this creates breaks plasma 6 global shortcut service. I vertified this by removing /home/zany130/.config/systemd/user/graphical-session.target.wants/clipboard-sync.service.

before the removal adding a shortcut to a script in plasma settings produces this error in the terminal

kcmshell6 kcm_keys
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:/kcm/kcm_keys/main.qml:466:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml:235:5: QML MenuItem: Binding loop detected for property "implicitWidth"
org.kde.kcm_keys: "Error while calling objectPath of added applicationnotify-send.desktop"
org.kde.kcm_keys: "org.kde.kglobalaccel.NoSuchComponent" "The component 'notify-send.desktop' doesn't exist."

removing the file allows me to successfully add the same shortcut.

I tried reinstalling the clipboard-sync package both from the aur and by https://github.com/dnut/clipboard-sync#advanced-installation

and it still breaks.

here is the KDE issue where I was troubleshooting this
https://discuss.kde.org/t/unable-to-add-shortcuts-plasma-6-regression/13383

@dnut
Copy link
Owner

dnut commented Apr 2, 2024

Thanks for the report.

All you did was delete that file and it resolved the issue? Did you also stop the service or reboot?

That file is not actually a part of clipboard-sync. It's created by systemd when you enable the clipboard-sync service. When the service is enabled, that means it will start automatically when you login. But you can actually run the service without enabling it.

I'm curious if the problem is actually specifically due to that file, or if it's simply caused by clipboard-sync running.

With the service disabled, can you try running the clipboard-sync command and see if you can reproduce that error while clipboard-sync is running?

@zany130
Copy link
Author

zany130 commented Apr 2, 2024

Yes you are correct. its not the service file that causes the issue its the actual process. (I thought it was the service file) running systemctl --user stop clipboard-sync.service also allows me to add shortcuts to kde. trying to run clipboard-sync --log-level trace to see if I can find anything useful

EDIT: hmm all I get is this

clipboard-sync --log-level trace
2024-04-02 17:17:45 -  INFO - started clipboard sync manager
2024-04-02 17:17:45 - DEBUG - child process 462272 successfully initialized.
2024-04-02 17:17:45 -  INFO - starting clipboard sync
2024-04-02 17:17:45 - DEBUG - identifying unique clipboards...
2024-04-02 17:17:45 - DEBUG - waiting 600 seconds and then killing 462272.
2024-04-02 17:17:45 - DEBUG - Found clipboard: WlrClipboard { display: "wayland-0" }
2024-04-02 17:17:45 - DEBUG - Found clipboard: X11Clipboard { display: ":0" }
2024-04-02 17:18:00 -  WARN - Issue connecting to some x11 clipboards. This is expected when hooking up to gnome wayland, and not a problem in that context. Details: 'clipboard error: X11 clipboard error : XCB connection error: Connection' for x11 displays: [1..254]
2024-04-02 17:18:00 -  INFO - Using clipboards: [WlrClipboard { display: "wayland-0" }, X11Clipboard { display: ":0" }]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants