~eliasnaur/gio#64:
black color when resizing wendow on gnome Xorg

Hello,

When the window is resized, the window becomes black and returns to nature for a few milliseconds. But the black color is clear to the eye. As if the window is repainting itself. This is not important but I like to report. thank you very much.

Status
RESOLVED FIXED
Submitter
~adamseraj
Assigned to
No-one
Submitted
9 days ago
Updated
8 days ago
Labels
No labels applied.

~eliasnaur 9 days ago

On Thu, Nov 7, 2019 at 8:10 PM ~adamseraj outgoing@sr.ht wrote:

Hello,

When the window is resized, the window becomes black and returns to nature for a few milliseconds. But the black color is clear to the eye. As if the window is repainting itself. This is not important but I like to report. thank you very much.

There has been recent changes in this area. Can you tell me which version of gio you're running, and which program? For example, you can send the contents if your go.mod file, or run

$ go mod graph

Additionally, what version of Gnome are you running? Are you sure you're using Xorg and not Xwayland? Which GPU do you use?

~adamseraj 8 days ago

Hello Elias I use Gnome with Xorg session I think the problem is not from Gnome I experimented with the OpenBox interface and got the same problem The window becomes black during resizing for a few milliseconds....

versions: gnome 2.32 Xorg 11.0 gioui.org v0.0.0-20191102140037-97d13922ddfd

and this all detail from go.mod:

go 1.13 require ( gioui.org v0.0.0-20191102140037-97d13922ddfd github.com/aclements/go-gg v0.0.0-20170323211221-abd1f791f5ee // indirect github.com/aclements/go-moremath v0.0.0-20190830160640-d16893ddf098 // indirect github.com/ajstarks/deck v0.0.0-20191009173945-82d717002242 // indirect github.com/ajstarks/svgo v0.0.0-20190826172357-de52242f3d65 // indirect github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b // indirect github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect github.com/cznic/cc v0.0.0-20181122101902-d673e9b70d4d // indirect github.com/cznic/fileutil v0.0.0-20181122101858-4d67cfea8c87 // indirect github.com/cznic/golex v0.0.0-20181122101858-9c343928389c // indirect github.com/cznic/internal v0.0.0-20181122101858-3279554c546e // indirect github.com/cznic/ir v0.0.0-20181122101859-da7ba2ecce8b // indirect github.com/cznic/lex v0.0.0-20181122101858-ce0fb5e9bb1b // indirect github.com/cznic/lexer v0.0.0-20181122101858-e884d4bd112e // indirect github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 // indirect github.com/cznic/strutil v0.0.0-20181122101858-275e90344537 // indirect github.com/cznic/xc v0.0.0-20181122101856-45b06973881e // indirect github.com/disintegration/gift v1.2.1 // indirect github.com/edsrzf/mmap-go v1.0.0 // indirect github.com/fogleman/gg v1.3.0 // indirect github.com/garyburd/redigo v1.6.0 // indirect github.com/gobwas/glob v0.2.3 // indirect github.com/godbus/dbus v4.1.0+incompatible // indirect github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect github.com/golang/mock v1.3.1 // indirect github.com/gonum/blas v0.0.0-20181208220705-f22b278b28ac // indirect github.com/gonum/floats v0.0.0-20181209220543-c233463c7e82 // indirect github.com/gonum/internal v0.0.0-20181124074243-f884aa714029 // indirect github.com/gonum/lapack v0.0.0-20181123203213-e4cdc5a0bff9 // indirect github.com/gonum/matrix v0.0.0-20181209220409-c518dec07be9 // indirect github.com/google/btree v1.0.0 // indirect github.com/google/go-github/v24 v24.0.1 github.com/google/pprof v0.0.0-20191028172815-5e965273ee43 // indirect github.com/googleapis/gax-go v2.0.2+incompatible // indirect github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6 // indirect github.com/jung-kurt/gofpdf v1.13.0 // indirect github.com/kisielk/gotool v1.0.0 // indirect github.com/mattn/go-sqlite3 v1.11.0 // indirect github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d // indirect github.com/peterbourgon/diskv v2.0.1+incompatible // indirect github.com/remyoudompheng/bigfft v0.0.0-20190728182440-6a916e37a237 // indirect github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd // indirect github.com/stretchr/objx v0.2.0 // indirect github.com/syndtr/goleveldb v1.0.0 // indirect go.opencensus.io v0.22.1 // indirect golang.org/x/build v0.0.0-20191031202223-0706ea4fce0c // indirect golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3 golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect google.golang.org/api v0.13.0 // indirect google.golang.org/genproto v0.0.0-20191028173616-919d9bdd9fe6 // indirect google.golang.org/grpc v1.24.0 // indirect gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0 // indirect )

~eliasnaur 8 days ago

On Fri Nov 8, 2019 at 6:40 PM ~adamseraj wrote:

Hello Elias I use Gnome with Xorg session I think the problem is not from Gnome I experimented with the OpenBox interface and got the same problem The window becomes black during resizing for a few milliseconds....

versions: gnome 2.32 Xorg 11.0

gioui.org v0.0.0-20191102140037-97d13922ddfd

There has since been a fix to the flickering background on X11. Please update your Gio version by running

$ go get gioui.org@9def3153de74adbc3261c7ae5914334abec3cb0f

and report back whether it improved resizing.

~adamseraj REPORTED FIXED 8 days ago

Wow great. The problem was solved. Thank you so much Elias

Register here or Log in to comment, or comment via email.