gvSIG bugs #2905

Resizing the ToC of the map zooms all in the layout

Added by Antonio Falciano almost 10 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-2307 (rev. org.gvsig.desktop-2.0.94)
Severity:Major Add-on version:
gvSIG version:2.1.0 Add-on build:
gvSIG build:2251 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch: Hito:
Add-on name:Unknown

Description

Steps to reproduce the bug:
  • create a view and add a whatever layer you like;
  • create a map importing the previous view;
  • zoom on the map;
  • resize the width of the ToC of the map.

Result: a "Zoom all" is automatically applied on the layout.

Associated revisions

Revision 357
Added by Cesar Martinez Izquierdo over 9 years ago

Save the layout visible area (viewport) in screen coordinates, to be able to restore it when the component size changes (fixes #2905 and possibly #2885). Improve documentation.

History

#1 Updated by Álvaro Anguix almost 10 years ago

  • Assignee set to Cesar Martinez Izquierdo

#2 Updated by Cesar Martinez Izquierdo almost 10 years ago

This follows the classical "behaviour" of the Layout component: resizing the window resets the zoom to document.
I agree that it can be considered a bug, although not a major one in my opinion. It could really be a big problem if it would reset the map zoom.

#3 Updated by Antonio Falciano almost 10 years ago

Hi Cesar,
IMHO this behaviour could be managed in a better way, especially without a full working Pan tool (see #2888 and #2860). For instance, if we resize the width of the ToC in a View document, the map view is simply scaled and not zoomed to all. This behaviour is not perfect too, however it's less drastic in reference to user experience. If you want you can set the Severity of this ticket as Normal (I don't have the rights, I'm only a simple reporter).

#4 Updated by Álvaro Anguix over 9 years ago

  • Target version set to 2.2.0-2311-rc2

#5 Updated by Cesar Martinez Izquierdo over 9 years ago

  • Status changed from New to In progress

#6 Updated by Cesar Martinez Izquierdo over 9 years ago

  • Status changed from In progress to Fixed

#7 Updated by Álvaro Anguix over 9 years ago

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

#8 Updated by Álvaro Anguix about 9 years ago

  • Status changed from Fixed to Closed

#9 Updated by Antonio Falciano about 9 years ago

  • Status changed from Closed to New

The issue is still present in build 2307 at least on Windows, so I reopen the ticket. Cheers.

#10 Updated by Álvaro Anguix about 9 years ago

Hi again Antonio, I've test in Windows and Linux with 2308 and it works...I can't replicate

#11 Updated by Antonio Falciano about 9 years ago

  • Status changed from New to Closed

Álvaro Anguix wrote:

Hi again Antonio, I've test in Windows and Linux with 2308 and it works...I can't replicate

Hi Alvaro,
I've just tried in 2308 more carefully and it works, you're right. Cesar, thank you very much!

Cheers,
Antonio

Also available in: Atom PDF