Re: [QGIS-Developer] How to access QgisApp::instance() from a core class

2022-03-31 Thread Schmetzer, Tobias via QGIS-Developer
> Offhand, there's a couple of ways to approach something like this: > 1. You add appropriate signals in the core classes which are emitted > at useful stages, e.g. "aboutToCalculateExtent", > "extentCalculationProgressChanged", "extentCalculationComplete". And > then the app/gui classes

Re: [QGIS-Developer] Unexpected results from GPKG table query using executeSql()

2022-03-31 Thread Raymond Nijssen via QGIS-Developer
Hi Alessandro, Thanks for your reply. Will share data and a test script with you privately. Raymond On 31-03-2022 18:15, Alessandro Pasotti wrote: Hi Raymond, your code looks good. Can you provide a test file? There are some test in core here:

Re: [QGIS-Developer] Unexpected results from GPKG table query using executeSql()

2022-03-31 Thread Alessandro Pasotti via QGIS-Developer
Hi Raymond, your code looks good. Can you provide a test file? There are some test in core here: https://github.com/qgis/QGIS/blob/master/tests/src/python/test_qgsproviderconnection_ogr_gpkg.py On Thu, Mar 31, 2022 at 6:09 PM Raymond Nijssen via QGIS-Developer <

[QGIS-Developer] Unexpected results from GPKG table query using executeSql()

2022-03-31 Thread Raymond Nijssen via QGIS-Developer
Hi devs, I'm working on a plugin that connects to a custom table (without geometry) in a GPKG. When I'm sending queries to it, I keep on getting unexpected results. Somehow the id field is missing, sometimes it appears twice (!). And this seems to be different between QGIS 3.10 and 3.25. (I

[QGIS-Developer] Plugin dependency with binaries: 'best' way to guide user to install?

2022-03-31 Thread Aron Gergely via QGIS-Developer
Hi All, What would be a good practice to handle 3rd party libs which can't be shipped together with a plugin? I am looking for the most user-friendly way and have an idea. But thought I would bounce it off the collective wisdom here and see if there are other/better ways. If we find a

Re: [QGIS-Developer] Override System Locale user interface with American English by Default?

2022-03-31 Thread Alexandre Neto via QGIS-Developer
Great. Thanks Jürgen and Harrissou. Alexandre On Thu Mar 31, 2022, 10:19 AM GMT, DelazJ wrote: Hi, I've been chatting with Transifex guys for the docs and indeed, they made me confirm that we want to 3.16 and 3.20 desktop resources. And as they told you, Jürgen, they were supposed to do it

Re: [QGIS-Developer] Override System Locale user interface with American English by Default?

2022-03-31 Thread DelazJ via QGIS-Developer
Hi, I've been chatting with Transifex guys for the docs and indeed, they made me confirm that we want to 3.16 and 3.20 desktop resources. And as they told you, Jürgen, they were supposed to do it and let us know. Anyway, I asked them again last night about this. So let's give them few days

Re: [QGIS-Developer] Override System Locale user interface with American English by Default?

2022-03-31 Thread Jürgen E . Fischer via QGIS-Developer
Hi Alexandre, On Thu, 31. Mar 2022 at 02:58:45 -0700, Alexandre Neto wrote: > Can I delete the 3-16 and 3-20 translation resources from transifex? they > won't be used anymore and that way we avoid people translating it in vain. No, their webinterface will just ignore you if you try. It has

Re: [QGIS-Developer] Override System Locale user interface with American English by Default?

2022-03-31 Thread Alexandre Neto via QGIS-Developer
Hi Jurgen, Can I delete the 3-16 and 3-20 translation resources from transifex? they won't be used anymore and that way we avoid people translating it in vain. Alexandre Neto On Thu Mar 24, 2022, 10:13 PM GMT, Jürgen E. Fischer wrote: Hi Alexandre, On Thu, 24. Mar 2022 at 18:43:24 +,

Re: [QGIS-Developer] Possible Contributor Meeting in April 2022

2022-03-31 Thread Raymond Nijssen via QGIS-Developer
Dear community, Seems too short time for most people to attend a contributor meeting this April. We counted about 10 people only, mostly from The Netherlands. Therefore we decided to postpone again with one year, until spring 2023. Meanwhile we will host a "hackday" on Friday April 29,