Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-24 Thread Jorge Gustavo Rocha

Hi Kory,

Maybe this related to issue https://hub.qgis.org/issues/14255
That issue is still open.

Regards,

J. Gustavo

Às 08:14 de 24-07-2016, Kory Roberts escreveu:

I have run into this bug on Linux Mint.

My home folder was in the svg paths, but I did not add it myself.
Perhaps this was introduced with the 2.14 bug as mentioned? I also have
a symlink in my home folder.  Accidentally selecting the SVG marker has
resulted in a freeze/crash at least 2-3 times.  Removing my home folder
from the svg paths seems to have provided a solution.

Kory



/- In 2.14 a bug was introduced which automatically added user's home />/folders to the svg paths. 
That's fixed now, but users may still have />/that path included. />//>/- there's a valid bug 
regarding endless loops with symlinks, that />/should be fixed />//>/- but mostly, I think the 
svg loading needs to be moved to a non />/blocking background thread. So please keep the report open 
until this />/is addressed./





___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user



J. Gustavo
--
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Tel: +351 253604480
Fax: +351 253604471
Móvel: +351 910333888
skype: nabocudnosor
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Matthias Kuhn
On 07/07/2016 10:55 PM, Nyall Dawson wrote:
>
> On 7 Jul 2016 11:44 PM, "Neumann, Andreas"  > wrote:
> >
> > Hi Richard,
> >
> > Thanks - it behaves exactly the same on Ubuntu.
> >
> > I am inclined to close this bug http://hub.qgis.org/issues/14255 if
> Paolo is the only one experiencing this issue. Seems like a local
> issue with his directory structure.
>
> I can help clarify the situation a bit:
>
> - In 2.14 a bug was introduced which automatically added user's home
> folders to the svg paths. That's fixed now, but users may still have
> that path included.
>
> - there's a valid bug regarding endless loops with symlinks, that
> should be fixed
>
> - but mostly, I think the svg loading needs to be moved to a non
> blocking background thread. So please keep the report open until this
> is addressed.
>

That sounds all good.

I think the main reason the topic was brought up was that it's one of
the few blockers which are still open.

Let's split it into two issues:

 Moving to a background thread, that's probably a feature request, so we
could just downgrade that to a "hight" priority one.

 For the endless loop, we can leave that as blocker (in the end you have
to kill the app, so it's like a crash with lost unsaved work).

Matthias

> Nyall
> >
> > Andreas
> >
> > On 2016-07-07 15:37, Richard Duivenvoorde wrote:
> >>
> >> On 07-07-16 15:15, Neumann, Andreas wrote:
> >>>
> >>> Hi Nelson,
> >>>
> >>> Thanks for checking.
> >>>
> >>> Are you sure the users home directory is added to the SVG paths by
> >>> default on Debian? I can't confirm this on Ubuntu.
> >>>
> >>> I thought that by default this setting is empty.
> >>
> >>
> >> I'm on Debian Testing;
> >>
> >> I do not have a clean install available, but if I start qgis from
> >> commandline here with a fresh config:
> >>
> >> qgis --configpath /tmp/foo
> >>
> >> I end up with two items in the svg path:
> >>
> >> /home/richard/apps/qgis/master/debug/share/qgis/svg/
> >> /tmp/foo/svg/
> >>
> >> The first one is the svg directory of my installation (self compiled),
> >> the second is a svg directory in the configpath (which is your home dir
> >> by default I think?)
> >>
> >> Regards,
> >>
> >> Richard
> >> ___
> >> Qgis-user mailing list
> >> Qgis-user@lists.osgeo.org 
> >> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> >  
> >
> >  
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org 
> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Richard Duivenvoorde
On 07-07-16 15:15, Neumann, Andreas wrote:
> Hi Nelson,
> 
> Thanks for checking.
> 
> Are you sure the users home directory is added to the SVG paths by
> default on Debian? I can't confirm this on Ubuntu.
> 
> I thought that by default this setting is empty.

I'm on Debian Testing;

I do not have a clean install available, but if I start qgis from
commandline here with a fresh config:

qgis --configpath /tmp/foo

I end up with two items in the svg path:

/home/richard/apps/qgis/master/debug/share/qgis/svg/
/tmp/foo/svg/

The first one is the svg directory of my installation (self compiled),
the second is a svg directory in the configpath (which is your home dir
by default I think?)

Regards,

Richard
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Neumann, Andreas
Hi Nelson, 

Thanks for checking. 

Are you sure the users home directory is added to the SVG paths by
default on Debian? I can't confirm this on Ubuntu. 

I thought that by default this setting is empty. 

It would be a really unfortunate default value to add the users home
directory to the SVG paths by default. 

Andreas 

On 2016-07-07 15:06, Nelson A. de Oliveira wrote:

> Complementing: if not using a very big directory, QGIS "feeling" and
> speed are fine.

  ___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Nelson A. de Oliveira
Complementing: if not using a very big directory, QGIS "feeling" and
speed are fine.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Nelson A. de Oliveira
On Thu, Jul 7, 2016 at 9:39 AM, Neumann, Andreas  wrote:
> The question is how this works for Debian users under "normal" conditions,
> where you don't specify your whole home drive as a search path.

I use Debian (one machine with testing and another with unstable; both
version are 2.14.3) and I never set any search path.
But what I see is that both have a common path already configured: my
home (see https://i.imgur.com/9ucjAwA.png for an example).

I think that two things could be improved here:
1) have an empty list by default (ie, don't set the user home as a search path)
2) have an option to enable/disable recursion in the specified paths

For item 2, suppose the user has this directory structure:

/home/user/SVG
/home/user/SVG/scratch

He wants to use the SVG files inside "/home/user/SVG", excluding
everything from the scratch dir.
If he sets "/home/user/SVG" as a search path, everything in scratch
will also be included.

As it is now it seems that it's not possible to restrict a recursion
like this (ie, everything in a specified path will always be fully
traversed).
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Neumann, Andreas
Hi Nelson, 

Thank you for your feedback. 

Hm - but you are not supposed to provide a path with multiple gigabytes
of data to browser for SVG files. Of course this would be slow. Every
photo manager takes a long time if it has to browse the whole disk for
photos. This would be a misuse of this setting. 

This setting is meant for you to provide a handful of smaller
directories reserved to hold SVG files for QGIS - not to search the
whole hard drive - lets say not more than a couple hundred files at
maximum. 

The question is how this works for Debian users under "normal"
conditions, where you don't specify your whole home drive as a search
path. 

Andreas 

On 2016-07-07 14:31, Nelson A. de Oliveira wrote:

> On Thu, Jul 7, 2016 at 7:49 AM, Neumann, Andreas  wrote: 
> 
>> Are there any Debian (or Ubuntu) users out there who can reproduce this bug
>> here:
>> 
>> http://hub.qgis.org/issues/14255 titled "SVG preview blocks QGIS".
> 
> If I properly understand the problem, it seems that QGIS, by default,
> traverses the user home looking for SVG files.
> And indeed, depending on the size of the home it takes some time (and
> QGIS stays blocked while it doesn't finish this).
> 
> Have a home with 346G (like mine) and you should see what happens.
> 
> I don't know how it's made, but maybe this traversal could be
> implemented asynchronously or using a thread? (so the main process
> won't get blocked while searching for SVG files)

  ___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Nelson A. de Oliveira
On Thu, Jul 7, 2016 at 7:49 AM, Neumann, Andreas  wrote:
> Are there any Debian (or Ubuntu) users out there who can reproduce this bug
> here:
>
> http://hub.qgis.org/issues/14255 titled "SVG preview blocks QGIS".

If I properly understand the problem, it seems that QGIS, by default,
traverses the user home looking for SVG files.
And indeed, depending on the size of the home it takes some time (and
QGIS stays blocked while it doesn't finish this).

Have a home with 346G (like mine) and you should see what happens.

I don't know how it's made, but maybe this traversal could be
implemented asynchronously or using a thread? (so the main process
won't get blocked while searching for SVG files)
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Debian users: please confirm bug around SVG symbol previews

2016-07-07 Thread Neumann, Andreas
Hi, 

Are there any Debian (or Ubuntu) users out there who can reproduce this
bug here: 

http://hub.qgis.org/issues/14255 titled "SVG preview blocks QGIS". 

If it is only Paolo experiencing this issue and noone else, I would
suggest to close this bug as not reproduceable. 

Thank you for your feedback, 

Andreas

  ___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user