Re: [Interest] Issue with concurrent QNetworkRequests

2017-10-04 Thread Jani Tykka
Actually it wasn't :) Found out it was QTBUG in 5.6.2 https://bugreports.qt.io/browse/QTBUG-56616 On Wed, Sep 27, 2017 at 1:13 AM, Thiago Macieira <thiago.macie...@intel.com> wrote: > On terça-feira, 26 de setembro de 2017 13:12:43 PDT Jani Tykka wrote: > > No special reason wh

Re: [Interest] Issue with concurrent QNetworkRequests

2017-09-26 Thread Jani Tykka
No special reason why I couldnt use 1 nam instance, I will try and see if it makes any difference. Thanks ti 26.9.2017 klo 22.04 Thiago Macieira <thiago.macie...@intel.com> kirjoitti: > On terça-feira, 26 de setembro de 2017 11:55:35 PDT Jani Tykka wrote: > > Hi,

[Interest] Issue with concurrent QNetworkRequests

2017-09-26 Thread Jani Tykka
Hi, I'd ask if the following issues would ring anyones bells, before I start doing more deeper investigation and create test application to reproduce the issue. Basically the issue in our application is reproduced following way. 1. Have 1 big download (https) 100MB (It uses own QNam instance) -

Re: [Interest] WebEngineView memory cache

2017-04-05 Thread Jani Tykka
Thanks Kai, Created https://bugreports.qt.io/browse/QTBUG-59951 Jani On Wed, Apr 5, 2017 at 1:06 PM, Kai Koehne wrote: >> -Original Message- > >> [...] > >> WebEngineViews has possibility to set: > >> profile.httpCacheType: WebEngineProfile.MemoryHttpCache > >> > >>

[Interest] WebEngineView memory cache

2017-04-04 Thread Jani Tykka
Hi, WebEngineViews has possibility to set: profile.httpCacheType: WebEngineProfile.MemoryHttpCache Even though memory cache is set I can see that WebCache directory is created and data written there. Is this a bug or do you think it works as expected? Jani -- This email is intended solely

[Interest] QML WebEngineView and CPU usage

2017-02-10 Thread Jani Tykka
Hi, It seems that QML WebEngineView is quite beast in eating CPU. I think the cause for this is Chromium behind the WebEngine not yielding CPU cycles? Is there any suggestions available how to improve the situation? Thanks, Jani -- This email is intended solely for the person or entity to

Re: [Interest] Suppressing Q_ASSERT on release builds

2017-01-12 Thread Jani Tykka
rta-feira, 11 de janeiro de 2017 10:58:29 PST Jani Tykka wrote: >> The fact that delegated_frame_node.cpp is asserting in release build >> is an issue in Qt that should be fixed. I ended up explicitly removing >> Q_ASSERTs from that file. We have been receiving these crash re

Re: [Interest] Suppressing Q_ASSERT on release builds

2017-01-11 Thread Jani Tykka
not triggered, will it cause issues somewhere else? Any ideas about that? There is no way to reproduce the issue. Thanks On Wed, Jan 11, 2017 at 10:52 AM, Jani Tykka <jty...@broadsoft.com> wrote: > On Tue, Jan 10, 2017 at 5:35 PM, Thiago Macieira > <thiago.macie...@intel.com> wrote: &

Re: [Interest] Suppressing Q_ASSERT on release builds

2017-01-11 Thread Jani Tykka
On Tue, Jan 10, 2017 at 5:35 PM, Thiago Macieira <thiago.macie...@intel.com> wrote: > Em terça-feira, 10 de janeiro de 2017, às 15:23:32 PST, Jani Tykka escreveu: >> It seems that QT_NO_DEBUG doesn't get defined when 3rd party libraries >> are built. Which means that if an

[Interest] Suppressing Q_ASSERT on release builds

2017-01-10 Thread Jani Tykka
Hi, I'm trying to suppress Q_ASSERT to trigger assertion from qtwebengine on release build. It seems that QT_NO_DEBUG doesn't get defined when 3rd party libraries are built. Which means that if any 3rd party component includes qglobal.h will then end up defining Q_ASSERT in a way which is not

Re: [Interest] Crash in QSGOpaqueTextureMaterial::compare

2016-12-12 Thread Jani Tykka
as been deleted. > > A tool such as valgrind or similar memory debugger will greatly help you to > pinpoint the source of the deleted texture. > > cheers, > Gunnar > >> On 12 Dec 2016, at 08:39, Jani Tykka <jty...@broadsoft.com> wrote: >> >> Actually QSGSimpleT

Re: [Interest] Crash in QSGOpaqueTextureMaterial::compare

2016-12-11 Thread Jani Tykka
; thread, but that was fixed back in 5.1-days or so and I haven't seen > backtraces like this since then. > > cheers, > Gunnar > >> On 09 Dec 2016, at 12:16, Jani Tykka <jty...@broadsoft.com> wrote: >> >> Hi, >> >> I'm experiencing a crash that is q

Re: [Interest] Detecting container app on web page

2016-11-02 Thread Jani Tykka
Kai Koehne <kai.koe...@qt.io> wrote: > > >> -Original Message- >> From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org] >> On Behalf Of Jani Tykka >> Sent: Wednesday, November 02, 2016 7:09 AM >> To: interest@qt-project.org Inte

[Interest] Detecting container app on web page

2016-11-02 Thread Jani Tykka
Hi, I load web page to QML WebEngineView. Is there any method in Javascript that can be used to detect on webpage that the container app is Qt application? Of course I could use special HTTP user-agent header or give the information in URL params when requesting the web page, but I'm curious if

[Interest] OSX Services menu

2016-05-25 Thread Jani Tykka
Hi, Qt seems to lack support for Services menu, the menu appears but it misses the content (only has link to system services). I could not find any Qt reports related. Is this known issue? I can see this on any Qt app including Creator. Thanks, Jani -- *Jani Tykkä* Development Manager |

[Interest] OSX system services with Qt

2016-05-09 Thread Jani Tykka
Hi, Has anyone experience in providing system service on OS X according https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/SysServices/introduction.html#//apple_ref/doc/uid/1101-SW1 Tried to follow the guide without success. Could there be something in the Qt app that

[Interest] QML and Cocoa based text edit

2016-04-28 Thread Jani Tykka
Hi, I'm investigating whether it'd be possible to enable native dictation on QML editors on OS X. I have found that to be able to enable dictation the editor control needs to be Cocoa based. All ideas are welcome on how to enable dictation on editor controls on QML. Thanks, Jani -- This

Re: [Interest] Quick2 OpenGL inefficiency?

2016-04-06 Thread Jani Tykka
-with-qt-quick-via-qquickframebufferobject/ > > On Tue, Mar 8, 2016 at 7:00 AM, Jani Tykka <jty...@broadsoft.com> wrote: > >> I'm creating the image from buffer which is unsigned char buffer >> containing video frame data >> QImage( buffer, width, height, QImage::Format_RGB

[Interest] Lost OpenGL context and crash

2016-03-30 Thread Jani Tykka
Hi, We are using Qt 5.5.1, D3D9 and ANGLE renderer. Rarely on some machines after resuming from Windows lock screen we see the following error logged "QWindowsEGLContext::swapBuffers: eglError: 12302, this: 0xf791378 ", that error keeps repeating and usually after some time the application

[Interest] QML Image

2016-03-19 Thread Jani Tykka
Hi, I'm using Qt 5.5.1. When quick2 window renders png-image defined in QML Image element it seems that colors are not rendered exactly as defined in source png-image. This seems to happen on images which have more complicated color fills, like gradients. Is there anything that can be done to

Re: [Interest] QML Image

2016-03-19 Thread Jani Tykka
getting some subsampling issue. > > > *Sent:* Wednesday, March 16, 2016 at 8:26 AM > *From:* "Jani Tykka" <jty...@broadsoft.com> > *To:* "interest@qt-project.org Interest" <interest@qt-project.org> > *Subject:* [Interest] QML Image > Hi, > >

Re: [Interest] QML Image

2016-03-19 Thread Jani Tykka
Attached original image + comparison. On Thu, Mar 17, 2016 at 4:28 PM, Jason H <jh...@gmx.com> wrote: > A picture would help > > *Sent:* Thursday, March 17, 2016 at 1:15 AM > *From:* "Jani Tykka" <jty...@broadsoft.com> > *To:* "Jason H" <jh...@

Re: [Interest] Quick2 OpenGL inefficiency?

2016-03-08 Thread Jani Tykka
irectly (and you probably > do not need QImage at all) and for custom OpenGL rendering you can use > QQuickFramebufferObject as your DisplayItem: > > http://blog.qt.io/blog/2015/05/11/integrating-custom-opengl-rendering-with-qt-quick-via-qquickframebufferobject/ > > On Tue, Mar 8, 2

Re: [Interest] Quick2 OpenGL inefficiency?

2016-03-07 Thread Jani Tykka
ey represent? > > On Mar 7, 2016 20:55, "Jani Tykka" <jty...@broadsoft.com> wrote: >> >> Images are passed from another thread in rate 15-30 fps. Is there an example available how to achieve Image to OpenGL texture and use it in scene graph? >> >> On Mon, Mar

Re: [Interest] Quick2 OpenGL inefficiency?

2016-03-07 Thread Jani Tykka
Probably the best thing > here would be to generate this image as an OpenGL texture and then use in > the Qt's scene graph. > > On Mon, Mar 7, 2016 at 4:04 PM, Jani Tykka <jty...@broadsoft.com> wrote: > >> Yes, the image is always changed when the update is invoked. >>

Re: [Interest] Quick2 OpenGL inefficiency?

2016-03-07 Thread Jani Tykka
My first guess would be that the > texture creation from image is the most costly part here (uploading the > texture to GPU?) and I would do this only if necessary (the image really > changes). > > BR, > Filip > > On Mon, Mar 7, 2016 at 3:04 PM, Jani Tykka <jty...@broadsoft.com

[Interest] Quick2 OpenGL inefficiency?

2016-03-07 Thread Jani Tykka
Hi, We are rendering QImages on QQuickItem as following: QSGNode * DisplayItem::updatePaintNode( QSGNode * node, UpdatePaintNodeData * /*data*/ ) { QSGSimpleTextureNode * n = static_cast< QSGSimpleTextureNode* >( node ); if ( !n ) n = new QSGSimpleTextureNode;

Re: [Interest] Multiple QML WebEngineView instances on one QQmlEngine

2016-01-29 Thread Jani Tykka
https://bugreports.qt.io/browse/QTBUG-50768 created. Please let me know if you have any ideas what could be the root cause for this issue. Thanks, Jani On Thu, Jan 28, 2016 at 6:51 PM, Joerg Bornemann < joerg.bornem...@theqtcompany.com> wrote: > On 27-Jan-16 13:24, Jani Tykka wrote: &

[Interest] Multiple QML WebEngineView instances on one QQmlEngine

2016-01-27 Thread Jani Tykka
I have one QQmlEngine instance which holds multiple QML WebEngine instances. Is this supported approach? I'm experiencing random WebEngine crashes which makes me think this could be the culprit. Thanks, Jani -- This email is intended solely for the person or entity to which it is addressed