gvSIG bugs #2875

No activa el grid en el nuevo layout

Added by Álvaro Anguix over 9 years ago. Updated over 9 years ago.

Status:Closed% Done:

100%

Priority:NormalSpent time:-
Assignee:Cesar Martinez Izquierdo
Category:Document layout
Target version:2.1.0-2251-testing
Severity:Major Add-on version:
gvSIG version:2.1.0 Add-on build:
gvSIG build:2249 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch: Hito:
Add-on name:Unknown

Description

Cargamos una capa en una vista dentro del nuevo layout
Vamos a las propiedades y activamos el grid
Aceptamos pero no visualizamos el grid
Volvemos a propiedades y observamos que no está activo.

Adjunto log

gvSIG.log (13.5 KB) Álvaro Anguix, 10/14/2014 12:38 PM

gvSIG.log - nuevo log (325 KB) Álvaro Anguix, 10/15/2014 06:31 PM

Associated revisions

Revision 289
Added by Cesar Martinez Izquierdo over 9 years ago

Ensure mapcontext is not null. Possibly fixes #2875.

History

#1 Updated by Álvaro Anguix over 9 years ago

En una segunda prueba no me ha dado problemas.
No sé si aparecerá algo en el log.

#2 Updated by Álvaro Anguix over 9 years ago

  • Status changed from New to Invalid

#3 Updated by Cesar Martinez Izquierdo over 9 years ago

En el log aparece un error pero no parece tener que ver con el Layout.

#4 Updated by Joaquín del Cerro Murciano over 9 years ago

  • Target version changed from 2.1.0-2259-rc3 to 2.1.0-2250-testing

#5 Updated by Antonio Falciano over 9 years ago

  • Target version changed from 2.1.0-2250-testing to 2.1.0-2259-rc3
  • Status changed from Invalid to New

It happens also in build 2250, at least in Windows 7. However there's not trace of error in the gvSIG.log.

#6 Updated by Cesar Martinez Izquierdo over 9 years ago

I have been able to reproduce the error when trying to open the Grid dialog when no view has been selected yet.
Is this the same error you are getting, or have you got it using a different workflow? Could you please describe this workflow?

#7 Updated by Álvaro Anguix over 9 years ago

Por lo que he podido observar no es algo que ocurre con el grid, sino con la ventana de propiedades de la Vista en el layout en general.
Por ejemplo, creo un documento vista y añado una capa cualquiera.
Creo un layout y le digo que inserte una vista nueva (y no la ya creada).
Voy al layout, botón derecho sobre la vista (vacia) y propiedades.
Le digo que esa vista pase a ser la vista con el shape cargado.
Al dar a aceptar aparentemente lo hace, pues en el TOC del layout se ve la capa...pero no en la Vista.
Me pongo sobre la Vista, vuelvo a dar al botón derecho y:
- desaparece la capa del TOC
- aparece marcada la vista sin el shape.

Es decir...no hace caso a lo que le decimos y parece que vuelve siempre a un estado previo al definido.

#8 Updated by Álvaro Anguix over 9 years ago

Adjunto nuevo log por si se ve algo en él.

#9 Updated by Antonio Falciano over 9 years ago

Cesar Martinez Izquierdo wrote:

I have been able to reproduce the error when trying to open the Grid dialog when no view has been selected yet.
Is this the same error you are getting, or have you got it using a different workflow? Could you please describe this workflow?

These are the steps I follow:
  • create a view and add a whatever shapefile;
  • create a map inserting the view created before and setting the margins (e.g. 2 cm in all directions);
  • right click on the map and choose the Properties option;
  • activate the "Show grid" check box;
  • configure the grid setting the interval properties;
  • accept the "Grid properties" and the "View properties".

Result: the map is refreshed, but no grid is created.

#10 Updated by Cesar Martinez Izquierdo over 9 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

#11 Updated by Cesar Martinez Izquierdo over 9 years ago

  • Status changed from Fixed to In progress

Now I have been able to reproduce the error ONLY if I don't configure the grid after setting the checkbox. It works fine otherwise on my environment.

#12 Updated by Cesar Martinez Izquierdo over 9 years ago

  • Status changed from In progress to Fixed

#13 Updated by Cesar Martinez Izquierdo over 9 years ago

It should be fixed for the next build, please reopen it if you can still reproduce it then.

#14 Updated by Joaquín del Cerro Murciano over 9 years ago

  • Target version changed from 2.1.0-2259-rc3 to 2.1.0-2251-testing

#15 Updated by Álvaro Anguix over 9 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF