diff --git a/debug-viewer/GstDebugViewer/Data.py b/debug-viewer/GstDebugViewer/Data.py index 8a44a572e9..8e56a9b9bb 100644 --- a/debug-viewer/GstDebugViewer/Data.py +++ b/debug-viewer/GstDebugViewer/Data.py @@ -277,6 +277,7 @@ class LogLine (list): if isinstance (message_offset, str): message = message_offset + # FIXME: Regarding object_, this doesn't fully replicate the formatting! return "%s %5d 0x%x %s %20s %s:%d:%s:<%s> %s" % (time_args (ts), pid, thread, level.name.ljust (5), category, filename, line, function, object_, message,) diff --git a/debug-viewer/GstDebugViewer/GUI.py b/debug-viewer/GstDebugViewer/GUI.py index 5d271054b4..b907f49d21 100644 --- a/debug-viewer/GstDebugViewer/GUI.py +++ b/debug-viewer/GstDebugViewer/GUI.py @@ -1964,6 +1964,8 @@ class Window (object): def handle_edit_copy_line_action_activate (self, action): + # TODO: Should probably copy the _exact_ line as taken from the file. + line = self.get_active_line () log_line = Data.LogLine (line) self.clipboard.set_text (log_line.line_string ())