RSS/Atom feed Twitter
Site is read-only, email is disabled

GTK3 "empty black window"/"black flash" bug that affects GIMP-2.99

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 6 messages available
Toggle history

Please log in to manage your subscriptions.

ecd0607c-0f32-628c-a1b5-17f... 05 Aug 11:08
  4510ded0c2393d5272d5d404add... 05 Aug 11:08
   GTK3 "empty black window"/"black flash" bug that affects GIMP-2.99 Elle Stone 05 Aug 11:08
    GTK3 "empty black window"/"black flash" bug that affects GIMP-2.99 Jehan 05 Aug 11:30
     GTK3 "empty black window"/"black flash" bug that affects GIMP-2.99 Elle Stone 05 Aug 12:13
      GTK3 "empty black window"/"black flash" bug that affects GIMP-2.99 Jehan 05 Aug 15:14
Elle Stone
2018-08-05 11:08:30 UTC (over 5 years ago)

GTK3 "empty black window"/"black flash" bug that affects GIMP-2.99

On 08/05/2018 05:22 AM, Jehan wrote:

Checking the latest 3.30 tarball from http://ftp.gnome.org/pub/gnome/sources/gtk+/3.22/, it appears the fix hasn't been incorporated into any actual GTK3 releases.

I was wondering what you meant by 3.30. You meant 3.22.30, last release of 3.22.

Oh, drat, of course it should be 3.22.30 - the download folder link I gave is correct, but I accidentally left the ".22" out when referring to the actual version of GTK3 that I downloaded and patched - sorry!

Also I just checked, your commit is available in a release: 3.23.0 which is an unstable release.

We are actually waiting a bit to bump the dependency of GTK+ a bit, but we are planning to. I also wait for a fix I made (also available in 3.23.0) and Mitch told me he also has a commit there. So this bump will happen sooner rather than later, no problem. :-)

Yeah!

So I downloaded the latest GTK3 tarball, applied the fix (involves adding a couple of extra lines of code to gdk/x11/gdkwindow-x11.c), and compiled/installed it in my GIMP-2.99 prefix. This fix does indeed get rid of the "black flash" problem.

My patched version of 3.22.30 did get rid of the "black window" problem, but also seems to have introduced an issue where it was no longer possible to grab the center left-right panel dividing line when using a toolbox in multi-window mode. Leastways going back to the Gentoo-installed 3.22.30 did get rid of the problem of not being able to grab and move the center dividing line. Bleh.

You may also use the unstable tarballs from 3.23 so that you don't have to patch yourself. :-)
https://download.gnome.org/sources/gtk+/3.23/

I'll give that a try -thanks! for the link.

Best, Elle

Thanks anyway for this informative email!

Jehan

Jehan
2018-08-05 11:30:00 UTC (over 5 years ago)

GTK3 "empty black window"/"black flash" bug that affects GIMP-2.99

On 2018-08-05 13:08, Elle Stone wrote:

On 08/05/2018 05:22 AM, Jehan wrote:

Checking the latest 3.30 tarball from http://ftp.gnome.org/pub/gnome/sources/gtk+/3.22/, it appears the fix hasn't been incorporated into any actual GTK3 releases.

I was wondering what you meant by 3.30. You meant 3.22.30, last release of 3.22.

Oh, drat, of course it should be 3.22.30 - the download folder link I gave is correct, but I accidentally left the ".22" out when referring to the actual version of GTK3 that I downloaded and patched - sorry!

Also I just checked, your commit is available in a release: 3.23.0 which is an unstable release.

We are actually waiting a bit to bump the dependency of GTK+ a bit, but we are planning to. I also wait for a fix I made (also available in 3.23.0) and Mitch told me he also has a commit there. So this bump will happen sooner rather than later, no problem. :-)

Yeah!

So I downloaded the latest GTK3 tarball, applied the fix (involves adding a couple of extra lines of code to gdk/x11/gdkwindow-x11.c), and compiled/installed it in my GIMP-2.99 prefix. This fix does indeed
get rid of the "black flash" problem.

My patched version of 3.22.30 did get rid of the "black window" problem, but also seems to have introduced an issue where it was no longer possible to grab the center left-right panel dividing line when using a toolbox in multi-window mode. Leastways going back to the Gentoo-installed 3.22.30 did get rid of the problem of not being able to grab and move the center dividing line. Bleh.

Yeah well, I saw a lot of similar drag'n drop issues on the master branch. But that is another problem: the master branch is not for production and has a lot lot of bugs, until we fix them. It's just a fact and that's why we don't advise anyone to use GIMP master for actual work. :-)

Jehan

You may also use the unstable tarballs from 3.23 so that you don't have to patch yourself. :-)
https://download.gnome.org/sources/gtk+/3.23/

I'll give that a try -thanks! for the link.

Best, Elle

Thanks anyway for this informative email!

Jehan

ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
Elle Stone
2018-08-05 12:13:49 UTC (over 5 years ago)

GTK3 "empty black window"/"black flash" bug that affects GIMP-2.99

On 08/05/2018 07:30 AM, Jehan wrote:

Yeah well, I saw a lot of similar drag'n drop issues on the master branch. But that is another problem: the master branch is not for production and has a lot lot of bugs, until we fix them. It's just a fact and that's why we don't advise anyone to use GIMP master for actual work.

Well, this particular "can't grab the place to move the divider line" issue seems directly linked to using/not using the version of GTK-3.22.30 that I downloaded and patched, vs the unpatched version from Gentoo portage.

The reason I'm using GIMP git master is to help test some ongoing changes in the code that affects color management.

I wouldn't advise anyone to stop using 2.10 and switch to 2.99 unless they are likewise planning to help test the code - 2.99 does crash quite a lot even on Linux. Though the crash recovery code - that I think Jehan had a large part in writing, yes? - does work really well :) .

Best, Elle

Jehan
2018-08-05 15:14:49 UTC (over 5 years ago)

GTK3 "empty black window"/"black flash" bug that affects GIMP-2.99

On 2018-08-05 14:13, Elle Stone wrote:

On 08/05/2018 07:30 AM, Jehan wrote:

Yeah well, I saw a lot of similar drag'n drop issues on the master branch. But that is another problem: the master branch is not for production and has a lot lot of bugs, until we fix them. It's just a fact and that's why we don't advise anyone to use GIMP master for actual work.

Well, this particular "can't grab the place to move the divider line" issue seems directly linked to using/not using the version of GTK-3.22.30 that I downloaded and patched, vs the unpatched version from Gentoo portage.

The reason I'm using GIMP git master is to help test some ongoing changes in the code that affects color management.

Yep. Of course, I know that. I was mostly refering to your initial email when you said you tried the master branch for initial editing. But since I also know you are basically a developer as well (as far as I am concerned), this is actually normal you try to use GIMP master too. I do use master myself when I want to do some quick edits (on the other hand, we don't use GIMP master yet for our more professional works in our studio). :-)

It was mostly a general reminder for the record, just in case. But in your specific case, it definitely makes sense.

I wouldn't advise anyone to stop using 2.10 and switch to 2.99 unless they are likewise planning to help test the code - 2.99 does crash quite a lot even on Linux. Though the crash recovery code - that I think Jehan had a large part in writing, yes? - does work really well :) .

Ahahah. Yeah, well if fully implementing it means having "a large part in writing" it, then yes I do. And I am happy my work is helpful to people. ;-)

Jehan

Best,
Elle

ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot