[英]Parts of GUI goes black e.g. while resizing
My application uses Gtkmm and gtkglextmm. 我的应用程序使用Gtkmm和gtkglextmm。 It loads pictures form HDD and shows them using OpenGL capabilities.
它从HDD加载图片并使用OpenGL功能显示它们。 However when I (for example) resize mainwindow some parts of GUI goes black and I don't know why.
但是,当我(例如)调整主窗口的大小时,GUI的某些部分会变黑,我不知道为什么。 On Ubuntu this problem doesn't exist.
在Ubuntu上,此问题不存在。
Here is a video illustrating what I am talking about: http://youtu.be/XGNJmddh_m4 这是一段视频,阐明了我在说什么:http: //youtu.be/XGNJmddh_m4
Without seeing your code, and assuming it does nothing arcane I'd attribute this to some bug in the GTK+ port for Windows itself. 在没有看到您的代码的情况下,并假设它没有任何作用,我将其归因于Windows本身的GTK +端口中的一些错误。 I suspect the doublebuffering built into GTK+ getting tangles up with the inherent doublebuffering of the composition process (Aero), and having a set a background erasure brush in the WNDCLASSEX of the windows GTK+ creates.
我怀疑GTK +内置的双缓冲功能会与合成过程(Aero)固有的双缓冲功能纠缠在一起,并且在GTK +创建的Windows的WNDCLASSEX中设置了背景擦除笔刷。
I'd file this as a bug with GTK+ 我将其记录为GTK +的错误
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.