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 not possible to render 
> modern web pages. For example, the engine used in QGIS 3.30 dated back to 
> 2016: AppleWebKit/602.1 (KHTML, like Gecko) QGIS3 Version/10.0 Safari/602.1.
>
>
>
> Is there any chance to update the built-in Webkit engine version in next 
> release of QGIS ?
>
> Otherwise, can the WebKit engine be updated locally and provided to the 
> application ?
>
> Does QGIS offer any other built-in alternatives, like the Qt WebEngine or 
> other web engine with python bindings ?

It's an extremely messy and painful situation, but ultimately the
answer is NO. There's no alternative, no way of updating the webkit
version used by QtWebkit, and Qt Webengine CANNOT be used as it stands
in QGIS.

Nyall

>
>
>
> Thank you,
>
> Minh
>
>
>
>
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Outdated WebKit engine version in QGIS

2023-04-18 Thread Nguyen, Huy Minh via QGIS-Developer
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 not possible to render modern web 
pages. For example, the engine used in QGIS 3.30 dated back to 2016: 
AppleWebKit/602.1 (KHTML, like Gecko) QGIS3 Version/10.0 Safari/602.1.

Is there any chance to update the built-in Webkit engine version in next 
release of QGIS ?
Otherwise, can the WebKit engine be updated locally and provided to the 
application ?
Does QGIS offer any other built-in alternatives, like the Qt WebEngine or other 
web engine with python bindings ?

Thank you,
Minh


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QT6 move forward meeting next week

2023-04-18 Thread Alessandro Pasotti via QGIS-Developer
Hi,

I have added an option for friday at 11am, please check if that works for you.

Kind regards.


On Tue, Apr 18, 2023 at 12:10 PM Alessandro Pasotti  wrote:
>
> ok, let's make a doodle, it's in the morning becausef of our
> australian/asian friends.
>
> https://doodle.com/meeting/participate/id/eXrn1KWb
>
>
>
>
>
> On Tue, Apr 18, 2023 at 9:27 AM Jürgen E. Fischer via QGIS-Developer
>  wrote:
> >
> > Hi Ale,
> >
> > On Tue, 18. Apr 2023 at 09:18:12 +0200, Alessandro Pasotti via 
> > QGIS-Developer wrote:
> > > Ok, let's do it the 20th. 11:00am local time.
> >
> > Jm, I'll still be on the way then.
> >
> >
> > Jürgen
> >
> > --
> > Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> > Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> > Software Engineer   D-26506 Nordenhttps://www.norbit.de
> > QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC
> > ___
> > QGIS-Developer mailing list
> > QGIS-Developer@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> Alessandro Pasotti
> QCooperative:  www.qcooperative.net
> ItOpen:   www.itopen.it



-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QT6 move forward meeting next week

2023-04-18 Thread Jürgen E . Fischer via QGIS-Developer
Hi Ale,

On Tue, 18. Apr 2023 at 12:52:52 +0200, Alessandro Pasotti wrote:
> I'm sorry but this is the best I can do: Nyall & friends are not
> available in our afternoon and I have a workshop plus Martin is not
> here on the 21st (and he spoke first).

According to the wiki he's leaving at 12 on the 21th.  So there might still be
be options on friday too.

> Maybe you will be able to attend remotely?

No idea.  I'll be on the train.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC


signature.asc
Description: PGP signature
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QT6 move forward meeting next week

2023-04-18 Thread Alessandro Pasotti via QGIS-Developer
I'm sorry but this is the best I can do: Nyall & friends are not
available in our afternoon and I have a workshop plus Martin is not
here on the 21st (and he spoke first).

Maybe you will be able to attend remotely?

I think we will be able to update you in person anyway.

Talk to you soon!


On Tue, Apr 18, 2023 at 12:46 PM Jürgen E. Fischer via QGIS-Developer
 wrote:
>
> Hi Ale,
>
> On Tue, 18. Apr 2023 at 12:10:27 +0200, Alessandro Pasotti wrote:
> > ok, let's make a doodle, it's in the morning becausef of our
> > australian/asian friends.
>
> > https://doodle.com/meeting/participate/id/eXrn1KWb
>
> That doesn't have any better options.  I'm traveling in the morning to Den
> Bosch and probably will arrive shortly after 1300.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Nordenhttps://www.norbit.de
> QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QT6 move forward meeting next week

2023-04-18 Thread Jürgen E . Fischer via QGIS-Developer
Hi Ale,

On Tue, 18. Apr 2023 at 12:10:27 +0200, Alessandro Pasotti wrote:
> ok, let's make a doodle, it's in the morning becausef of our
> australian/asian friends.

> https://doodle.com/meeting/participate/id/eXrn1KWb

That doesn't have any better options.  I'm traveling in the morning to Den
Bosch and probably will arrive shortly after 1300.

 
Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC


signature.asc
Description: PGP signature
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QT6 move forward meeting next week

2023-04-18 Thread Alessandro Pasotti via QGIS-Developer
ok, let's make a doodle, it's in the morning becausef of our
australian/asian friends.

https://doodle.com/meeting/participate/id/eXrn1KWb





On Tue, Apr 18, 2023 at 9:27 AM Jürgen E. Fischer via QGIS-Developer
 wrote:
>
> Hi Ale,
>
> On Tue, 18. Apr 2023 at 09:18:12 +0200, Alessandro Pasotti via QGIS-Developer 
> wrote:
> > Ok, let's do it the 20th. 11:00am local time.
>
> Jm, I'll still be on the way then.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Nordenhttps://www.norbit.de
> QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


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 lsof). It becomes a
> problem in server environment where every call to QgsProject::clear()
> creates a new file and limit of open files is soon reached.
>
> Just reading the code I was not able to trace down where / which
> object remains referenced. Maybe QgsStyle.mCurrentDB should be closed
> explicitly?
>

It will only get freed when the event loop is next executed.

You can safely execute the event loop with DeferredDelete to only cleanup
of this object without the danger of other event loop mess.

Nyall


> Is it OK to use this workaround?:
> project = QgsProject(None, Qgis.ProjectCapabilities())
> QgsProject.setInstance(project)
>
> BTW, how can I modify QgsProject.capabilities() from Python?
>
> Radim
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


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

2023-04-18 Thread Radim Blazek via QGIS-Developer
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 lsof). It becomes a
problem in server environment where every call to QgsProject::clear()
creates a new file and limit of open files is soon reached.

Just reading the code I was not able to trace down where / which
object remains referenced. Maybe QgsStyle.mCurrentDB should be closed
explicitly?

Is it OK to use this workaround?:
project = QgsProject(None, Qgis.ProjectCapabilities())
QgsProject.setInstance(project)

BTW, how can I modify QgsProject.capabilities() from Python?

Radim
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QT6 move forward meeting next week

2023-04-18 Thread Jürgen E . Fischer via QGIS-Developer
Hi Ale,

On Tue, 18. Apr 2023 at 09:18:12 +0200, Alessandro Pasotti via QGIS-Developer 
wrote:
> Ok, let's do it the 20th. 11:00am local time.

Jm, I'll still be on the way then.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC


signature.asc
Description: PGP signature
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QT6 move forward meeting next week

2023-04-18 Thread Alessandro Pasotti via QGIS-Developer
Ok, let's do it the 20th. 11:00am local time.

I'll find a room and post a jitsi link for remote attendees.



Il dom 16 apr 2023, 17:19 Martin Dobias  ha scritto:

> Hi Alessandro
>
> A meeting for qt6 migration would be useful... My personal preference
> would be for 20th as I will be leaving on 21st already and I would probably
> miss it...
>
> Cheers
> Martin
>
>
> On Fri, Apr 14, 2023 at 9:48 AM Alessandro Pasotti via QGIS-Developer <
> qgis-developer@lists.osgeo.org> wrote:
>
>> Hi,
>>
>> The budget for the QT6 research/migration work was approved, I was
>> thinking of organizing a meeting  next week on the 20th or 21st around
>> 11:00am local time (The Netherlands).
>>
>> Many of us will be able to attend in person but I will try to set up a
>> remote connection.
>>
>> Any preference on the date?
>>
>> --
>> Alessandro Pasotti
>> QCooperative:  www.qcooperative.net
>> ItOpen:   www.itopen.it
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer