node-five
node-five copied to clipboard
Screen not updating
Not sure if this is a qt issue or something wrong with node-five, but when I run the goblin demo, it works fine, except I have to Alt+Tab away and back to the app to see any refresh. If I leave the app in the foreground it appears frozen, but does seem to accept my key input.
Linux touchsmart 3.2.13-1-ARCH #1 SMP PREEMPT Sat Mar 24 09:10:39 CET 2012 x86_64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux
Gnome 3.2.1
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 425M] (rev a1)
using nouveau driver for Xorg.
Also the audio examples never startup and the other video examples suffer from the same issue.
Hi Tim, thanks for filing this.
Yes, the audio is a bit unreliable at the moment because I'm using QSound() which as I understand is old and buggy; sometimes it works, sometimes it doesn't. I think that the way to go is to use the low-level audio API QAudioOutput but that requires manual audio decoding.
As for the screen not updating, I'll have to look into it. I remember I tried it on my Ubuntu via VMware months ago and it was fine, but it's possible I've broken something along the way.
Again, many thanks, and please don't hesitate to hit me up for further suggestions/bugs.
I'm also having the same issue. It appears that the paintEvent is not getting called when widget_.update() is called. It only gets called when there is a state change in the window.
I don't fully understand the code yet, so I haven't figured out how to work around it. I've tried to add a call to setUpdatesEnabled and calling it to turn on the widget_ and the parent_, but that doesn't seem to help.
This isn't only linux specific! It doesn't work on windows, too.