kdotool icon indicating copy to clipboard operation
kdotool copied to clipboard

getmouselocation produces empty inputs occassionally

Open ppwwyyxx opened this issue 11 months ago • 5 comments

$ while true; do date; kdotool getmouselocation; sleep 1; done
Thu Jan 30 02:21:17 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:18 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:19 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:20 AM PST 2025
Thu Jan 30 02:21:22 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:23 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:24 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:25 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:26 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:27 AM PST 2025
Thu Jan 30 02:21:28 AM PST 2025
Thu Jan 30 02:21:29 AM PST 2025
Thu Jan 30 02:21:30 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:31 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:32 AM PST 2025
x:1089 y:638 screen:1 window:{7ca9ccd5-255a-46ec-b2c0-9fb8630440e2}
Thu Jan 30 02:21:33 AM PST 2025

I ran the above command and pasted the outputs. It can be seen that sometimes there is no output from kdotool.

kdotool v0.2.1 on Wayland Operating System: Arch Linux KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Nvidia GPU.

ppwwyyxx avatar Jan 30 '25 10:01 ppwwyyxx

@ppwwyyxx version 0.2.1 didn't have getmouselocation for me. did you not also get this when running it?

kdotool getmouselocation 
Error: Unknown command: getmouselocation

rxng avatar Feb 27 '25 00:02 rxng

Yup, same for me.

$ kdotool getmouselocation
Error: in command 'getmouselocation'

Caused by:
    Unknown command: getmouselocation

It says 0.2.1, but I took the 0.2.2 pre from Releases.

chrapuch avatar Mar 17 '25 09:03 chrapuch

You need to build from the source code for that command. The releases are quite falling behind.

jinliu avatar Mar 17 '25 09:03 jinliu

'getmouselocation' is not supported in KDE 5

😄

chrapuch avatar Mar 17 '25 09:03 chrapuch

Will 'getmouselocation' be working with KDE 6 ? Do you have any estimated time arrival for the release of 0.2.2 ?

rattlesnake2028 avatar May 29 '25 19:05 rattlesnake2028