Closed tudorbarascu closed 3 years ago
Actually, it seems the culprit is the combination between drag&drop designer and constraints.
Oh I wasn't aware of thoss issues. Did you raise them in QGIS redmine?
Unfortunately no, I was first waiting for a response to my "Anybody else encountered this?" question. But on the same layer, two styles, one with drag&drop and one with UI files I can see a very high difference in performance for a layer with lots of columns/widgets. Will try and make a test project with geopackage in the following weeks.
@tudorbarascu @Pully we dropped ui forms in favor of drag and drop forms a few months ago.
I dropped all unused relations too (which were slowing the form opening, sometimes drastically).
@3nids was surprised that it had such an impact on performance.
Regarding constraints, we are actually not using theses for qwat, since many constraints are already provided from the database and there are only one or two people editing for our water network. We are using these for qgep with drag and drop forms but qgep is generally a bit slower.
@ponceta Thanks for the info.
Still an issue?
@tudorbarascu is it still an issue? Do you have an open issue for this on QGIS Upstream?
I don't know if it's still an issue as I'm still using the workarounds from when I discovered this. A little time constraint to test right now (it's on my TODO list). No ticket upstream. Sorry for not being helpful for now.
@tudorbarascu it would be nice to provide the upstream community (QGIS) if this issue is still relevant on latest releases of QGIS.
I cannot replicate anymore.
Good to know that QGIS 3.16 comes even better in terms of stability!
Hi,
Trying to go all in with the constraints on forms (drag&drop), for valves at least, I'm encountering serious performance issues, around 17 seconds until the form shows when using add new feature tool. If I untick the "Not null" constraint for all the the needed fields (5 in total) the add new feature form pops out at around 3 seconds, which is usable.
Also, for "Text edit" widgets I don't see the red background for fields that don't respect the constraints, as I see for combo-boxes. I remember that it worked before, so it's probably a regression. I'm under Debian, QGIS 2.18.11.
Anybody else encountered this?