+ if (!screen) {
+ HMI_DEBUG("HomeScreen", "Can't activate application %s on another "
+ "output, because output %s could not be found. "
+ "Trying with remoting ones.",
+ app_id.toStdString().c_str(),
+ output_name.toStdString().c_str());
+
+ // try with remoting-remote-X which is the streaming
+ // one
+ std::string new_remote_output =
+ "remoting-" + output_name.toStdString();
+
+ screen = ::find_screen(new_remote_output.c_str());
+ if (!screen) {
+ HMI_DEBUG("HomeScreen", "Can't activate application %s on another "
+ "output, because output remoting-%s could not be found",
+ app_id.toStdString().c_str(),
+ output_name.toStdString().c_str());
+ return;
+ }
+
+ HMI_DEBUG("HomeScreen", "Found a stream remoting output %s to activate application %s on",
+ new_remote_output.c_str(),
+ app_id.toStdString().c_str());
+ }
+