Re: [Qgis-developer] Legend refactoring branch merged

2014-05-22 Thread Martin Dobias
Hi Larry

On Thu, May 22, 2014 at 2:39 AM, Larry Shaffer lar...@dakotacarto.com wrote:
 Hi Martin,

 Thanks for your work on this and for the sponsors that supported it!

 Couples things I noticed:

 * There is no longer and indication that a layer is in edit mode, or not,
 i.e. the edit pencil icon, and its relative states (red or yellow), is gone.

 * There is no longer an indication of the active layer, previously the one
 underlined. This is different than the currently selected layer(s). The
 underline would persist with no selection, or multiple selections, and would
 mirror the view's currentItem(), or in maybe now currentIndex(). When
 iface.activeLayer() is used in console, it should return the identical layer
 in the legend that is underlined, or otherwise indicated as active.

 * Something is funky with the connections between the legend and the Current
 Edits functionality. After a layer is no layers are editable anymore, the
 submenu is still active, offering to cancel edits. I added that code, and
 can investigate more after the feature freeze.

 * There is no longer a tool tip when hovering over the layer, showing the
 layer's source definition.

Thanks a lot for the feedback. Will address that shortly.


 * When opening one project, QGIS crashed with the following (project never
 loads):

 Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes: KERN_INVALID_ADDRESS at 0x0010

 0   org.qgis.qgis2_core  QgsSymbolV2::drawPreviewIcon(QPainter*, QSize) + 42
 (qlist.h:99)
 1   org.qgis.qgis2_core
 QgsSymbolLayerV2Utils::symbolPreviewPixmap(QgsSymbolV2*, QSize) + 114
 (qgssymbollayerv2utils.cpp:517)
 2   org.qgis.qgis2_gui
 QgsLayerTreeModel::addSymbologyToVectorLayer(QgsLayerTreeLayer*) + 570
 (qgslayertreemodel.cpp:520)
 3   org.qgis.qgis2_gui
 QgsLayerTreeModel::addSymbologyToLayer(QgsLayerTreeLayer*) + 88
 (qgslayertreemodel.cpp:480)
 4   QtCore  QMetaObject::activate(QObject*, QMetaObject
 const*, int, void**) + 2141
 5   org.qgis.qgis2_core
 QgsLayerTreeLayer::registryLayersAdded(QListQgsMapLayer*) + 307
 (qgslayertreelayer.cpp:145)
 6   org.qgis.qgis2_core  QgsLayerTreeLayer::qt_static_metacall(QObject*,
 QMetaObject::Call, int, void**) + 172 (qlist.h:731)

Oh, sorry about that. Something must have gone wrong with a vector
layer's symbol. I can't see where the problem could be straight away -
would it be possible for you to send me the project file - or see if
you can provide more information how to replicate the problem?

Regards
Martin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Legend refactoring branch merged

2014-05-22 Thread Luca Manganelli
On Wed, May 21, 2014 at 7:11 PM, Martin Dobias wonder...@gmail.com wrote:
 Hi everyone

 I have just merged the first part of the legend refactoring work to
 master [1]. It does not really bring any new features for the end
 user, the changes are mainly under the hood. Things should ideally
 work as before, if not then probably it is a bug.

Interesting. So your changes will be in Qgis 2.4?
Another question: one thing that was missing to plugins is to set the
layer position in the legend, after I've added it to the map... It's
now possible with your commit?
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Legend refactoring branch merged

2014-05-22 Thread Martin Dobias
Hi Luca

On Thu, May 22, 2014 at 1:15 PM, Luca Manganelli luc...@gmail.com wrote:
 On Wed, May 21, 2014 at 7:11 PM, Martin Dobias wonder...@gmail.com wrote:
 Hi everyone

 I have just merged the first part of the legend refactoring work to
 master [1]. It does not really bring any new features for the end
 user, the changes are mainly under the hood. Things should ideally
 work as before, if not then probably it is a bug.

 Interesting. So your changes will be in Qgis 2.4?

Yes.

 Another question: one thing that was missing to plugins is to set the
 layer position in the legend, after I've added it to the map... It's
 now possible with your commit?

Yes, plugins now have full control of project's layer tree. Simply
obtain the tree (QgsProject::layerTreeRoot()), create a new layer node
(QgsLayerTreeLayer) and add it where it should go
(QgsLayerTreeGroup::insertChildNode()). You will probably want to add
the layer to layer registry without emitting a signal from registry
(QgsMapLayerRegistry::addMapLayer(layer, false)) otherwise it will be
added to the layer tree twice.

Python bindings for the new classes are coming very soon.

Enjoy :-)

Regards
Martin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Questing about PAL modifications

2014-05-22 Thread Marco Hugentobler

Ok to use my changes under LGPL.

Marco

On 21.05.2014 14:29, jmd wrote:

Hello,

I started to port the PAL library to Java. I found that a few improvements
and fixes were made to the source within QGIS but werent backported to the
library[1]. As the original library is available under LGPL I wanted to ask
for your permission to make your modifications available under LGPL as well.

 From the gitlog[2] I found that contributions were made by:
mhugent (Marco Hugentobler)
jef (Juergen E. Fischer)
wonder (Martin Dobias)
Larry Shaffer
Matthias Kuhn
yellow-sky


If I'm missing something or someone, please let me know!


Best regards,
Hannes



[1]
http://osgeo-org.1560.x6.nabble.com/Bug-in-PAL-labelling-over-the-dateline-td4109782.html#a4109795
[2] http://city.informatik.uni-bremen.de:82/hannes/qgis-pal/commits/master




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Questing-about-PAL-modifications-tp5141630.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer



--
Dr. Marco Hugentobler
Sourcepole -  Linux  Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Plugin Upload

2014-05-22 Thread Kris
Greetings,

I'm trying to upload my first plugin to:
http://plugins.qgis.org/plugins/add/

I keep getting the following error:

There were errors reading plugin package (please check also your plugin's
metadata). Package name must start with an ASCII letter and can contain
ASCII letters, digits and the signs '-' and '_'.

My package name is DEMTools and I've checked the plugin's metadata file,
but everything looks to be in order. This error message doesn't give me a
lot to go on and I've never uploaded a plugin before. Are there some common
issues I should look for or is there some detailed guide to creating a
plugin package for *upload*.
(I don't need help with creating the plugin just uploading it to the Plugin
Repository. I used Plugin Builder to create the plugin and it runs fine on
my local machine.)

Thanks for any help you can offer,
Kris
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Plugin Upload

2014-05-22 Thread Alessandro Pasotti
Hi, please file a ticket and attach the plugin package here:

http://hub.qgis.org/projects/qgis-django


2014-05-22 11:53 GMT+02:00 Kris kris.hammerb...@gmail.com:

 Greetings,

 I'm trying to upload my first plugin to:
 http://plugins.qgis.org/plugins/add/

 I keep getting the following error:

 There were errors reading plugin package (please check also your plugin's
 metadata). Package name must start with an ASCII letter and can contain
 ASCII letters, digits and the signs '-' and '_'.

 My package name is DEMTools and I've checked the plugin's metadata
 file, but everything looks to be in order. This error message doesn't give
 me a lot to go on and I've never uploaded a plugin before. Are there some
 common issues I should look for or is there some detailed guide to creating
 a plugin package for *upload*.
 (I don't need help with creating the plugin just uploading it to the
 Plugin Repository. I used Plugin Builder to create the plugin and it runs
 fine on my local machine.)

 Thanks for any help you can offer,
 Kris

 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer




-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Old styles not shown?

2014-05-22 Thread Paolo Cavallini
Hi all.
Just compiled and installed current master. Loading stylized data I get

Warning: Loading a style file that was saved with an older version of qgis 
(saved in
1.8.0-Lisboa, loaded in 2.3.0-Master). Problems may occur.

and nothing is displayed. Switching back to single symbol does not solve the 
problem.
Loading non stylized data works fine.

Anything I should investigate more to pin down the issue?

All the best.
-- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Old styles not shown?

2014-05-22 Thread Andreas Neumann
Hi,

Can't we just say that old styling and old labeling does not work anymore?

As a migration path someone could use QGIS 2.0 or QGIS 2.2.

Andreas

Am 22.05.2014 11:08, schrieb Paolo Cavallini:
 Hi all.
 Just compiled and installed current master. Loading stylized data I get
 
 Warning: Loading a style file that was saved with an older version of qgis 
 (saved in
 1.8.0-Lisboa, loaded in 2.3.0-Master). Problems may occur.
 
 and nothing is displayed. Switching back to single symbol does not solve the 
 problem.
 Loading non stylized data works fine.
 
 Anything I should investigate more to pin down the issue?
 
 All the best.
 

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Old styles not shown?

2014-05-22 Thread Matthias Kuhn
That means for somebody to be required to first install an intermediate 
software before the release - which might not even be easily available.


I think we can do that for QGIS 3 and maybe for some rare cases before, 
but to be able to migrate from something saved with a software being 
the last stable not even 12 months ago sounds not optimal to me.


I don't know how much work is involved in this particular case, so I 
really can't tell for sure, but this sounds like a rather serious issue.
I have inserted a new class QgsLegacyHelpers (going to be committed 
with my update later today) which is meant to contain code for such 
situations and does all the update for forms to the new system, but it 
would be good to have other mappings in there as well.


In short: if there's not an incredibly huge amount of work or other 
good reasons, in terms of user satisfaction, I'd be all in favor of 
providing an easy upgrade path throughout a major release cycle (2.x 
series).


-- Matthias

On Thu 22 May 2014 01:30:28 PM CEST, Andreas Neumann wrote:

Hi,

Can't we just say that old styling and old labeling does not work anymore?

As a migration path someone could use QGIS 2.0 or QGIS 2.2.

Andreas

Am 22.05.2014 11:08, schrieb Paolo Cavallini:

Hi all.
Just compiled and installed current master. Loading stylized data I get

Warning: Loading a style file that was saved with an older version of qgis 
(saved in
1.8.0-Lisboa, loaded in 2.3.0-Master). Problems may occur.

and nothing is displayed. Switching back to single symbol does not solve the 
problem.
Loading non stylized data works fine.

Anything I should investigate more to pin down the issue?

All the best.



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Old styles not shown?

2014-05-22 Thread Martin Dobias
Hi

On Thu, May 22, 2014 at 6:30 PM, Andreas Neumann a.neum...@carto.net wrote:
 Hi,

 Can't we just say that old styling and old labeling does not work anymore?

Seems to work for me. Tested with points/lines/polys shapefiles in
QGIS source: tests/testdata. Those shapefiles come with .qml files
which still use old symbology. Similar warning is emitted, just the
saved version is 1.9.90.

Regards
Martin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Old styles not shown?

2014-05-22 Thread Paolo Cavallini
Il 22/05/2014 14:03, Martin Dobias ha scritto:
 Hi
 
 On Thu, May 22, 2014 at 6:30 PM, Andreas Neumann a.neum...@carto.net wrote:
 Hi,

 Can't we just say that old styling and old labeling does not work anymore?
 
 Seems to work for me. Tested with points/lines/polys shapefiles in
 QGIS source: tests/testdata. Those shapefiles come with .qml files
 which still use old symbology. Similar warning is emitted, just the
 saved version is 1.9.90.

Hi all.
Thanks for loking into this. Trying it again, some of the layers are now 
displayed.
Some are not, and switching them off results in a crash (probably unrelated).
Symbols are new, not old symbology.
Data and styles available if useful.
All the best

QGIS died on signal 11
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need set solib-search-path or set sysroot?
[New LWP 5679]
[New LWP 5678]
[New LWP 5677]
[New LWP 5666]
[New LWP 5665]
[New LWP 5664]
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.

warning: no loadable sections found in added symbol-file system-supplied DSO at
0x7fffe47fd000
0x7f0242697ed9 in __libc_waitpid (pid=5682, stat_loc=0x7fffe47dc27c, 
options=0)
at ../sysdeps/unix/sysv/linux/waitpid.c:40
40  ../sysdeps/unix/sysv/linux/waitpid.c: File o directory non esistente.
[Current thread is 1 (Thread 0x7f0249fec7c0 (LWP 5663))]
#0  0x7f0242697ed9 in __libc_waitpid (pid=5682, stat_loc=0x7fffe47dc27c,
options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
resultvar = 140737026836768
oldtype = 0
#1  0x004f78d7 in qgisCrash(int) ()
No symbol table info available.
#2  signal handler called
No locals.
#3  0x7f0244b344b1 in QAction::data() const () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#4  0x7f02463f5d21 in QgsLayerTreeViewDefaultActions::zoomToLayer() () from
/usr/lib/libqgis_gui.so.2.3.0
No symbol table info available.
#5  0x007f29e1 in ?? ()
No symbol table info available.
#6  0x7f02457ae6aa in QMetaObject::activate(QObject*, QMetaObject const*, 
int,
void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#7  0x7f0244b34572 in QAction::triggered(bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#8  0x7f0244b35f43 in QAction::activate(QAction::ActionEvent) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#9  0x7f0244ee9f82 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#10 0x7f0244eea0ac in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () 
from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#11 0x7f0244fa0f9a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#12 0x7f0244b89cca in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#13 0x7f0244b3a6cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#14 0x7f0244b40e3a in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#15 0x7f0246a74e1b in QgsApplication::notify(QObject*, QEvent*) () from
/usr/lib/libqgis_core.so.2.3.0
No symbol table info available.
#16 0x7f024579a41d in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#17 0x7f0244b40633 in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*,
QWidget*, QWidget*, QWidget**, QPointerQWidget, bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#18 0x7f0244bb233b in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#19 0x7f0244bb0dac in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#20 0x7f0244bd8712 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#21 0x7f0240f0be04 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#22 0x7f0240f0c048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#23 0x7f0240f0c0ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#24 0x7f02457c7655 in
QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () 
from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#25 0x7f0244bd87c6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#26 0x7f0245798fef in
QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from

Re: [Qgis-developer] Old styles not shown?

2014-05-22 Thread Paolo Cavallini
Il 22/05/2014 14:58, Martin Dobias ha scritto:

 Please feel free to file a bug and attach the data. I believe the
 legend refactoring should not be the cause of those problems...


done, thanks:
http://hub.qgis.org/issues/10328
sample attached.
-- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [GRASS-dev] GRASS QGIS: the future

2014-05-22 Thread Radim Blazek
On Fri, Apr 18, 2014 at 12:27 PM, Paolo Cavallini cavall...@faunalia.it wrote:
 Thanks for this. If I understand well, this means:
 * we can load GRASS7 vectors through QGIS browser
 * we cannot load GRASS7 rasters

Raster provider is also upgraded (bf6effdd).

 * the qgis-grass-plugin is not functional with GRASS7

Left for 2.6.

Radim
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Legend refactoring branch merged

2014-05-22 Thread Larry Shaffer
Hi Martin,

Thanks for the quick fixes. All of my reported issues were addressed. The
reported funky connection issue appears to be my mistake. I believe I must
have had a layer still in edit mode somewhere in the legend when I thought
there was none. Could not reproduce that issue.

However, I did notice that the new legend is not quite the same as the old.
You can now edit the name of the layer directly with a click-hover. Very
nice!

Geez, all that work and only one small new feature? :-)

Thanks again for upgrading the previous legend's tangled and limiting code.
Looking forward to the new features and usability this will bring.

Regards,

Larry


On Thu, May 22, 2014 at 12:42 AM, Martin Dobias wonder...@gmail.com wrote:

 Hi Larry

 On Thu, May 22, 2014 at 2:39 AM, Larry Shaffer lar...@dakotacarto.com
 wrote:
  Hi Martin,
 
  Thanks for your work on this and for the sponsors that supported it!
 
  Couples things I noticed:
 
  * There is no longer and indication that a layer is in edit mode, or not,
  i.e. the edit pencil icon, and its relative states (red or yellow), is
 gone.
 
  * There is no longer an indication of the active layer, previously the
 one
  underlined. This is different than the currently selected layer(s). The
  underline would persist with no selection, or multiple selections, and
 would
  mirror the view's currentItem(), or in maybe now currentIndex(). When
  iface.activeLayer() is used in console, it should return the identical
 layer
  in the legend that is underlined, or otherwise indicated as active.
 
  * Something is funky with the connections between the legend and the
 Current
  Edits functionality. After a layer is no layers are editable anymore, the
  submenu is still active, offering to cancel edits. I added that code, and
  can investigate more after the feature freeze.
 
  * There is no longer a tool tip when hovering over the layer, showing the
  layer's source definition.

 Thanks a lot for the feedback. Will address that shortly.


  * When opening one project, QGIS crashed with the following (project
 never
  loads):
 
  Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
  Exception Codes: KERN_INVALID_ADDRESS at 0x0010
 
  0   org.qgis.qgis2_core  QgsSymbolV2::drawPreviewIcon(QPainter*, QSize)
 + 42
  (qlist.h:99)
  1   org.qgis.qgis2_core
  QgsSymbolLayerV2Utils::symbolPreviewPixmap(QgsSymbolV2*, QSize) + 114
  (qgssymbollayerv2utils.cpp:517)
  2   org.qgis.qgis2_gui
  QgsLayerTreeModel::addSymbologyToVectorLayer(QgsLayerTreeLayer*) + 570
  (qgslayertreemodel.cpp:520)
  3   org.qgis.qgis2_gui
  QgsLayerTreeModel::addSymbologyToLayer(QgsLayerTreeLayer*) + 88
  (qgslayertreemodel.cpp:480)
  4   QtCore  QMetaObject::activate(QObject*,
 QMetaObject
  const*, int, void**) + 2141
  5   org.qgis.qgis2_core
  QgsLayerTreeLayer::registryLayersAdded(QListQgsMapLayer*) + 307
  (qgslayertreelayer.cpp:145)
  6   org.qgis.qgis2_core  QgsLayerTreeLayer::qt_static_metacall(QObject*,
  QMetaObject::Call, int, void**) + 172 (qlist.h:731)

 Oh, sorry about that. Something must have gone wrong with a vector
 layer's symbol. I can't see where the problem could be straight away -
 would it be possible for you to send me the project file - or see if
 you can provide more information how to replicate the problem?

 Regards
 Martin

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] QGIS RC

2014-05-22 Thread Saber Razmjooei
Hi dev,

 

I seem to remember there was a talk of calling QGIS master, QGIS Release
Candidate, between feature freeze and  final release dates. This and a
coordinated campaign  will help to get users to test and report as many bugs
as possible before the final release.

Cheers,

Saber

 



--
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail 
from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the 
contents of this information is strictly prohibited.

Whilst reasonable care has been taken to avoid virus transmission, no 
responsibility for viruses is taken and it is your responsibility to carry out
such checks as you feel appropriate.

If this email contains a quote or offer to sell products, carry out work or 
perform services then our standard terms and conditions (which can be found at 
http://www.lutraconsulting.co.uk/downloads/Lutra%20Consulting%20Standard%20Terms%20and%20Conditions.pdf
 shall apply unless explicitly stated otherwise.

Saber Razmjooei and Peter Wells trading as Lutra Consulting.___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] (no subject)

2014-05-22 Thread Antonio Locandro



Hi!


http://poster-designs.de/wp-content/themes/dt-nimble/images/soc-ico/Britishphp?vvqypqpq2103sk



antoniolocan...@hotmail.com

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Legend refactoring branch merged

2014-05-22 Thread Larry Shaffer
Hi Martin,


On Thu, May 22, 2014 at 9:57 AM, Larry Shaffer lar...@dakotacarto.comwrote:

 Hi Martin,

 Thanks for the quick fixes. All of my reported issues were addressed. The
 reported funky connection issue appears to be my mistake. I believe I must
 have had a layer still in edit mode somewhere in the legend when I thought
 there was none. Could not reproduce that issue.

 However, I did notice that the new legend is not quite the same as the
 old. You can now edit the name of the layer directly with a click-hover.
 Very nice!


Hmm. While that feature is nice, it is a little too easy to rename a layer.
For example, double-clicking the name of a legend layer to bring up
properties (if set in Options) leaves the layer name in an editable state.
Upon closing the properties dialog, any keyboard input changes the layer
name in the legend, because the keyboard focus is still active there.

Maybe ensure the name is not editable when a double-click is detected?
While that would fix the noted issue, it doesn't address how often the
layer's name becomes unintentionally editable during normal legend use.

Any ideas on how to leave the mouse-activated name changing but reduce
unintentional editing?

Regards,

Larry



 Geez, all that work and only one small new feature? :-)

 Thanks again for upgrading the previous legend's tangled and limiting
 code. Looking forward to the new features and usability this will bring.

 Regards,

 Larry


 On Thu, May 22, 2014 at 12:42 AM, Martin Dobias wonder...@gmail.comwrote:

 Hi Larry

 On Thu, May 22, 2014 at 2:39 AM, Larry Shaffer lar...@dakotacarto.com
 wrote:
  Hi Martin,
 
  Thanks for your work on this and for the sponsors that supported it!
 
  Couples things I noticed:
 
  * There is no longer and indication that a layer is in edit mode, or
 not,
  i.e. the edit pencil icon, and its relative states (red or yellow), is
 gone.
 
  * There is no longer an indication of the active layer, previously the
 one
  underlined. This is different than the currently selected layer(s). The
  underline would persist with no selection, or multiple selections, and
 would
  mirror the view's currentItem(), or in maybe now currentIndex(). When
  iface.activeLayer() is used in console, it should return the identical
 layer
  in the legend that is underlined, or otherwise indicated as active.
 
  * Something is funky with the connections between the legend and the
 Current
  Edits functionality. After a layer is no layers are editable anymore,
 the
  submenu is still active, offering to cancel edits. I added that code,
 and
  can investigate more after the feature freeze.
 
  * There is no longer a tool tip when hovering over the layer, showing
 the
  layer's source definition.

 Thanks a lot for the feedback. Will address that shortly.


  * When opening one project, QGIS crashed with the following (project
 never
  loads):
 
  Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
  Exception Codes: KERN_INVALID_ADDRESS at 0x0010
 
  0   org.qgis.qgis2_core  QgsSymbolV2::drawPreviewIcon(QPainter*, QSize)
 + 42
  (qlist.h:99)
  1   org.qgis.qgis2_core
  QgsSymbolLayerV2Utils::symbolPreviewPixmap(QgsSymbolV2*, QSize) + 114
  (qgssymbollayerv2utils.cpp:517)
  2   org.qgis.qgis2_gui
  QgsLayerTreeModel::addSymbologyToVectorLayer(QgsLayerTreeLayer*) + 570
  (qgslayertreemodel.cpp:520)
  3   org.qgis.qgis2_gui
  QgsLayerTreeModel::addSymbologyToLayer(QgsLayerTreeLayer*) + 88
  (qgslayertreemodel.cpp:480)
  4   QtCore  QMetaObject::activate(QObject*,
 QMetaObject
  const*, int, void**) + 2141
  5   org.qgis.qgis2_core
  QgsLayerTreeLayer::registryLayersAdded(QListQgsMapLayer*) + 307
  (qgslayertreelayer.cpp:145)
  6   org.qgis.qgis2_core  QgsLayerTreeLayer::qt_static_metacall(QObject*,
  QMetaObject::Call, int, void**) + 172 (qlist.h:731)

 Oh, sorry about that. Something must have gone wrong with a vector
 layer's symbol. I can't see where the problem could be straight away -
 would it be possible for you to send me the project file - or see if
 you can provide more information how to replicate the problem?

 Regards
 Martin



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] (no subject)

2014-05-22 Thread Tim Sutton
Antonio it looks like your email has been hacked

Regards

Tim


On Thu, May 22, 2014 at 7:40 PM, Antonio Locandro 
antoniolocan...@hotmail.com wrote:

  Hi!



 http://poster-designs.de/wp-content/themes/dt-nimble/images/soc-ico/British.php?vvqypqpq2103sk



 antoniolocan...@hotmail.com




-- 
Tim Sutton - QGIS Project Steering Committee Member
==
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Irc: timlinux on #qgis at freenode.net
==
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Questing about PAL modifications

2014-05-22 Thread jmd
Thank you very much everyone for the quick response! 


Best regards,
Hannes







--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Questing-about-PAL-modifications-tp5141630p5142020.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer