Gradient on selection bug
Environment/Versions
- GIMP version: 2.10.32
- Package: Installer from gimp.org downloaded on GIMP.org
- Operating System: Windows 10 Pro
Description of the bug
I work a lot with GIMP both on Linux and Windows OS, and find few bugs on the version 2.10.32 (I did not upgrade to "2.10.32 revision 1" version yet) that I installed on my gaming computer running Win 10 Pro. Both bugs concern the gradient tool (or occur when I use the gradient tool). First bug, when I want to fill a selected area on a layer or an image, sometimes (once every 4 ~ 5 times), the whole layer/image is filled, the gradient bypassing the limit of the selection like if there was no selection. I could take a screenshot of this, as it occurs regularly, not all the time but very often anyway. Second bug, that occurs every time the situation is the following: I could normally fill a selected area with the gradient tool, without the bug one to happen, and I wish to un-select this area, but there, if the gradient tool is still highlighted when I click on "None" in the "Selection" menu, the gradient fills all the area when the selection is removed, and I can't step back, the history strangely shows, sometimes only my work on the gradient but no selection on and off anymore, other times only the selection on and off but no gradient steps anymore. I used a Windows tool to record these steps, and could extract shots from it.
Reproduction
Is the bug reproducible?
- The 1st bug (gradient bypassing the selection) is happening 1 / 5 times, not ALL the time but very often though.
- The 2nd bug (un-select causing gradient extension to whole layer) happens always when the gradient tool is highlighted, but if I select another tool before un-selecting (even if I don't use this other tool) it doesn't happen.
Reproduction steps:
1st bug (gradient bypassing the selection) reproduction steps:
- select an area on the layer/image.
- pick the gradient tool.
- click with the tool inside the selection and drag the tool out of selection, the gradient follows the cursor and bypass the selected area. if I release the tool (inside or outside the area) the whole layer/image is filled with the gradient. I made a screenshot if needed and can send it to anyone asking.
2nd bug (un-select causing gradient extension to whole layer)
- select area in a layer/image.
- pick gradient tool, click inside selected area and release outside the area. only the selected area is filled with gradient.
- edit the first point of the gradient.
- edit the second point of the gradient.
- edit a middle point and push it toward the second point for effect I want to give, with "sinus" curve selection of this middle point.
- click on the "Selection" menu of the menu bar, click on "None" in this menu, to un-select the full filled area (with gradient tool still highlighted, very important! as doesn't occur when another tool is highlighted).
- immediately, the whole layer/image is filled with gradient as the selection is disabled).
Expected result:
- I am quite sure the gradient tool is supposed to fill the selected area, and not to bypass the selection.
- It is supposed to be activated when picked with a direct click or a shortcut, and not to auto-activate and fill the entire layer just because the selection is removed after use of the same gradient tool.
Actual result:
- Once on 5 times, the gradient tool acts like if the selection was not existing.
- When it fills the selection normally, to un-select when the gradient tool is still highlighted always causes the whole layer/image to be instantly filled by the gradient.
Additional information
I made several screenshots of my steps and used the windows "record tool" to obtain the shots of the steps I couldn't get by the screenshot tool. I can send them on demand to anyone who ask me.