gvSIG bugs #471

Editing polygon. Symmetry. Stange behaviour.

Added by Victoria Agazzi about 12 years ago. Updated over 11 years ago.

Status:Closed% Done:

0%

Priority:NormalSpent time:-
Assignee:Juan Lucas Domínguez
Category:Vector editing
Target version:2.0.0-rc1
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build:2045 Add-on resolve version:
Operative System:Linux Add-on resolve build:
Keywords: Proyecto:
Has patch:No Hito:
Add-on name:Tools: Geometry editing (org.gvsig.editing)

Description

Hi,
applying summetry to one polygon it seems that (before saving the changes) the new polygon has only vertexs, and is not filled in. I attach image to see the strange behaviour. I tested the same use case, with the same layer on the version 1.11, and that strange thing do not happens. And also I check the fill in color in editing mode and it red and not white.

Another problem is that it doesn't matter if you choose Remove (Y) or not removing (N) the source polygon, gvSIG always keeps it. This bug happens also on the version 1.11.

After trying several times to do some symmetries, an error console appears, with the error "Error notifying the observer". I attach the log file with that errors.

Thanks!

Pantallazo-1.png (202 KB) Victoria Agazzi, 03/27/2012 11:28 AM

gvSIG.log (123 KB) Victoria Agazzi, 03/27/2012 11:29 AM

Pantallazo-4.png - Console: Error notifying the observer (128 KB) Victoria Agazzi, 03/27/2012 11:30 AM

112
114

Related issues

Duplicated by Application: gvSIG desktop - gvSIG bugs #992: Funciones truncadas en la herramienta simetría/Truncated ... Closed 08/21/2012

History

#1 Updated by Victoria Agazzi about 12 years ago

#3 Updated by Victoria Agazzi about 12 years ago

The error console refering to "Error notifying the observer" also happens on a line layer, big line layer (trying to symmetry around 1500 lines). I tested the same use case, with the same layer, on the version 1.11, and the symmetry did well.

I tested ¡t in a layer with only 30 lines, and the symmetry goes perfect, no problems detected on that case.

#4 Updated by María Maluenda over 11 years ago

  • Target version set to 2.0.0-rc1

I tested this ticket. In the first bug, the resultant polygon is filled in. The second bug, continues, if you apply the remove option (Y), the source polygon isn't remove. In the third bug, I think that the problem is solved , no error.

#5 Updated by Juan Lucas Domínguez over 11 years ago

  • Assignee set to Juan Lucas Domínguez

#6 Updated by Juan Lucas Domínguez over 11 years ago

  • Status changed from New to Fixed

Adding i18n to expected user input (it was hard-coded as 'S' or 's').

gvsig-desktop:r39062

Test in 2057 or higher:

- Set language Spanish and restart gvsig
- use the symmetry tool (the user input must be 'S' to delete original geometry)
- Set language English and restart gvsig
- use the symmetry tool (the user input must be 'Y' to delete original geometry)

#7 Updated by Abenchara Socorro over 11 years ago

  • Status changed from Fixed to New

In both cases, english or spanish, works well (Yes/No) and (Sí/No) commands in console, but, if you use the right button of mouse to apply a symmetry there are 3 options:

1-Cancel/Cancelar : no problems
2-Cut/Cortar: no problems
3-Copy/Copiar: should work as commands [Y]/[S] in english/spanish, but it works as copy tool (Layer/Modify/Copy)

#8 Updated by Juan Lucas Domínguez over 11 years ago

  • Status changed from New to Fixed

Changed management of options so that pop-up menu options behave reasonably.

gvsig-desktop:r39399

Test:
Pop-up menu options should now behave as Abenchara suggested:

Cancel -> Do nothing (remove new geometry)
Cut -> Remove original geometry
Copy -> Keep original geometry

#9 Updated by Abenchara Socorro over 11 years ago

  • Status changed from Fixed to Closed

Closed in build 2061 RC2

Also available in: Atom PDF