After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 355395 - new rect select tool: selection outlines not visible immediately
new rect select tool: selection outlines not visible immediately
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
2.3.x
Other All
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
: 355456 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-11 07:40 UTC by Heiko Schmidt
Modified: 2008-01-15 14:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Heiko Schmidt 2006-09-11 07:40:27 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:
Comment 1 Heiko Schmidt 2006-09-11 07:43:30 UTC
This concerns the Elipse Select Tool in the same way.
Comment 2 Sven Neumann 2006-09-11 07:50:22 UTC
I can't reproduce this behaviour. Please give a detailed description on how to reproduce the problem.
Comment 3 Heiko Schmidt 2006-09-11 09:04:49 UTC
-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. 
Comment 4 MWH 2006-09-11 21:23:19 UTC
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.
Comment 5 weskaggs 2006-09-12 00:15:33 UTC
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.
Comment 6 Sven Neumann 2006-09-12 06:35:42 UTC
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.
Comment 7 david gowers 2006-09-12 16:01:27 UTC
Try, instead of pressing enter the second time, making another selection.. the selection reappears! The same applies to usage of the free select tool.
Comment 8 Sven Neumann 2006-09-12 18:03:23 UTC
*** Bug 355456 has been marked as a duplicate of this bug. ***
Comment 9 Sven Neumann 2006-09-12 18:05:13 UTC
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.