[Gambas-bugtracker] Bug #1426: Removing objects in gb.map

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Oct 3 19:31:08 CEST 2018


http://gambaswiki.org/bugtracker/edit?object=BUG.1426&from=L21haW4-

Bill NASCIMENTO reported a new bug.

Summary
-------

Removing objects in gb.map

Type             : Bug
Priority         : Medium
Gambas version   : Unknown
Product          : Unknown


Description
-----------

The sample line

MapView1.Map["Proj1"].Remove("EXR1")

would return an Out of Bounds error when I previously added several Points and try to remove any of them in no specific order. Further, this error only raises if you manipulate the drawing area, like zooming or dragging it around before trying to call Remove method. If you AddPoint and remove them without manipulating, works.

Again, if you add just one Point and try to remove it, everything works Ok regardless of manipulating the drawing area.


System information
------------------

[System]
Gambas=3.9.90
OperatingSystem=Linux
Kernel=4.4.0-92-generic
Architecture=x86
Distribution=Ubuntu 16.04.3 LTS
Desktop=UNITY
Theme=Gtk
Language=pt_BR.UTF-8
Memory=8050M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.803.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6




More information about the Bugtracker mailing list