esger.abbink_ Posted May 27, 2014 Posted May 27, 2014 Combining GLAppQt and the Interface plugin has several issues (only checked linux/X11 at the moment): - GLAppQt::getHandle () always returns NULL, meaning Interface windows won't get mapped or updated - window moves are broken as Unigine::Gui does not have the mouse movement if main window has not got focus. And even then the method of using incremental deltas does not work as X11 configure notify events during the move change the position_x/y members losing part of total delta. (local total delta sum from move start needs to be kept, or something else) - setting Interface position in init() in editor.cpp moves drawn surface "out of" the unigine window (and seems meaningless at casual glance as everything works fine for both GLAppQt and default if omitted) (if interested I can provide patches fixing the above.) additional issues I havent had time yet to look at: - Interface windows have no system usable title (ie. in taskbar they are all titled "Interface") - Unigine window can't be raised over Interface windows - Interface windows can't be moved partially offscreen.
silent Posted May 29, 2014 Posted May 29, 2014 Hi Esger, GLAppQt sample will have limited support of external interface windows in the next SDK update (no moving windows, I'm afraid). We will be very grateful if you can share your patches here, so we can include them later into the SDK. Thank you! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
esger.abbink_ Posted June 11, 2014 Author Posted June 11, 2014 will post patches here once I have a little time to clean them up.
Recommended Posts