Bug report #15550

Processing: activating a new provider causes QGIS to freeze for a few seconds

Added by Filipe Dias about 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/GUI
Affected QGIS version:master Regression?:No
Operating System:Ubuntu 16.04 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23473

Description

I'm working with a fresh installation of QGIS 2.16.2 on Ubuntu 16.04. I loaded QGIS, went to Processing -> Options -> Providers -> Activated R and QGIS froze for a few seconds.

The same happened when I installed the Processing plugin ntv2 datum transformations and tried to activate it.

Associated revisions

Revision d265f333
Added by Victor Olaya about 4 years ago

[processing] cache icons to speed up toolbox rendering

fixes #15550

Revision c2e0205c
Added by Victor Olaya about 4 years ago

[processing] fied issue with grass icons slowing down toolbox

fixes #15550

Revision 2fda177c
Added by Victor Olaya about 4 years ago

[processing] fied issue with grass icons slowing down toolbox

fixes #15550

Revision 3dcf4874
Added by Mathieu Pellerin - nIRV almost 4 years ago

[processing] fix app freeze when closing options dialog (fixes #15550)

Revision a643f4b4
Added by Alexander Bruy almost 4 years ago

Merge pull request #3941 from nirvn/processing_options_freeze

[processing] fix app freeze when closing options dialog (fixes #15550)

Revision e648e212
Added by Mathieu Pellerin - nIRV almost 4 years ago

[processing] fix app freeze when closing options dialog (fixes #15550)

(cherry picked from commit 3dcf4874859f777050f06c9fde54233e5df73b2c)

Revision 787fecb7
Added by Mathieu Pellerin - nIRV almost 4 years ago

[processing] fix app freeze when closing options dialog (fixes #15550)

(cherry picked from commit 3dcf4874859f777050f06c9fde54233e5df73b2c)

History

#1 Updated by Victor Olaya about 4 years ago

  • Status changed from Open to Closed

#2 Updated by Andrea Giacomelli about 4 years ago

  • Status changed from Closed to Reopened

I observed a similar issue...initially on 2.16.0. un xubuntu 14.04
I then installed just now 2.16.2 and the issue remains.

when committing any change (activate or de-activate provider) to the Processing / Options panel clicking "OK" to save and return to operations, the panel freezes for several seconds (I didn't time it, but could go up to 1-2 minute freeze).
eventually the panel will close and the application will keep on running regularly.

#3 Updated by Victor Olaya about 4 years ago

IT is fixedalready in the master branch. Not backported yet to 2.16, but this is fixed, so the ticket can be closed

#4 Updated by Filipe Dias about 4 years ago

Is there any chance this fix can be backported to QGIS 2.18?

#5 Updated by Victor Olaya about 4 years ago

  • Status changed from Reopened to Closed

#6 Updated by Filipe Dias about 4 years ago

  • Status changed from Closed to Reopened

Hi Victor

I just tested on QGIS 2.17 Master (today's version) and activating/deactivating a provider still freezes QGIS

#7 Updated by Filipe Dias about 4 years ago

  • Affected QGIS version changed from 2.16.2 to master_2

#8 Updated by Alexander Bruy about 4 years ago

As I can see sorrecponding commit already presented in master_2 branch

#9 Updated by Filipe Dias about 4 years ago

Unfortunately it doesn't solve the issue.

#10 Updated by Paolo Cavallini about 4 years ago

Confirmed here, both on Debian sid and on Windows, several machines. It is more than a few seconds, it 's several tens.

#11 Updated by matteo ghetta almost 4 years ago

  • Affected QGIS version changed from master_2 to master

Confirmed in linux mint with QGIS 3 fresh compiled. When changing something in Processing Option it take a while to close the dialog.

#12 Updated by Alexander Bruy almost 4 years ago

  • Status changed from Reopened to Closed

Also available in: Atom PDF