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 558020 - Unwanted wrap effect when panning at zoom level >= 8
Unwanted wrap effect when panning at zoom level >= 8
Status: RESOLVED FIXED
Product: libchamplain
Classification: Core
Component: view
0.2.6
Other Linux
: Normal minor
: 0.4
Assigned To: libchamplain-maint
libchamplain-maint
Depends on:
Blocks: 557641 575139
 
 
Reported: 2008-10-26 22:12 UTC by Pierre-Luc Beaudoin
Modified: 2009-03-22 21:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pierre-Luc Beaudoin 2008-10-26 22:12:00 UTC
Since Clutter can't handle positions > 2^16, zoom level >= 8 have to use an anchor (in the code, hidden from user).  The anchor's value is substracted from the tiles (and markers) position.  The anchor's value is updated only when calling champlain_view_center_on (which is also internally called when zooming in/out).

This means that if the user zooms on Montréal at level 8 and pans toward Europe, he will hit the end of the map before Warsaw.  To workaround this issue, the user needs to zoom in or out, the new anchor is computed and he can go on.

Proposed fix:
The anchor's value should be updated more often.
Comment 1 Pierre-Luc Beaudoin 2009-03-22 21:05:25 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.

Author: Pierre-Luc Beaudoin <pierre-luc@pierlux.com>  2009-03-22 18:56:42
Committer: Pierre-Luc Beaudoin <pierre-luc@pierlux.com>  2009-03-22 23:02:51
Parent: 3a21958f5a5ad4438a2eb98456d25dea5a66f369 (Move anchor computation to a separate function)
Child:  b98671512a8e6dc20ad89f9f4e12cc3bb63fa308 (Fix Bug 557641: Smooth movement to a new position)
Branches: master, remotes/gitorious/master
Follows: v0.2.8
Precedes: 

    Fix Bug 558020:  Unwanted wrap effect when panning at zoom level >= 8
    Recompute anchor if needed when panning too