[Qgis-developer] qgis 1.2 findings
Giovanni Manghi
giovanni.manghi at gmail.com
Thu Jun 25 10:14:32 EDT 2009
Hi all,
I'm playing around with qgis 1.2 (rev. 10971) and I have found a number
of situations. I don't know if are bugs or temporary problems just
because it is a work in progress. Just have a look, try to replicate
them and if necessary I will file a ticket. Others are simply
observations looking for feedback.
1) "add a postgis layer". If I try to rename an existing connection
(edit) the connection is duplicated (with the new name) instead of being
changed. It appears only if you first close the "add a postgis layer"
and then reopen it.
2) in every version I used on Ubuntu (since 0.8 or so), when I click the
"add a raster layer" button and then I click the "files of type", the
subsequent drop down window has way too wide dimensions in order to show
all the values of the last option (and it is a very wide line). On
screens without a high resolution this affects usability.
3) in tools (ftools) -> geoprocessing -> clip
If I clip a layer using a grid (as example) as "clip layer" , the
resulting layer has the grid lines on it. The result seems to me
identical to the one I obtain with the "intersect" tool. Clip tool
should use just the borders of the "clip layer"(?).
4) If I change the name of a vector layer in the legend using
"properties -> display name" and then I save the project, when I reopen
the project and I toggle editing mode (for the layer with the changed
name), the icon in the legend doesn't change.
5) "Simplify Feature" tool. When you use this tool a slider appear to
let you choose the tolerance. If you mode the slider forth and back and
then you choose the initial value (and click ok), qgis crashes
"Fatal: ASSERT failure in QVector<T>::operator[]: "index out of range",
file /usr/include/qt4/QtCore/qvector.h, line 331
Aborted"
6) In a postgis layer if I add a column with the "postgis manager", the
attribute table is not immediately updated, as I have to reload the
layer to see the changes. This doesn't happens if the column is added
trough "Properties -> Attributes", but sometimes (usually the first try)
this freezes qgis.
7) In "Properties -> Attributes" when you click on "add attribute" you
cannot choose "width" and "precision".
8) In "Properties -> Attributes" when a column is added, length and
precision parameters are not shown immediately, as closing and
re-opening the dialog windows is necessary.
9) In a shapefile where I defined a "Diagram Overlay", if I change the
attributes table with the Table Manager, when I save the changes the
Diagram Overlays disappear together with the definitions.
10) If I delete a postgis column with the "postgis manager" and the I
open the attributes table I only see "ERROR" as values. If I reload the
layer everything seems fine.
11) Print composer: when I reopen a saved template, if the underlaying
project is not the one that was in use when I originally created it,
graphics will obviously miss. It would be nice to link the template with
the name of the project, so an alert window can be show if the project
is not the appropriate one.
12) If I click on "Table Manager" and the active layer is a postgis one
a python error is thrown:
"An error has occured while executing Python code:
Traceback (most recent call last):
File
"/home/gio/.qgis//python/plugins/tablemanager/tableManager_plugin.py",
line 63, in run
dialoga = tableManager_gui.TableManager(self.iface)
File
"/home/gio/.qgis//python/plugins/tablemanager/tableManager_gui.py", line
174, in __init__
self.drawFieldsTable()
File
"/home/gio/.qgis//python/plugins/tablemanager/tableManager_gui.py", line
184, in drawFieldsTable
item = QTableWidgetItem(fields[i].name())
KeyError: 8
Python version:
2.6.2 (release26-maint, Apr 19 2009, 02:11:59)
[GCC 4.3.3]
Python path:['/usr/local/share/qgis/python',
'/home/gio/.qgis//python/plugins',
'/usr/local/share/qgis/python/plugins', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/python2.6/dist-packages/gst-0.10',
'/var/lib/python-support/python2.6',
'/usr/lib/python2.6/dist-packages/gtk-2.0',
'/var/lib/python-support/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
'/usr/local/share/qgis/python/plugins/fTools/tools']"
-- Giovanni --
More information about the Qgis-developer
mailing list