When adding a notification such as std::string res("Name " + name + " busy"); View::SetNotification(res.c_str()); The notification will not show the message but only junk characters.