fkie_node_manager: logscreen: show ROS log by {Ctrl,Shift}+Double Click
@@ -2616,6 +2616,12 @@ class MasterViewProxy(QWidget):
ret = MessageBox.question(self, "Show IO", "You are going to open the IO of " + utf8(len(selectedNodes)) + " nodes at once\nContinue?", buttons=MessageBox.Ok | MessageBox.Cancel)
ret = (ret == MessageBox.Ok)
if ret:
+ key_mod = QApplication.keyboardModifiers()
+ if activated and (key_mod & Qt.ShiftModifier or key_mod & Qt.ControlModifier):
+ # show ROS log if shift or control was pressed while activating
+ for node in selectedNodes:
+ self.main_window.open_screen_dock(self.masteruri, screen_name='', nodename=node.name, user=self.current_user)
+ else:
queue = self._progress_queue_prio
# we use normal queue, if there are not a lot of processes
if self._progress_queue.count() < 5:
@@ -2649,7 +2655,7 @@ class MasterViewProxy(QWidget):
for node in nodes:
node.has_screen = False
if nm.settings().show_noscreen_error:
- self.info_frame.show_info(MessageFrame.TYPE_NOSCREEN, 'No screens found! See log for details!<br>The following nodes are affected:', MessageData('', [nodename]))
+ self.info_frame.show_info(MessageFrame.TYPE_NOSCREEN, 'No screens found for:', MessageData('', [nodename]))
def on_kill_screens(self):
'''
