Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen not updating #4

Open
creationix opened this issue Apr 9, 2012 · 4 comments
Open

Screen not updating #4

creationix opened this issue Apr 9, 2012 · 4 comments

Comments

@creationix
Copy link

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.
@creationix
Copy link
Author

Also the audio examples never startup and the other video examples suffer from the same issue.

@arturadib
Copy link
Owner

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.

@graysonarts
Copy link

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.

@marcelklehr
Copy link

This isn't only linux specific! It doesn't work on windows, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants