https://issues.qgis.org/https://issues.qgis.org/favicon.ico2016-03-16T23:43:04ZQGIS Issue TrackingQGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=689762016-03-16T23:43:04ZAndreas Neumann
<ul></ul><p>What exactly means "filter function in processing" - is this a specific algorithm? From which provider?</p>
<p>Can you be a bit more specific what you are trying to do - in what part of processing?</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=689772016-03-16T23:57:34ZMagnus Nilssonjohnrobot@gmail.com
<ul></ul><p>The problem occurs when I use the search field for finding an algorithm.</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=689782016-03-17T00:06:11ZAndreas Neumann
<ul></ul><p>Ok - so in the toolbox "search" field?</p>
<p>I just tested it in 2.14 and 2.15 nightly.</p>
<p>I am - like you - also on Win 7, 64bit, with QGIS 64bit.</p>
<p>So I wonder what is the difference between your and my installation.</p>
<p>Can you share what processing providers are enabled? Menu "Processing" --> "Options" -- "Providers".</p>
<p>Can you try de-activating all the providers that you most likely don't need and see if this helps?</p>
<p>Just trying to find out what triggers this slowness.</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=689792016-03-17T00:08:22ZAndreas Neumann
<ul></ul><p>Also - if you don't know what a provider does or offer - better disable it. You most likely won't need it if you don't know what it does.</p>
<p>As an example - I never use the Orfeo Toolbox, Taudem or Lastools - because I either don't work in the domain of Photogrammetry/Hydrologic modelling or don't own a Lastools license.</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=689802016-03-17T00:16:59ZMagnus Nilssonjohnrobot@gmail.com
<ul></ul><p>Yes, the "search" field. I disabled all of the providers and searching is still very slow.</p>
<p>Is there anything else I can check to help find the cause?</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=689812016-03-17T00:54:08ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>OS version</strong> deleted (<del><i>64 bit</i></del>)</li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Severe/Regression</i></li><li><strong>Operating System</strong> deleted (<del><i>Windows 7</i></del>)</li></ul><p>I confirm this issue, also on Linux and also on master.</p>
<p>I have the impression that this happens on projects with several layers, but I have not had time yet to double check it.</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=689822016-03-17T00:56:22ZMagnus Nilssonjohnrobot@gmail.com
<ul></ul><p>At least in my case, it seems to occur in all projects, even fresh ones with zero layers.</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=689882016-03-17T06:33:00ZMaximilian Krambach
<ul></ul><p>I have this issue in processing 2.12.99, which is shipped with my install on qgis (debian testing), but not in processing 2.12.2 (in qgis plugin repository).</p>
<p>Also, I get a (GDAL) message every time I type a letter: <br /><pre>
ERROR 4: `1' not recognised as a supported file format.
</pre></p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=689892016-03-17T06:44:40ZAndreas Neumann
<ul></ul><p>very strange - I also have 2.12.99 and the search filter for algorithms in the processing toolbox is working fine.</p>
<p>Did you check if there is just one processing instance and no overlap of an installation in the user profile and one in the QGIS installation directory?</p>
<p>How about other plugins? Do you have many of them enabled? What if you disable all other plugins?</p>
<p>From time to time there are plugins who really mess up QGIS and interfere with other plugins ...</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=689902016-03-17T07:42:13ZMaximilian Krambach
<ul></ul><p>It happens on a "fresh install" (deleted ~.qgis2/ and ~.config/QGIS), and also if every toolbox item is disabled.</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=690022016-03-17T23:01:10ZAndreas Neumann
<ul></ul><p>adding this information from Claus Sørensen</p>
<p>On a QGIS workshop march 9. in Silkeborg, Denmark with 30+ enthusiastic newcomers to QGIS, we encountered 3 pc's with extremely slow – tending to non-functional – search box in "Processing -> Toolbox".</p>
<p>OS'es ranging from Win7, Win8.1 and Win10. Win7 and Win10 unknown version but with 2.14.0 also unknown bit flavour.</p>
<p>My Win8.1 Pro in 64-bit with QGIS version 2.14.0 in 64 bit and no administrative rights.</p>
<p>By elevating security on the installation folder – in my case c:\\Program Files\\QGIS Essen\\ - to allow users "change" rights, the search box became functional again – on every pc.</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=690032016-03-17T23:11:13ZMagnus Nilssonjohnrobot@gmail.com
<ul></ul><p>I do not have admin rights on my computer, so this might be the issue.</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=690102016-03-18T03:06:32ZVictor Olayavolayaf@gmail.com
<ul></ul><p>I cannot reproduce the error, but i think it might be related to the fact that the filter now tries to find the search string also in the help (the short one) of the algorithm</p>
<p>Those of you experiencing this that can do a small change in the code, could you try removing these 2 lines from the Processing code and see if this fixes the issue?</p>
<p><a class="external" href="https://github.com/qgis/QGIS/blob/master/python/plugins/processing/gui/ProcessingToolbox.py#L136-L137">https://github.com/qgis/QGIS/blob/master/python/plugins/processing/gui/ProcessingToolbox.py#L136-L137</a></p>
<p>Thanks in advance!</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=690132016-03-18T03:43:25ZMaximilian Krambach
<ul></ul><p>Yes, commenting the two lines resolves the issue. Also, I don't have write permissions in the .99 version of the plugin, so this may be a cause.</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=690142016-03-18T03:57:51ZVictor Olayavolayaf@gmail.com
<ul></ul><p>Thanks! So it seems that the issue is in fetching that help or scanning it, which in certain systems is a bottleneck, apparently</p>
<p>I will disable those lines and leave the original behaviour, searching only in alg names, not in alg help. That will temporarily fix the problem</p>
<p>I will leave this issue open for a while, so if anyone can provide more info, please add it here</p>
<p>Thanks!</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=690162016-03-18T04:03:58ZMaximilian Krambach
<ul></ul><p>Another thing I found is that the faulty search writes an empty file named "1" into my ~.qgis2/python/ folder. This may cause a major freeze in some windows systems due to file lock and/or permissions?</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=690172016-03-18T04:36:46ZMaximilian Krambach
<ul></ul><p>Geoalgorithm.py :90 getCopy(self) creates an instance of an algorithm with parameters.</p>
<p>GdalAlgorithm.py executes getCopy() to get the name of the module. It also sets parameter to "1", which later appears as output.</p>
<p>So somewhere one or several algorithms are executed with a parameter of "1" when initialized. From my output it seems to be some GDAL or OGR algorithm.</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=690942016-03-23T10:32:23ZAlexander Bruy
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li></ul><p>Fixed in master. Please reopen if necessary</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=693322016-04-05T07:18:04ZJürgen Fischerjef@norbit.de
<ul></ul><p>Alexander Bruy wrote:</p>
<blockquote>
<p>Fixed in master. Please reopen if necessary</p>
</blockquote>
<p>Which commit? Was it backported?</p> QGIS Application - Bug report #14517: QGIS 2.14 Processing filter very slow/freezehttps://issues.qgis.org/issues/14517?journal_id=693362016-04-06T00:57:01ZAlexander Bruy
<ul></ul><p><a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/1fdd177c81bb6c656dea96c044b2d3a48c77e392" title="[processing] do not search text in short help when filtering in toolbox This should fix problems...">1fdd177c81</a><br />I just backported it.</p>