QEP 407: Introduce a data viewer for the model designer#359
QEP 407: Introduce a data viewer for the model designer#359ValentinBuira wants to merge 8 commits intoqgis:masterfrom
Conversation
Add stance on what the dataviewer should be
|
Sounds exciting! What about the performance issues with the attribute table? Showing an attribute table could potentially block the main thread for a loooooong time. We'd either need to explicitly limit the table to eg the first 200 rows, or make it hidden by default. |
|
Follow up question - how will ownership of layers be handled? |
We could take inspiration from the preview in the browser panel, the browser panel does two things:
I like the first one more, because some users will hit the limit whatever limit we set |
but we need to avoid the same that happens in db manager... where if by mistake a user clicks the table preview tab and the table is large it gets everything stuck for long time... I think that a limit is really necessary. |
This comment was marked as resolved.
This comment was marked as resolved.
|
Thanks for raising your concerns on the performance of the attribute table, I resolved myself to add a upper limit to the number of features displayed on the attribute table. I still hope that the limitation would be temporary and that the refactor on the attribute table will bring us batch loading |
Good point @nyalldawson, quoted from the last revision :
|
Nice proposal, I really miss this from FME. Pagination displaying the first 200 lines is the default in Dbeaver, and I think it is very reasonable. Limiting to 200 lines is not enough, we need pagination for sure. |
I agree with you I think 200 is not enough and quite low actually, in the latest revision I defaulted to 1500 lines. And above all I added a way to overrided the default throught a setting in the processing settings |
Well no, I meant that 200 is perfect if you can show other lines by moving to next page until the end. |
Yes it's outside the scope of this proposal, but make this QEP works with the current limitation of the attribute table was an import part of the proposal |
|
I think that one theme is the number of lines. I understand pagination is a problem, but having 50 lines as an example could be sufficient, finding out that the list stops at 200 could be difficult to undestand/accept. |

This QEP aims to bring a new integrated data viewer directly inside the model designer. This would allow to inspect and debug the state of your model as you build them.
Please see:
qep-407-dataviewer-modeldesigner.md