Open
Description
Describe the bug
When trying to run the first program in the tutorial I get this error:
go run main.go
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 149 ()
Minor opcode of failed request: 4
Serial number of failed request: 239
Current serial number in output stream: 249
exit status 1
About my system:
go version go1.24.2 linux/amd64
Ubuntu 24.04.2 LTS
GPU Nvidia RTX 3090
XDG_SESSION_TYPE=x11
xorg 1:7.7+23ubuntu3 amd64 X.Org X Window System
How to reproduce
Run this program:
package main
import "cogentcore.org/core/core"
func main() {
b := core.NewBody()
core.NewButton(b).SetText("Hello, World!")
b.RunMainWindow()
}
Example code
Relevant output
go run main.go
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 149 ()
Minor opcode of failed request: 4
Serial number of failed request: 239
Current serial number in output stream: 249
exit status 1
Platform
Linux
Metadata
Metadata
Assignees
Type
Projects
Status
Todo