gvSIG bugs #2975

When we insert a view in a layout template the toc doesn't appear

Added by Mario Carrera over 9 years ago. Updated about 9 years ago.

Status:Closed% Done:

0%

Priority:NormalSpent time:-
Assignee:Cesar Martinez Izquierdo
Category:Document layout
Target version:2.2.0-2302 (rev. org.gvsig.desktop-2.0.89)
Severity:Minor Add-on version:
gvSIG version:2.1.0 Add-on build:
gvSIG build:2254 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch: Hito:
Add-on name:Unknown

Description

If we open a layout template, and we insert a view on it, the TOC with the layers doesn't appear. It's a refreshment problem because if we close the layout and we open it again the TOC appears correctly.

plantilla4.gvsLayoutTemp (15.4 KB) Mario Carrera, 01/28/2015 12:25 PM

emptyFfv.gvslt (15.7 KB) Cesar Martinez Izquierdo, 01/29/2015 05:09 PM

Associated revisions

Revision 326
Added by Cesar Martinez Izquierdo about 9 years ago

Correctly load layout templates (fixes #2975: toc no showing when loading templates)

History

#1 Updated by Álvaro Anguix over 9 years ago

  • Status changed from New to Closed

En las últimas versiones (RC4) parece que se comporta bien. Lo cierro.

#2 Updated by Mario Carrera over 9 years ago

It still happens at gvSIG 2.1 RC4. I attach the template.
I load the template, then I insert a view on it, and the TOC doesn't appear, even making zooms on the view.
If I close the layout and then open it from the project manager, the TOC appears already.

#3 Updated by Cesar Martinez Izquierdo over 9 years ago

  • Status changed from New to In progress

#4 Updated by Cesar Martinez Izquierdo about 9 years ago

  • Status changed from In progress to Fixed

The bug has been fixed, but note that the TOC will only appear if there is at least one FFrameView in the template. The provided tests case (template plantilla4.gvsLayoutTemp) does NOT include any fframeview, so it will not load a TOC.

I attach another template (emptyFfv.gvslt) that includes an fframeview and should load correctly now.

Another remark: when saving a template we are actually saving a FFrameView and an underlying View. Therefore, when loading the template again the underlying View will also be created but it will not be added to the project, so it will not be visible in as a View document. We should think if this is the expected behaviour or it is an inconsistence (or bug).

#6 Updated by Joaquín del Cerro Murciano about 9 years ago

  • Target version changed from 2.2.0-2311-rc2 to 2.2.0-2302 (rev. org.gvsig.desktop-2.0.89)

#7 Updated by Álvaro Anguix about 9 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF