Re: [QGIS-Developer] Qgis functionality

2022-03-07 Thread Nyall Dawson via QGIS-Developer
On Mon, 7 Mar 2022 at 20:45, Marin M wrote: > > hi, > > thanks. > > How could I retrieve functionality written in C ++ or Python in Qgis ? So i > i am able to copy and rearrange lines of code for adjusted functionality The source code is all available on the QGIS github repository:

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

2022-03-07 Thread Nyall Dawson via QGIS-Developer
On Tue, 8 Mar 2022 at 07:23, Schmetzer, Tobias wrote: > > > Again, none of the core classes are allowed any GUI component, and the > > correct approach to handle this particular situation is to move that code > > from the provider level up to app level, specifically via the > >

[QGIS-Developer] PSA: Please don't use QVariant::canConvert in any new code

2022-03-17 Thread Nyall Dawson via QGIS-Developer
Hi list, Quick heads up: please DON'T use QVariant::canConvert in any new code introduced to QGIS. This function has had an extremely subtle change of meaning in Qt6, so code which uses canConvert will NOT work correctly on Qt 6 builds. To explain: In Qt 5 this would return true if the value

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

2022-03-06 Thread Nyall Dawson via QGIS-Developer
On Sun, 6 Mar 2022 at 00:16, Schmetzer, Tobias via QGIS-Developer wrote: > > Hello everyone, > > > I would like to access QgisApp::instance() (src/app/qgisapp.cpp) from a > provider like QgsOgrProvider::extent() > (src/core/providers/ogr/qgsogrprovider.cpp. You can't, by design. CORE classes

Re: [QGIS-Developer] Qgis functionality

2022-03-06 Thread Nyall Dawson via QGIS-Developer
On Fri, 4 Mar 2022 at 20:10, Marin M via QGIS-Developer wrote: > > > hi, > > I am very new and "green" when it comes to Qgis development. > > I know certain functionality can be developed with Python (for ex.) and then > assigned to a plugin. > > But can i "take out"/copy an existing

[QGIS-Developer] Switching to KDE fork of Qt for Windows builds?

2022-03-03 Thread Nyall Dawson via QGIS-Developer
Hi list, (especially Jürgen) I'm wondering if it's possible to switch over the Windows (osgeo4w) builds of Qt from the upstream 5.15.2 package over to the (maintained) KDE 5.15 backports fork. We're missing a bunch of important fixes on Windows (especially the PDF output related fixes) which are

Re: [QGIS-Developer] Switching to KDE fork of Qt for Windows builds?

2022-03-03 Thread Nyall Dawson via QGIS-Developer
d fixes in. Nyall > > All the best, > > Tudor > > Sent from my iPhone > > On 4 Mar 2022, at 03:36, Nyall Dawson via QGIS-Developer > wrote: > > Hi list, (especially Jürgen) > > I'm wondering if it's possible to switch over the Windows (osgeo4w) > builds of

Re: [QGIS-Developer] LTR version info in version.txt?

2023-09-13 Thread Nyall Dawson via QGIS-Developer
xt to version-ltr.txt. Is this a manual thing done during packaging? Nyall > > Regards, > > Richard Duivenvoorde > > On 9/13/23 05:50, Nyall Dawson via QGIS-Developer wrote: > > Hi list, > > > > Has something changed in the format of > https://version.qgis.org/version.tx

[QGIS-Developer] LTR version info in version.txt?

2023-09-12 Thread Nyall Dawson via QGIS-Developer
Hi list, Has something changed in the format of https://version.qgis.org/version.txt recently? It used to be that this file included a string "current LTR version of QGIS is ", but that's no longer present and I can only see the 3.32 release details now. (on a related note... would it be

Re: [QGIS-Developer] LTR version info in version.txt?

2023-09-13 Thread Nyall Dawson via QGIS-Developer
On Wed, 13 Sept 2023 at 16:54, Jürgen E. Fischer via QGIS-Developer wrote: > Simple. > https://github.com/qgis/QGIS-Website/commit/23da801f7c186d3c796d6e1407a17b959c92a3d6 Brilliant! Thanks so much Jürgen! Nyall > > { > "latest": { > "versionint": 33202, > "version":

Re: [QGIS-Developer] QGIS repository management

2023-10-16 Thread Nyall Dawson via QGIS-Developer
On Tue, 17 Oct 2023 at 03:41, Sandro Santilli wrote: > > On Mon, Oct 16, 2023 at 09:59:35AM +1300, Nyall Dawson via QGIS-Developer > wrote: > > > If you flip the situation, you'll see that yes, you do have trust! > > > > - a complete stranger CANNOT approve thei

Re: [QGIS-Developer] Open plugin automatically when file is dragged onto QGIS

2023-11-05 Thread Nyall Dawson via QGIS-Developer
On Mon, 6 Nov 2023, 6:32 am David Signer via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > You can use an eventfilter. You can find an example here > https://github.com/opengisch/QgisModelBaker/blob/master/QgisModelBaker/qgismodelbaker.py#L507C7-L552 > A better approach would be a

Re: [QGIS-Developer] Changelog descriptions for Scenes

2023-11-05 Thread Nyall Dawson via QGIS-Developer
On Thu, 2 Nov 2023 at 19:01, Tim Sutton via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi all > > Martin / Nyall - I noticed we don't have anything in the 3.34 changelog ( > https://changelog.qgis.org/en/qgis/version/3.34) for the new 3D scenes, > adding Cesium / Google 3d tiles. I

[QGIS-Developer] Removing __author__ , __date__, __copyright__ from python files?

2023-11-05 Thread Nyall Dawson via QGIS-Developer
Hey list, I'd like to propose that we remove all the __author__ , __date__ and __copyright__ strings from the python files in our repository. My thinking: - This isn't an official Python style standard or universally recommended approach. It *is* used elsewhere, but there's an equally large

Re: [QGIS-Developer] QGIS repository management

2023-10-17 Thread Nyall Dawson via QGIS-Developer
; making them optional. > > > > Best wishes > > Matthias > > > > On Tue, Oct 17, 2023 at 9:47 AM Sandro Santilli via QGIS-Developer > > wrote: > > > > On Tue, Oct 17, 2023 at 03:08:34PM +1300, Nyall Dawson via QGIS-Developer > > wrote: &g

Re: [QGIS-Developer] Next QGIS LTR and its compatibility with older versions

2023-10-02 Thread Nyall Dawson via QGIS-Developer
On Tue, 3 Oct 2023 at 00:16, Andreas Neumann via QGIS-Developer wrote: > About your second question: don't nail me down on this but all 3.x versions > should open with the newest 3.x version - it should be even possible to open > version 2 files with the latest 3.x version. It's definite! If

Re: [QGIS-Developer] Next QGIS LTR and its compatibility with older versions

2023-10-02 Thread Nyall Dawson via QGIS-Developer
On Tue, 3 Oct 2023 at 00:45, Greg Troxel via QGIS-Developer wrote: > > Andreas Neumann via QGIS-Developer > writes: > > My impression is also that 3.30, 3.32 are stable and entirely usable for > users. Small clarification here: the 3.x.0 releases AREN'T considered stable, you should wait for

Re: [QGIS-Developer] pygdaltools library documentation sparce

2023-10-10 Thread Nyall Dawson via QGIS-Developer
On Wed, 11 Oct 2023 at 15:15, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer wrote: > > Anyone use pygdaltools? You're better off asking this on the GDAL-Dev list, rather than QGIS-Dev. Nyall > > > > > > import gdaltools > > gdal_tools = gdaltools.ogr2ogr() > > gdal_tools.BASEPATH =

[QGIS-Developer] Dropping "render" checkbox from status bar

2023-10-15 Thread Nyall Dawson via QGIS-Developer
Hi list, Question: are there still any valid use cases for the "render" checkbox in the status bar? It's been around forever, and DID have a strong use case when map rendering used to block the QGIS interface. But is there any reason to keep this around in modern QGIS versions? Nyall

Re: [QGIS-Developer] QGIS repository management

2023-10-15 Thread Nyall Dawson via QGIS-Developer
On Mon, 16 Oct 2023 at 09:44, Sandro Santilli wrote: > > On Mon, Oct 16, 2023 at 08:58:30AM +1300, Nyall Dawson wrote: > > On Sat, 14 Oct 2023 at 05:43, Sandro Santilli wrote: > > > > > 2. Allow those with "write access" to self-approve PRs > > > > -1. What's the real motivation here? Why the

Re: [QGIS-Developer] QGIS repository management

2023-10-15 Thread Nyall Dawson via QGIS-Developer
> A small group of us (3-4 developers including me) have admin access to > all QGIS repositories and we can bypass any check and merge all PRs > without approval. I have this power too -- and I use it on a daily basis to keep the whole CI setup flowing (ie restarting workflows in other's PRs,

Re: [QGIS-Developer] QGIS repository management

2023-10-15 Thread Nyall Dawson via QGIS-Developer
Hi Sandro, Thanks for raising this discussion. I'll add my knowledge inline below. But please keep in mind that all this stuff has just been set over time in a reactionary/evolutionary process to keep things running smoothly, rather than something which was designed and formalised by a committee

Re: [QGIS-Developer] QGIS repository management

2023-10-15 Thread Nyall Dawson via QGIS-Developer
On Sun, 15 Oct 2023 at 02:54, Sandro Santilli via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > > That term "committer", btw, should probably be changed nowadays as > with git it doesnt' make much sense. +1. Maybe we should go with "review approver" to reflect exactly what this

Re: [QGIS-Developer] QGIS repository management

2023-10-15 Thread Nyall Dawson via QGIS-Developer
For completeness: > - an approved member CANNOT approve their own changes > - an approved member CAN approve a complete stranger's changes > - an approved member CAN approve a another approved member's changes A potential issue which has popped up a couple of times is whether it's acceptable for

[QGIS-Developer] Proposal: Core committer rights for Andrea Giudiceandrea

2023-08-20 Thread Nyall Dawson via QGIS-Developer
Hi PSC, I'd like to propose that core committer rights are granted to Andrea Giudiceandrea (@agiudiceandrea, https://github.com/agiudiceandrea ). Andrea has been active in QGIS c++ development for the last 5 years, and has a fantastic track record of contributions. Their contributions

Re: [QGIS-Developer] SAGA inside processing (no more in processing/algs)

2022-04-21 Thread Nyall Dawson via QGIS-Developer
On Wed, 20 Apr 2022 at 21:06, Jean Hemmi via QGIS-Developer wrote: > > SAGA (otb grass) has moved (after 3.16 LTR) from > QGIS/python/plugins/processing/algs to QGIS/python/plugins/processing. > Is this change stable and final ? That's undecided. There's a good chance the SAGA provider will be

[QGIS-Developer] QGIS 3.26 Elevation profile/cross section tool deep dive - live today

2022-05-12 Thread Nyall Dawson via QGIS-Developer
Hi all, Later today (May 13), at 19:30 AEST (GMT+10) / 11:30 CEST I'll be doing an in-depth live exploration of all the new elevation profile/cross section functionality coming in QGIS 3.26. Tim Sutton will be joining me, so it's guaranteed to be an educational & entertaining session! You can

[QGIS-Developer] QEP: Layout Legends - Rework handling of initial layer set and synchronization

2022-05-29 Thread Nyall Dawson via QGIS-Developer
Hi all, Please see https://github.com/qgis/QGIS-Enhancement-Proposals/issues/253 for a newly submitted QGIS enhancement proposal regarding the initial content and layer synchronization of legends in print layouts. Comments/suggestions/feedback is welcome (and encouraged!) on the page linked

Re: [QGIS-Developer] Github required checks blocking pull requests

2022-05-12 Thread Nyall Dawson via QGIS-Developer
On Fri, 13 May 2022 at 06:00, Martin Dobias via QGIS-Developer wrote: > > Hi all > > It seems like a PR https://github.com/qgis/QGIS/pull/47887 that has been > merged recently is now causing trouble in CI, making checks of new pull > requests to hang indefinitely. > > From what I understand,

Re: [QGIS-Developer] Time for db manager to become an "opt-in" plugin?

2022-06-22 Thread Nyall Dawson via QGIS-Developer
On Wed, 22 Jun 2022 at 16:47, Alessandro Pasotti wrote: > > I am +1 (of course). > > Another notable feature gap is virtual layers. What's the gap there? Can't that all be done from the "New Virtual Layer" dialog? Nyall > > Kind regards. > > On Wed, Jun 22

[QGIS-Developer] Time for db manager to become an "opt-in" plugin?

2022-06-21 Thread Nyall Dawson via QGIS-Developer
Hi list, I wanted to raise the discussion around potentially demoting the DB Manager plugin to become an opt-in, not installed by default plugin available from the QGIS plugin repository only. It's likely no surprise to anyone on this list, but there's been a multi-year effort (mostly thanks to

Re: [QGIS-Developer] Qgis server: terrible performance with Qgis 3.26

2022-07-07 Thread Nyall Dawson via QGIS-Developer
On Tue, 28 Jun 2022 at 23:30, David Marteau via QGIS-Developer wrote: > > Hi, > > From bisect-like analysis, I have found the commit that introduces the loss > of loading performance: > > https://github.com/qgis/QGIS/commit/c6beb62216fcfbfe3ca64283c09117da53800a98 > > We need more investigation

Re: [QGIS-Developer] Time for db manager to become an "opt-in" plugin?

2022-07-10 Thread Nyall Dawson via QGIS-Developer
On Sun, 10 Jul 2022 at 11:02, Alexandre Neto wrote: > > Hello all, > > -1 for me * snip * This is all great feedback, thanks! I wonder if you'd be willing to lead an effort to document the missing functionality from dbmanager, and file QGIS tickets for these and assign them to a new project in

Re: [QGIS-Developer] Polygon rendering issue on 3.26

2022-07-10 Thread Nyall Dawson via QGIS-Developer
On Sun, 3 Jul 2022 at 01:40, Alexis R.L. via QGIS-Developer wrote: > > Greetings, > > I was just curious about the behaviour indicated in this issue: > https://github.com/qgis/QGIS/issues/49157 I've just submitted a fix: https://github.com/qgis/QGIS/pull/49301 > > I was assuming that polygon

Re: [QGIS-Developer] Time for db manager to become an "opt-in" plugin?

2022-06-21 Thread Nyall Dawson via QGIS-Developer
ing existing column types is not available elsewhere in QGIS - Listing database triggers Nyall > thanks Nyall for raising this. > cheers. > > Il 22/06/22 02:43, Nyall Dawson via QGIS-Developer ha scritto: > > Hi list, > > > > I wanted to raise the discussio

Re: [QGIS-Developer] Qgis server: terrible performance with Qgis 3.26

2022-06-20 Thread Nyall Dawson via QGIS-Developer
On Mon, 20 June 2022, 9:37 pm David Marteau via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > Hi, > > I have noticed a huge drop of performance while testing Qgis server with > Qgis 3.26, from 10x to 30x slower as usual. > > Trying to reduce the problem I have found a huge increase

Re: [QGIS-Developer] Qgis server: terrible performance with Qgis 3.26

2022-06-20 Thread Nyall Dawson via QGIS-Developer
On Tue, 21 June 2022, 2:48 am David Marteau, wrote: > I used the following test: > > readflags = Qgis.ProjectReadFlags()readflags |= > Qgis.ProjectReadFlag.TrustLayerMetadata|Qgis.ProjectReadFlag.DontLoad3DViews|Qgis.ProjectReadFlag.DontLoadProjectStyles > prj = QgsProject() > %timeit -n 1

[QGIS-Developer] A good task for someone wanting to get involved -- update CPT ramps

2022-07-19 Thread Nyall Dawson via QGIS-Developer
Hi all, Here's an idea for a good task for someone wanting to get involved in QGIS contributions which doesn't require any c++/python. Currently we package a subset of the CPT ramps archive in QGIS, which you can see here https://github.com/qgis/QGIS/tree/master/resources/cpt-city-qgis-min It's

Re: [QGIS-Developer] A good task for someone wanting to get involved -- update CPT ramps

2022-07-19 Thread Nyall Dawson via QGIS-Developer
On Wed, 20 Jul 2022 at 09:50, wrote: > > Here is a pull request for the requested changes: > https://github.com/qgis/QGIS/pull/49423 Wow -- that was fast!! :D Nyall > > -- > James > > -Original Message- > From: QGIS-Developer On Behalf Of > Nyall Da

Re: [QGIS-Developer] [Qgis-psc] Current state of QGIS and Qt 6 (good news!)

2022-08-21 Thread Nyall Dawson via QGIS-Developer
On Fri, 19 Aug 2022 at 18:10, Martin Dobias wrote: > > Hi Nyall > > On Fri, Aug 19, 2022 at 2:26 AM Nyall Dawson wrote: >> >> >> For reference: when I open a 3D view the debug messages just spam out >> thousands of "Unhandled texture format: >> Qt3DRender::QAbstractTexture::RGB8_UNorm" Qt

Re: [QGIS-Developer] [Qgis-psc] Current state of QGIS and Qt 6 (good news!)

2022-08-18 Thread Nyall Dawson via QGIS-Developer
> >> - The 3d library builds and the tests all pass, but I just get a hang >> when I try to actually use a 3d view in the app > > > I will give it a try when I have a bit of time to see if it will do the same > on my computer. Just for the reference, what Qt6 version exactly are you > using? Is

[QGIS-Developer] Re-add Georeferencer action to raster menu?

2022-09-27 Thread Nyall Dawson via QGIS-Developer
Hi devs! I'm after some wider feedback -- in 3.26 I moved the "Georeferencer" action from the Raster menu to the "Layers" menu, as the georeferencer was expanded to support more than just raster layers and it no longer seemed a logical place to put this action. But we've seen a lot of confusion

Re: [QGIS-Developer] Broken coordinate/distance/area calculation tests

2022-10-30 Thread Nyall Dawson via QGIS-Developer
On Fri, 28 Oct 2022 at 16:10, Harrissou s. via QGIS-Developer wrote: > > Hi, > I am wondering if the method for area/distance calculation has changed again > in master or if the issue is in some transformation accuracy changes. > > In QGIS docs, we are getting failing tests for calculation we

Re: [QGIS-Developer] Time for db manager to become an "opt-in" plugin?

2022-09-08 Thread Nyall Dawson via QGIS-Developer
On Thu, 8 Sept 2022 at 19:08, Alexandre Neto via QGIS-Developer wrote: > > Hi, > > In the end, Richard ended up closing the project. But I was able to create a > new one. Can someone with QGIS organization owner privileges please make it > public? Done, I think ... Nyall > >

Re: [QGIS-Developer] C++ debugging policy/strategy

2022-09-25 Thread Nyall Dawson via QGIS-Developer
On Sat, 24 Sept 2022 at 03:06, Sandro Santilli via QGIS-Developer wrote: > > I often find myself in need to place console printouts to better > understand the flow of data in qgis while analizing bugs, but I never > know how to implement such printouts. > > The attempts I usually make are: > >

Re: [QGIS-Developer] ODBC connection

2022-08-04 Thread Nyall Dawson via QGIS-Developer
On Fri, 5 Aug 2022 at 01:31, Paolo Cavallini via QGIS-Developer wrote: > > Hi all, > I have configured an ODBC connection towards FileMaker. The connection > is OK (Excel can access the data), but QGIS always returns a generic > error. Nothing on the QGIS logs. > Has anybody accessed data through

[QGIS-Developer] OSGEO4W nightlies broken?

2022-08-10 Thread Nyall Dawson via QGIS-Developer
Hi list/Jürgen, It looks like the osgeo4w qgis dev releases are stuck with an ~10 day old build right now. Is this a known issue? Or something broken on the osgeo4w infrastructure? Kind regards, Nyall ___ QGIS-Developer mailing list

Re: [QGIS-Developer] trying Qt6 build here

2022-08-04 Thread Nyall Dawson via QGIS-Developer
On Thu, 4 Aug 2022 at 18:53, Richard Duivenvoorde via QGIS-Developer wrote: > > Hi, > > At my 'apt upgrade' today (Debian Testing), I saw a lot of Qt6 related > packages flying in (also QtCreator update to 8)... > > Wondering if it would be beneficial to QGIS if I start to try a Qt6 build. > >

[QGIS-Developer] Current state of QGIS and Qt 6 (good news!)

2022-08-17 Thread Nyall Dawson via QGIS-Developer
Hi list, There's been a couple of questions regarding this lately, so I'd like to send through an update on the current status. While I was rather pessimistic when replying to these questions, I'm happy to report that the port to Qt 6 is actually progressing MUCH faster than I'd anticipated!

Re: [QGIS-Developer] Building from source using Qt6

2022-08-09 Thread Nyall Dawson via QGIS-Developer
On Tue, 9 Aug 2022 at 16:05, Paul Burns wrote: > > Thanks Nyall. > > Ok I'll revert back to Qt5. Is there a preferred Qt5 version? Definitely 5.15. (It's likely in the coming weeks that this will become the minimum allowed version when building from master). > Is there a design document, or

[QGIS-Developer] Changes to CI test setup

2022-08-08 Thread Nyall Dawson via QGIS-Developer
Hi all! Quick heads-up about some changes to our CI setup. Previously we relied heavily on the cdash server run at https://cdash.orfeo-toolbox.org/ to make images rendered during tests available and visible for comparison purposes. This hasn't been working well (well, at all) lately. So I've

Re: [QGIS-Developer] Building from source using Qt6

2022-08-08 Thread Nyall Dawson via QGIS-Developer
On Tue, 9 Aug 2022 at 14:15, Paul Burns via QGIS-Developer wrote: > > I am attempting to build qgis from https://github.com.qgis/QGIS. I have been > working my way through the dependencies in CMakeLists.txt. I am using > QtCreator 7.0.2 based on Qt 6.2.3. > > > > In the CMakeLists.txt section

Re: [QGIS-Developer] Some PROJ versions are not compatible with QGIS on Linux instances

2023-01-03 Thread Nyall Dawson via QGIS-Developer
On Wed, 4 Jan 2023 at 00:24, C Hamilton via QGIS-Developer wrote: > > I don't know if this is something I should report or not. I keep getting > users submitting issues for the Lat Lon Tools plugin on Ubuntu or Fedora > because they are using a recent pyproj library and it is causing a crash. I

Re: [QGIS-Developer] Revert Previous Plugin, disable "Upgrade All" and "Upgrade Plugin" buttons

2023-01-11 Thread Nyall Dawson via QGIS-Developer
On Wed, 11 Jan 2023 at 12:49, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer wrote: > > I had a user that may have hit the "Upgrade All" button in the plugins > window. Does that automatically upgrade all installed plugins to the newest > version? If so is there a way to revert back to

Re: [QGIS-Developer] Fw: [ccrook/QGIS-Contour-Plugin] RuntimeError : wrapped C/C++ object of type ContourGeneratorAlgorithm has been deleted (Issue #46)

2022-12-04 Thread Nyall Dawson via QGIS-Developer
On Mon, 5 Dec 2022 at 07:35, Chris Crook via QGIS-Developer wrote: > > Hi Developers > > The contour plugin I have been maintaining seems to occasionally lose the C++ > object that its processing algorithm is using. > In particular this happens when changing settings. > > Before I get lost

Re: [QGIS-Developer] createvectorTable error: Could not retrieve driver for connection

2022-12-04 Thread Nyall Dawson via QGIS-Developer
On Fri, 2 Dec 2022 at 23:05, Richard Duivenvoorde via QGIS-Developer wrote: > > Ok, I think I found the crux! > > With your code QGIS 3.26 will CREATE a new geopackage... (if it is not there > yet) > After which QGIS master is fine > > BUT QGIS master apparently does NOT create a new geopackage

Re: [QGIS-Developer] Problems configuring the statusBar

2022-12-11 Thread Nyall Dawson via QGIS-Developer
On Mon, 12 Dec 2022, 7:06 am afernandez via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > Hello Andrea, > Sorry for the delay as it has been a busy Sunday with several commitments. > I've been trying to implement your proposed solution using different > approaches but still

Re: [QGIS-Developer] QGIS expression to get internal ID of a feature in a related layer

2022-12-04 Thread Nyall Dawson via QGIS-Developer
On Wed, 30 Nov 2022 at 00:06, Andreas Neumann via QGIS-Developer wrote: > > Hi, > > I am looking for a way to find out the internal id of a related layer with a > QGIS expression. > > @id and $id only work directly on the feature of the source layer, but not on > related layers. > > attributes(

Re: [QGIS-Developer] Symbology of vector layer change while opening in lower version.

2022-12-19 Thread Nyall Dawson via QGIS-Developer
On Sun, 18 Dec 2022 at 12:19, Paul N via QGIS-Developer wrote: > > I had created a project in 3.28 version with symbology of line and area. I > havnt check with point layer. > While opening the same project in lower version 3.16, 3.22, 3.26 the > symbology of line become black and polygon fill

Re: [QGIS-Developer] [Qgis-voting-members] [Qgis-psc] QGIS budget 2023 RFC

2022-12-05 Thread Nyall Dawson via QGIS-Developer
On Tue, 6 Dec 2022 at 03:18, Enrico Ferreguti wrote: > I would enlarge core developers audience in any way with... lowering the > needed technical contribution skills. While this sounds great in theory the reality is that this will never happen, regardless of how much resources we throw at

Re: [QGIS-Developer] Project loader profiler Postgres Layers

2022-11-16 Thread Nyall Dawson via QGIS-Developer
On Thu, 17 Nov 2022 at 07:57, Rémi Desgrange via QGIS-Developer wrote: > > @Julien sorry for not being clear, I used the Debugging/Developement tool  Just to clarify -- there's two useful tools in the Debugging/development tools here: 1. The "Project Load" profiler, which gives an atomic list

Re: [QGIS-Developer] How to restore dock widget plugin size after relaunch of QGIS?

2022-11-16 Thread Nyall Dawson via QGIS-Developer
On Thu, 17 Nov 2022 at 02:22, Jean-Baptiste Peter via QGIS-Developer wrote: > > Hi, > > > > I am working on a QGIS plugin which is based on QGIS plugin Builder dock > widget template. The default behavior of this template is that the dock > widget is not restored after closing and reopening

Re: [QGIS-Developer] Return NaN value while updating length in QGIS 3.22

2022-11-30 Thread Nyall Dawson via QGIS-Developer
On Thu, 1 Dec 2022 at 14:33, Paul N via QGIS-Developer wrote: > > I have line data in Postgresql and while computing lenth of line using > $length in filed calculator it give NaN value. > > While QGIS 3.16 giving correct length output. > Any bug? A lot more information is required. Can you open

Re: [QGIS-Developer] How to set defaults to QgsProcessingParameterMultipleLayers

2023-01-29 Thread Nyall Dawson via QGIS-Developer
On Sat, 28 Jan 2023 at 05:35, C Hamilton via QGIS-Developer wrote: > > I just received a request to update the Density Analysis plugin density hash > algorithms so they work with multiple layers and produce one density map > based off of multiple input layers. In the algorithm I have replaced

[QGIS-Developer] Heads up: queued LTR branch now targets 3.28

2023-01-29 Thread Nyall Dawson via QGIS-Developer
Hi all, Quick heads up: Given 3.22 is effectively EOL upstream, the queued LTR fix branch on github now targets the 3.28 LTR release. Nyall ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] Autocomplete python code in QGIS compiled

2023-01-29 Thread Nyall Dawson via QGIS-Developer
On Tue, 10 Jan 2023 at 02:13, matteo via QGIS-Developer wrote: > > Hi all, > > maybe that's a silly question, but with all the self compiled QGIS > versions that I have (3.22, 3.28, master, ecc) QGIS is not > autocompleting the code, not in the console, editor, Processing script, > macros, etc

[QGIS-Developer] Debugging helpers in qt creator under python 3.11 -- solution

2023-01-29 Thread Nyall Dawson via QGIS-Developer
Hey list, Just in case anyone else is running into this Qt Creator bug : on systems with Python 3.11 current Qt Creator versions have broken debugging helpers, which means you can't see the contents of QString/QList/... (making QGIS debug much more painful then it should be!) The bug is

[QGIS-Developer] Plugins repo "stuck"

2022-11-10 Thread Nyall Dawson via QGIS-Developer
Hi list, It appears that the plugins repo is currently stuck serving up outdated plugins information. Newly published plugin versions aren't showing, and newly published plugins aren't available. Does anyone have any insights/fixes for this? Nyall ___

[QGIS-Developer] Call for emergency 3.22 release

2023-02-01 Thread Nyall Dawson via QGIS-Developer
Hi PSC/list, I came across this horrible regression during bug hunting today: https://github.com/qgis/QGIS/pull/51703 If you load a project with any broken layers and then hover over the layer in the layer tree, QGIS will instantly crash. It's a regression caused by

Re: [QGIS-Developer] Call for emergency 3.22 release

2023-02-02 Thread Nyall Dawson via QGIS-Developer
ss and suggest improvements in our > documentation/guidelines in order to avoid similar cases in the future. > > > > Thank you for your response. > > > > Andreas > > > > On 2023-02-02 02:19, Nyall Dawson via QGIS-Developer wrote: > > > >

Re: [QGIS-Developer] [Qgis-psc] QGIS QT6 meeting minutes

2023-03-15 Thread Nyall Dawson via QGIS-Developer
On Wed, 15 Mar 2023 at 18:45, Julien Cabieces via QGIS-PSC wrote: > > > Hi, > > Thank you for the meeting minutes! > > I'm already planning to continue the effort in > porting/fixing code for Qt6 in the next months using Oslandia own > funding, so I'm candidate to join the working group. > > >

Re: [QGIS-Developer] Release 3.30 delayed

2023-03-03 Thread Nyall Dawson via QGIS-Developer
On Sat, 4 Mar 2023, 5:42 am Jürgen E. Fischer via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > Hi, > > On Fri, 03. Mar 2023 at 16:15:04 +0100, Jürgen E. Fischer via > QGIS-Developer wrote: > > Sandy from transifex support just replied, that she's going to take this > to the > >

Re: [QGIS-Developer] Re-discussing the QGIS release schedule - in combination with the quarantine rule for LTR versions

2023-02-28 Thread Nyall Dawson via QGIS-Developer
On Tue, 28 Feb 2023 at 17:56, Andreas Neumann via QGIS-Developer wrote: > > Dear QGIS devs, > > The QGIS release schedule for LTR versions was recently "thinned out", as > part of a decision to introduce "manual testing" prior to release - see QEP > 239:

Re: [QGIS-Developer] Additional python modules

2023-02-24 Thread Nyall Dawson via QGIS-Developer
On Sat, 25 Feb 2023, 1:24 am Yoann Quenach de Quivillic via QGIS-Developer, wrote: > Hello everyone, > > I'm working on a new feature targeting 3.32 to reformat code written in > the Python Console Editor : https://github.com/qgis/QGIS/pull/51733. It > works great, but it requires additional

Re: [QGIS-Developer] Temporarily disable map canvas right click showing Copy Coordinates

2023-04-12 Thread Nyall Dawson via QGIS-Developer
On Thu, 13 Apr 2023 at 10:47, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer wrote: > > I have an event filter on the map canvas that performs a commit during > feature editing when right clicking on the canvas. While this performs the > commit, it then pops up Copy Coordinates. I

Re: [QGIS-Developer] Outdated WebKit engine version in QGIS

2023-04-18 Thread Nyall Dawson via QGIS-Developer
On Wed, 19 Apr 2023 at 15:24, Nguyen, Huy Minh via QGIS-Developer wrote: > > Hi, > > > > I have been using WebKit engine from the PyQt library built in QGIS 3.30 when > developing QGIS plugin in Python to load web pages directly in QGIS. The > Webkit engine used seems to be very outdated and

Re: [QGIS-Developer] Customizing Layer Panel

2023-04-26 Thread Nyall Dawson via QGIS-Developer
On Thu, 27 Apr 2023 at 07:42, Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer wrote: > > But I am looking to access the dock widget and add two icons in its row of icons or maybe a menu. It's not available via the stable API, but let's not let that stop us!  layer_tree =

[QGIS-Developer] PSA: Don't update to Gnome 44!

2023-04-27 Thread Nyall Dawson via QGIS-Developer
Hi lists, Just a quick PSA: If you're using QGIS (or any Qt based app), I recommend avoiding an upgrade to any gnome 44 based distribution for now. You'll get hit with this nasty bug: https://gitlab.gnome.org/GNOME/mutter/-/issues/2715 which breaks drag and drop functionality in all Qt

Re: [QGIS-Developer] QgsProjectStyleSettings styles.db remain open after QgsProject::clear()

2023-04-18 Thread Nyall Dawson via QGIS-Developer
On Tue, 18 Apr 2023, 6:34 pm Radim Blazek via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > Hi, > with Qgis 3.28.3 called from Python, whenever QgsProject::clear() is > called it creates new styles.db file, previous styles file is deleted > from system, but it remains open (listed by

Re: [QGIS-Developer] [EXTERNAL] Re: Outdated WebKit engine version in QGIS

2023-04-19 Thread Nyall Dawson via QGIS-Developer
On Wed, 19 Apr 2023 at 16:55, Nguyen, Huy Minh wrote: > > Hi, > > If Qt Webengine is in QGIS why it cannot be used ? Is there maybe any Qgs > class that uses Qt Webengine internally and can be reused ? It's not in QGIS. It's in Qt, but can't be used from QGIS. QtWebengine requires some

Re: [QGIS-Developer] sip-build takes too long to complete

2023-04-05 Thread Nyall Dawson via QGIS-Developer
On Thu, 6 Apr 2023 at 03:03, Julien Cabieces via QGIS-Developer wrote: > > > Hi, > > While working on building QGIS python binding with SIP 6/PyQT6, it seems > to me that it takes more time than my classic setup (SIP 4.19.25/PyQT > 5.15.7) but no as much as you describe. This matches my findings

Re: [QGIS-Developer] QtCreator QGIS debugging not showing values

2023-03-31 Thread Nyall Dawson via QGIS-Developer
On Fri, 31 Mar 2023, 7:17 pm Richard Duivenvoorde via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > Hi Devs, > > Trying to look into one of my own issues (wrong timestep count for mesh > layers #48942), I fail to see the values of variables in QtCreator see > screendump. > I tried to

Re: [QGIS-Developer] Load a QgsMeshLayer within a QgsTask... different Threads?

2023-02-09 Thread Nyall Dawson via QGIS-Developer
On Thu, 9 Feb 2023, 6:18 pm Richard Duivenvoorde via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > Ok after reading > https://docs.qgis.org/3.28/en/docs/pyqgis_developer_cookbook/tasks.html > again, reading the warning: > > "Any background task (regardless of how it is created) must

[QGIS-Developer] Call of testing of nightlies on hi-dpi displays

2023-05-28 Thread Nyall Dawson via QGIS-Developer
Hi lists, For the upcoming QGIS 3.32 release a change has been made in how QGIS handles high dpi (and retina) displays. This should ultimately make QGIS behave MUCH better on these displays, but there's likely some short-term fallout and regressions caused by the change. If you've access to a

Re: [QGIS-Developer] Call of testing of nightlies on hi-dpi displays

2023-05-29 Thread Nyall Dawson via QGIS-Developer
regardless of whether or not display scaling is active :) Nyall > Or is it more to try to see if the icons/widgets scale up/down when fidling > with scale (or what it is called in Windows)? > > Regards, > > Richard Duivenvoorde > > On 5/29/23 06:01, Nyall Dawson via QGIS-

Re: [QGIS-Developer] Non-cartesian buffering

2023-05-24 Thread Nyall Dawson via QGIS-Developer
On Thu, 25 May 2023 at 10:27, Alexis R.L. via QGIS-Developer wrote: > > Greetings, > > I was looking into buffers and noticed that arc could do geoid buffering but > it's not something qgis could do yet. > > Now I'm going to assume that such a thing would usually need to be > implemented in

Re: [QGIS-Developer] QgsProjectStyleSettings styles.db remain open after QgsProject::clear()

2023-06-12 Thread Nyall Dawson via QGIS-Developer
On Mon, 12 June 2023, 8:32 pm Radim Blazek, wrote: > QCoreApplication.sendPostedEvents(None, QEvent.DeferredDelete) does the > job. > https://github.com/qgis/QGIS/pull/53400 will have helped here too! (At this stage I'm not planning on backporting that though) Nyall > > Thanks > Radim > > On

Re: [QGIS-Developer] Commit 1dca9b9 breaks build on FreeBSD with clang

2023-08-10 Thread Nyall Dawson via QGIS-Developer
On Thu, 10 Aug 2023 at 23:20, Rainer Hurling wrote: > > Hi Nyall, > > On FreeBSD, commit 1dca9b9 [1] breaks the build with clang 16.0.6: Ouch! If it's causing issues then it's fine to revert, it won't harm anything. Nyall > > In file included from >

Re: [QGIS-Developer] Adding a plugin collaborator

2023-06-28 Thread Nyall Dawson via QGIS-Developer
On Mon, 26 Jun 2023 at 14:01, Richard Duivenvoorde wrote: > > On 6/26/23 00:55, Nyall Dawson wrote: > > Thanks Richard, I've found this setting now! (For other's reference it's > > under "Manage" - "Edit" - "Owners"). > > > > It's a bit clunky unfortunately -- there's a list box with over 4000

Re: [QGIS-Developer] Adding a plugin collaborator

2023-06-25 Thread Nyall Dawson via QGIS-Developer
On Thu, 22 Jun 2023 at 17:08, Richard Duivenvoorde wrote: > > On 2023-06-22 06:34, Nyall Dawson via QGIS-Developer wrote: > > Hi list, > > > > This is possibly a stupid question -- but how can I add additional > > users as collaborators to a plugin via https://plugin

[QGIS-Developer] Adding a plugin collaborator

2023-06-21 Thread Nyall Dawson via QGIS-Developer
Hi list, This is possibly a stupid question -- but how can I add additional users as collaborators to a plugin via https://plugins.qgis.org/? I can see other plugins which have done this, but can't see any settings exposed in my plugins which permit me to add collaborations myself. Does it

Re: [QGIS-Developer] 2023 grant applications are now closed

2023-05-04 Thread Nyall Dawson via QGIS-Developer
Thanks Anita! On Fri, 5 May 2023, 4:44 am Anita Graser via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > > 8. Unify the geometric and topological verification and correction > features in QGIS - > https://github.com/qgis/QGIS-Enhancement-Proposals/issues/262 > This link points to a

Re: [QGIS-Developer] Commit 1dca9b9 breaks build on FreeBSD with clang

2023-08-12 Thread Nyall Dawson via QGIS-Developer
On Fri, 11 Aug 2023 at 15:54, Rainer Hurling wrote: > > Am 11.08.23 um 05:07 schrieb Nyall Dawson: > > On Thu, 10 Aug 2023 at 23:20, Rainer Hurling wrote: > >> > >> Hi Nyall, > >> > >> On FreeBSD, commit 1dca9b9 [1] breaks the build with clang 16.0.6: > > > > Ouch! If it's causing issues then

Re: [QGIS-Developer] Qt6 builds and plugins -- ready for testing!

2024-02-06 Thread Nyall Dawson via QGIS-Developer
On Fri, 26 Jan 2024 at 07:58, Nyall Dawson wrote: > > Hi list, > > With some excellent work recently completed by Julien, we're now at a stage > where there's no *major* roadblocks preventing plugins from functioning under > the Qt6 builds! OK, given the progress made over the last couple of

Re: [QGIS-Developer] Qt6 builds and plugins -- ready for testing!

2024-02-07 Thread Nyall Dawson via QGIS-Developer
specific issues we need to fix, and that they aren't related to underlying c++ issues on the Qt 6 builds. Nyall > > > > On Wed, Feb 7, 2024 at 6:10 AM Nyall Dawson via QGIS-Developer > wrote: > > > > On Fri, 26 Jan 2024 at 07:58, Nyall Dawson wrote: > > >

Re: [QGIS-Developer] Backporting qt6 sip bindings to 3.34?

2024-02-12 Thread Nyall Dawson via QGIS-Developer
On Sat, 10 Feb 2024 at 09:07, Nyall Dawson wrote: > > Hey list, > > What does everyone think about us backporting the python/PyQt6/ directory > from master to the 3.34 branch? I'm thinking we could do this as > "orphan"/unused files, with the intention that it would make backporting to > this

Re: [QGIS-Developer] GSoC 2024 proposal : QGIS improve the graphical modeler UI and UX

2024-02-22 Thread Nyall Dawson via QGIS-Developer
On Thu, 22 Feb 2024 at 17:38, Valentin BUIRA via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > > Hi qgis developers > > My name is Valentin Buira, I'm a french student in urban planning and I'm interested in participating in this year Google Summer of Code to improve the graphical

[QGIS-Developer] Another (final?) qt6 progress catchup?

2024-02-11 Thread Nyall Dawson via QGIS-Developer
Hi lists, I'm thinking it's probably time for another (and perhaps the final?!) Qt 6 progress/planning meeting. Is anyone else interested? Nyall ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

[QGIS-Developer] Backporting qt6 sip bindings to 3.34?

2024-02-09 Thread Nyall Dawson via QGIS-Developer
Hey list, What does everyone think about us backporting the python/PyQt6/ directory from master to the 3.34 branch? I'm thinking we could do this as "orphan"/unused files, with the intention that it would make backporting to this branch easier. Obviously it introduces a bunch of "noise" in the

Re: [QGIS-Developer] Running unit tests without "make install"

2023-12-31 Thread Nyall Dawson via QGIS-Developer
On Mon, 1 Jan 2024, 6:36 am Thomas Larsen Wessel via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > The docs ( > https://docs.qgis.org/3.28/en/docs/developers_guide/unittesting.html#run-your-tests) > specify: *make && make install && make test*. > > I would rather not run make

  1   2   >