<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 20/09/2015 10:21, Rembrand (daxLAB
Limitted) wrote:<br>
</div>
<blockquote
cite="mid:kdjvymf1tsd066w5x6u5cwgw.1442740874245@email.android.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div>If it was the GIL then your app would not respond at all if
clicking on or hovering over a button for example. I have not
come across this issue and have more or less the same setup
(using VLC python bindings) with the difference I use Qt5.5 with
python 2.7 on Mac OS Yoshmite. <br>
</div>
</blockquote>
<b>Thanks for the reply. I wasn't sure exactly what problems the GIL
could cause, but I saw enough people complaining about changes
from PyQt4 to PyQt5 to think that it might be an issue. I've been
able to "fix" some of the issues I was seeing by altering the
focus policy on the tree widget used to trigger video playback.</b><br>
<br>
<b>However, why the cursor icon doesn't change when moved over a
splitter handle is a real mystery. It does change for another
splitter in another part of my program, but for the splitter which
contains the video player (whether based on VLC bindings or
QMultimedia), it doesn't. Even if I place the video player inside
another widget before placing it into the splitter I still see
this problem. It appears to be a bug related to accessing the
winId() of the widget [</b><b><a
href="https://bugreports.qt.io/browse/QTBUG-33479"
target="_blank"><a class="moz-txt-link-freetext" href="https://bugreports.qt.io/">https://bugreports.qt.io/</a><wbr>browse/QTBUG-33479</a></b><b>]
or the video playback itself...<br>
<br>
Best regards,<br>
Timothy Grove<br>
</b><br>
<blockquote
cite="mid:kdjvymf1tsd066w5x6u5cwgw.1442740874245@email.android.com"
type="cite">
<div><br>
</div>
<div>I can resize my tab widgets using a vertical splitter while
playing a movie. HOWEVER I did on Fedora 20 KDE Linux come
across such an issue (among others) when using QtMultimedia
combined with QWebEngine in the same app...... which was for me
the reason to stay with VLC python bindings. </div>
<div><br>
</div>
<div><br>
</div>
<div id="composer_signature">
<div style="font-size:9px">Best regards,</div>
<div style="font-size:9px">Rembrand<br>
</div>
</div>
<br>
Today's Topics:<br>
<br>
1. segfault creating an empty QGraphicsScene (Russell Warren)<br>
2. Re: Implementation of the QQuickFramebufferObject (Phil
Thompson)<br>
<b> 3. porting PyQt4 to PyQt5 on OSX - cursor icon not changing
over</b><b><br>
</b><b> QSplitter (Timothy Grove)</b><br>
4. Bug in qpycore_PyObject_AsQString (Kovid Goyal)<br>
------------------------------<br>
<br>
<b>Message: 3</b><br>
Date: Sat, 19 Sep 2015 09:23:16 +0100<br>
From: Timothy Grove <a class="moz-txt-link-rfc2396E" href="mailto:tim_grove@sil.org"><tim_grove@sil.org></a><br>
To: PyQT mailing list <a class="moz-txt-link-rfc2396E" href="mailto:PyQt@riverbankcomputing.com"><PyQt@riverbankcomputing.com></a><br>
Subject: [PyQt] porting PyQt4 to PyQt5 on OSX - cursor icon not<br>
changing over QSplitter<br>
Message-ID:<br>
<a class="moz-txt-link-rfc2396E" href="mailto:CAJbHV24+sTT1iL3-B6-oiuY40CiaURh6-Rpxq+Z6smABOgALWQ@mail.gmail.com"><CAJbHV24+sTT1iL3-B6-oiuY40CiaURh6-Rpxq+Z6smABOgALWQ@mail.gmail.com></a><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I'm porting an application from PyQt4 to PyQt5 on Mac OSX
(Mavericks).<br>
Generally a good experience, but I'm seeing a few strange
behaviours that I<br>
haven't been able to work around; possibly due to accessing the
window id<br>
of the widget in my video player, or possibly a GIL release issue?<br>
<br>
*1. The cursor doesn't change when moved over a splitter handle.
*This<br>
"might" be related to a "closed' issue where a widget's window id
was<br>
accessed with the widget in a QSplitter [<br>
<a class="moz-txt-link-freetext" href="https://bugreports.qt.io/browse/QTBUG-33479">https://bugreports.qt.io/browse/QTBUG-33479</a>], but might it also be
related<br>
to not releasing the GIL? I'm using the python bindings for VLC [<br>
<a class="moz-txt-link-freetext" href="https://wiki.videolan.org/Python_bindings">https://wiki.videolan.org/Python_bindings</a>] which uses the window
id to make<br>
the link between VLC and a widget for video display; in my case, a
QLabel.<br>
I've also tried replacing VLC use with QVideoWidget from<br>
PyQt5.QtMultimediaWidgets, but with similar results. Before a
video is<br>
loaded I can see the expected change in cursor icon over the
splitter<br>
handle, but once a video has loaded - no change.<br>
<br>
Using Macports Mavericks (10.9.5):<br>
python3.4 @3.4.3_5<br>
qt5-mac @5.4.2_1<br>
py34-sip @4.16.9_0<br>
py34-pyqt5 @5.5_0<br>
<br>
Best regards,<br>
Timothy Grove<br>
</blockquote>
<br>
</body>
</html>