Re: [Interest] [QtGui] Clip cursor position

2015-12-22 Thread Nye
Hello Jan, Maybe there was a misunderstanding, I had succeeded in restricting the mouse cursor with my "installing an event filter to the application object" approach, however I'm not happy with the results. When the mouse leaves the desired area the pointer is moved on the screen by the X server,

Re: [Interest] NUMA and processing groups

2015-12-22 Thread Etienne Sandré-Chardonnal
> That's what they said in the nineties as well. Didn't happen so far. > Although there are aspects of NUMA in all processors today, it seems the > general consensus is that you need very specific cases for any affinity > sensitive code to actually be faster. > Yes, except if OSes put your process

[Interest] [ANNOUNCE] GammaRay 2.4.0

2015-12-22 Thread Allen Winter
GammaRay 2.4.0 is here! Highlights of the 2.4.0 Release: == * Recursive property editor for accessing composite property types. * Support for QML attached properties. * Server-side object search for considerably speeding up as-you-type searches. * Code navigation for QtQuick 2

Re: [Interest] QWebEngineView not loading pages from history

2015-12-22 Thread Mike Jackson
Hmm. Wonder what the bug was? It somehow works in the Example web browser that Qt includes with the 5.5.1 download. if I reinvent the history mechanism I could probably work around the issue. Thanks for the update/confirmation Mike Jackson > On Dec 22, 2015, at 11:18 AM, Croitor Alexandr >

Re: [Interest] D-Bus authentication

2015-12-22 Thread Thiago Macieira
On Wednesday 23 December 2015 00:59:30 Nesuan Taiso wrote: > Suppose I have registered a QDBusAbstractAdaptor object on the D-Bus. > > When one of the slots is called, how do I identify the calling user (uid > or sid)? Get the sender's unique connection ID from QDBusContext (message().service())

Re: [Interest] QWebEngineView not loading pages from history

2015-12-22 Thread Croitor Alexandr
Hi. I can confirm that it doesn't work in 5.5, but it was fixed for 5.6. Regards, Alex. > On 22 Dec 2015, at 16:05, Mike Jackson wrote: > > Ping? > > Mike Jackson. > >> On Dec 18, 2015, at 2:54 PM, Mike Jackson > > wrote: >> >> We have tried a bunch more idea

Re: [Interest] QWebEngineView not loading pages from history

2015-12-22 Thread Mike Jackson
Ping? Mike Jackson. > On Dec 18, 2015, at 2:54 PM, Mike Jackson wrote: > > We have tried a bunch more ideas and none seem to work. We have tried the > following: > m_WebView->page()->triggerAction(QWebEnginePage::Back); > m_WebView->page()->history()->goToItem( > m_WebView->page()->history()

Re: [Interest] NUMA and processing groups

2015-12-22 Thread Bo Thorsen
Den 22-12-2015 kl. 12:05 skrev Etienne Sandré-Chardonnal: I recently came across the following problem : my application, which does heavy computing tasks distributed over multiple threads, uses QThread::idealThreadCount() for deciding the optimal number of threads on the system. One of my clients

Re: [Interest] NUMA and processing groups

2015-12-22 Thread Thiago Macieira
On Tuesday 22 December 2015 12:05:44 Etienne Sandré-Chardonnal wrote: > Is there any plan for implementing a NUMA API in Qt? As NUMA is the future > of many core architectures, it would be very interesting to have a > cross-platform API for this. Absolutely no plans. -- Thiago Macieira - thiago.

Re: [Interest] Using QDBusConnection::sessionBus()

2015-12-22 Thread Thiago Macieira
On Monday 21 December 2015 22:58:25 Bernhard Lindner wrote: > Well... that's a pitty. So I will try to achive the same using QProcess > command line invocations. > > I should probably report that in some way. Is it a (K)Ubuntu or a systemd > issue? I also wonder if it makes sense to report it usin

[Interest] D-Bus authentication

2015-12-22 Thread Nesuan Taiso
Suppose I have registered a QDBusAbstractAdaptor object on the D-Bus. When one of the slots is called, how do I identify the calling user (uid or sid)? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/int

Re: [Interest] [QtGui] Clip cursor position

2015-12-22 Thread Jan Dasselaar
Hello Konstantin, I figured it would be possible to add an event filter to the overlay window to: a. restrict the mouse to the desired area b. dispatch other mouse event to widgets below. Won't be easy, but it seems not impossible. Regards, Jan On 22-12-2015 12:22, Nye wrote: Hello Jan, Tha

Re: [Interest] [QtGui] Clip cursor position

2015-12-22 Thread Nye
Hello Jan, Thanks for the suggestion, but I'm not really convinced that this'd help, since installing an event filter on the application object is effectively doing the same thing as grabbing the mouse (at least while the mouse is over an application window). Additionally the "grabMouse" runs into

[Interest] NUMA and processing groups

2015-12-22 Thread Etienne Sandré-Chardonnal
I recently came across the following problem : my application, which does heavy computing tasks distributed over multiple threads, uses QThread::idealThreadCount() for deciding the optimal number of threads on the system. One of my clients complained that the app was using only 50% of the cores on

Re: [Interest] [QtGui] Clip cursor position

2015-12-22 Thread Jan Dasselaar
Hello Nye, Maybe you can use the QWidget::grabMouse() function for that. This in combination with an overlay widget (visible but fully transparent) over your application. Regards, Jan On 22-12-2015 10:44, Nye wrote: Hello, Is it possible to clip the mouse cursor to a specific area of the sc

[Interest] [QtGui] Clip cursor position

2015-12-22 Thread Nye
Hello, Is it possible to clip the mouse cursor to a specific area of the screen? I've tried to limit the cursor movement by installing an event filter on the application object and moving it back when its position got outside of my target rectangle, but the results proved to be unsatisfactory, as t