Message 1 of 4
vred shortcuts vs focus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
If the renderwindow loses the focus, vred-keyboard-shortcuts stop working
(If renderwindow is docked shortcuts also workes if mainwindow has focus.)
In python scripts we are setting sometimes the focus back to renderview:
from PySide2 import QtCore from PySide2 import QtWidgets QtCore.QCoreApplication.instance().vrMainWindow.findChildren(QtWidgets.QWidget, 'Render')[1].setFocus()
This workes quite well.
But my problem is setting the focus back to a undocked, maybe fullscreen viewport.
Any ideas?
Best regards,
Marc
