GNOME Bugzilla – Bug 355395
new rect select tool: selection outlines not visible immediately
Last modified: 2008-01-15 14:08:28 UTC
Please describe the problem: My OS is WinXp. This seems to be new because 2.3.10 had'nt such an issue. After making a rect selection active the dashed border is not to see immediately only when scrolling or zooming the image. This seems only to be the case when "Add to the current selection" is active. In one case I made a lot of selection at once with "Add to the current selection" active but the complete selection sequence was not to see at all - but mostly only the first selection is not to see but as soon as I add a further one the complete selection is visible. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
This concerns the Elipse Select Tool in the same way.
I can't reproduce this behaviour. Please give a detailed description on how to reproduce the problem.
-Start Gimp -create new image (in my case 1024*1024 with transp. background) -activate rect select tool and select "Add to the current selection" -make a selection - make the selection aktive by pressing -Enter- The selection is to see. All is ok. -select "none" (shift+ctrl+A) -make a selection again - the selection is now not visible In 2.3.10 the dashed border was to see together with the border which has handles, after making the selection active only the dashed line is visible - ok so In 2.3.11 the dashed border lines are not to see at all. The same behaviour seems also to concern the free select tool The first selection is to see after removing the following selection is not to see (only after scrolling or zooming). Hope this helps. something not directly related: In the past when I pressed the left mouse button with the mouse pointer outside of a selection all selections were inactive/removed. This behaviour is still to find by the "Free Select" active. When I do this now with the new select tools active the menu entry "none" (red cross symbol) remains active. But this is by 2.3.10 as well the case. Have I now always to press Shift+Ctrl+A to deactivate a selection or is this a bug or something what still need to be done.
I followed the steps listed, with the same results: the selection outline is not visible. I did find, however, that if the image window is minimized then restored, the outline is visible. It also becomes visible if another program window (in my case, Firefox) is selected, then minimized. The selection outline ("marching ants") will become visible even though the image window itself has not been touched. This is also on 2.3.11 on Windows XP.
I can replicate this. I bet it is the same problem as bug #355456, and I bet it was caused by the changes to the marching ant code committed on 2006-09-04.
The window manager sends bogus information about window visibility then. This has worked reliably for me, but it seems that not all window managers can be trusted on this. Will try to come up with a solution that takes broken window managers into account.
Try, instead of pressing enter the second time, making another selection.. the selection reappears! The same applies to usage of the free select tool.
*** Bug 355456 has been marked as a duplicate of this bug. ***
OK, it's not the window visibility; I just simply fucked it up. Should be fixed now: 2006-09-12 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-selection.c (selection_undraw): need to restart the selection here. Should fix bug #355395 and bug #355456.