gimp/plug-ins
Jehan 1584a9ba50 plug-ins: fix the thread rendering the thumbnails all the time.
After testing a bit more, I realized that the thread was constantly re-rendering
the thumbnails, even though I didn't touch the "white-background"
button/argument.
This was not just a completely invisible problem, it actually affected the page
selection (it was very hard to select pages by clicking on them, it was randomly
working, and more often not selecting anything). This is how I realized there
was a problem.

The reason was simply that I was never actually calling g_cond_wait() because of
a first_loop flag I forgot to set.

Note that docs of g_cond_wait() explains that it is possible that "spurious
wakeup" happen. At first I thought I had this issue, which is why this commit
also adds a boolean flag to check after a wakeup, to make sure that I was in the
"condition met" case and not the "spurious wakeup" one.
Even though I realized afterwards the real reason was much more stupid, I still
left this additional check.

Fortunately this issue doesn't seem to affect the 2.10 code. Or to be more
accurate: the continuous render very likely happens there too, yet it doesn't
break page selection interaction with GTK+2 as far as I can see.
2023-04-22 01:29:42 +02:00
..
common plug-ins: fix the thread rendering the thumbnails all the time. 2023-04-22 01:29:42 +02:00
file-bmp plug-ins: Port bmp-save widgets to use... 2023-04-05 17:43:23 +00:00
file-dds plug-ins: Port DDS load dialog widgets to use... 2023-04-01 02:03:55 +00:00
file-exr plug-ins: get rid of various gimp_image_set_file() calls. 2023-02-13 22:54:16 +01:00
file-faxg3 plug-ins: get rid of various gimp_image_set_file() calls. 2023-02-13 22:54:16 +01:00
file-fits plug-ins: get rid of various gimp_image_set_file() calls. 2023-02-13 22:54:16 +01:00
file-fli Issue #9340: Make To/From property less ambiguous 2023-04-11 16:59:45 +00:00
file-icns plug-ins: typo and spacing fixes 2023-03-26 19:20:48 +00:00
file-ico plug-ins: Prevent buffer overflow in ANI metadata 2023-03-24 18:43:13 +00:00
file-jpeg plug-ins: get rid of various gimp_image_set_file() calls. 2023-02-13 22:54:16 +01:00
file-psd plug-ins: typo and spacing fixes 2023-03-26 19:20:48 +00:00
file-raw plug-ins: get rid of various gimp_image_set_file() calls. 2023-02-13 22:54:16 +01:00
file-sgi plug-ins: Port sgi.c to GimpSaveProcedureDialog 2023-04-01 17:41:51 +00:00
file-tiff plug-ins: get rid of various gimp_image_set_file() calls. 2023-02-13 22:54:16 +01:00
file-webp plug-ins: Make WebP preset names translatable 2023-03-21 00:48:25 +00:00
flame Fix plugins to use new GimpResource. 2023-01-14 17:43:26 +01:00
fractal-explorer Fix plugins to use new GimpResource. 2023-01-14 17:43:26 +01:00
gfig plug-ins: typo and spacing fixes 2023-03-26 19:20:48 +00:00
gimpressionist meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00
gradient-flare Fix plugins to use new GimpResource. 2023-01-14 17:43:26 +01:00
help gimphelplocale: MacOS can get http and https 2023-01-08 23:55:22 +00:00
help-browser plug-ins: coding-style fixes. 2023-01-27 01:48:33 +01:00
ifs-compose plug-ins: Re-add toggle behavior from GAction port 2023-02-24 03:25:08 +00:00
imagemap plug-ins: Recognize https:// in ImageMap plug-in 2023-03-11 21:53:12 +00:00
lighting meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00
map-object meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00
metadata meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00
pagecurl Fix plugins to use new GimpResource. 2023-01-14 17:43:26 +01:00
print plug-ins: don't use "Send" placeholder either. 2023-04-12 22:07:08 +02:00
python plug-ins: add back the prompt when "clearing" the Python console. 2023-02-13 13:17:30 +01:00
screenshot plug-ins: remove the "Acquire" of the menu path. 2023-04-12 22:07:08 +02:00
script-fu plug-ins: remove "Animators" placeholder from script-fu scripts. 2023-04-12 22:07:09 +02:00
selection-to-path meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00
twain plug-ins: remove the "Acquire" of the menu path. 2023-04-12 22:07:08 +02:00
ui plug-ins: add translation context for tag values 2022-02-02 17:29:48 +00:00
.gitignore Added .gitignore files generated with git svn create-ignore. 2009-01-31 11:37:44 +00:00
Makefile.am Fix plugins to use new GimpResource. 2023-01-14 17:43:26 +01:00
meson.build Fix plugins to use new GimpResource. 2023-01-14 17:43:26 +01:00