You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Ubuntu, I first started zed and then opened an image using the system's default method. The process name displaying the image is eog.
At this point, I started writing my program using zed, and the code is as follows:
package main
import (
"fmt""github.com/go-vgo/robotgo"
)
funcmain() {
pids, err:=robotgo.FindIds("eog")
iferr!=nil {
fmt.Println(err)
return
}
iflen(pids) <1 {
fmt.Println("pids length is 0")
return
}
pid:=pids[0]
fmt.Println("pid:", pid)
// robotgo.ActivePid(pid)name, err:=robotgo.FindName(pid)
fmt.Println("name:", name, "err:", err)
title:=robotgo.GetTitle(pid)
fmt.Println(title)
x, y, w, h:=robotgo.GetBounds(pid)
fmt.Printf("pos: x = %d, y = %d\n", x, y)
fmt.Printf("size: w = %d, h = %d\n", w, h)
}
Now I am running the main function with zed, and it prompts' Get Xid from Pid errors is: VNet perty: No such property '_SET_SWM-PID' on window 4600002. '
After closing zed and the image I just opened, reopen the image and use go run I can run the program I wrote normally
Check for existing issues
Describe the bug / provide steps to reproduce it
On Ubuntu, I first started zed and then opened an image using the system's default method. The process name displaying the image is eog.
At this point, I started writing my program using zed, and the code is as follows:
Now I am running the main function with zed, and it prompts' Get Xid from Pid errors is: VNet perty: No such property '_SET_SWM-PID' on window 4600002. '
After closing zed and the image I just opened, reopen the image and use go run I can run the program I wrote normally
Zed Version and System Specs
Zed: v0.166.1 (Zed)
OS: Linux X11 ubuntu 24.04
Memory: 31.3 GiB
Architecture: x86_64
GPU: NVIDIA GeForce GTX 750 Ti || NVIDIA || 550.120
If applicable, add screenshots or screencasts of the incorrect state / behavior
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: