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 676992 - Undefined behavior when dragging map off-screen
Undefined behavior when dragging map off-screen
Status: RESOLVED FIXED
Product: libchamplain
Classification: Core
Component: view
0.12.x
Other Linux
: Normal normal
: ---
Assigned To: libchamplain-maint
libchamplain-maint
Depends on:
Blocks:
 
 
Reported: 2012-05-28 21:19 UTC by Jiri Techet
Modified: 2013-04-15 22:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jiri Techet 2012-05-28 21:19:37 UTC
Most visible at low zoom levels (e.g. 0) when dragging off-screen:

1. When dragging in x or y direction and releasing the mouse when the map disappears, the map slides back.

2. When dragging both in x and y direction and releasing the mouse when the map disappears, the map slides to a different position than it was before.

3. When dragging the map but releasing the mouse before it disappears (and it moves out of the view just by its "momentum"), the map disappears forever.
Comment 1 Jiri Techet 2013-04-15 22:42:02 UTC
I've fixed this by removing the bouncing animation which was neither very nice nor working properly. The tile now goes at most half of its size out of the viewport and cannot be moved further.