diff --git a/NEWS b/NEWS index 1eb2c7ba..dde0af93 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +* #5089: show frame shortly when adding object to clipboard (erikos) * #5097: Fix pasting text between activities through the clipboard. (tomeu) * #4660: Use improved PS API which streamlines ShareActivity process (smcv) diff --git a/shell/view/Shell.py b/shell/view/Shell.py index 05e058e1..b9d259f0 100644 --- a/shell/view/Shell.py +++ b/shell/view/Shell.py @@ -198,7 +198,7 @@ class Shell(gobject.GObject): new_level = model.props.zoom_level if new_level == ShellModel.ZOOM_HOME: - self._frame.show(Frame.MODE_HOME) + self._frame.show(Frame.MODE_NON_INTERACTIVE) if self._zoom_level == ShellModel.ZOOM_HOME: self._frame.hide() diff --git a/shell/view/frame/frame.py b/shell/view/frame/frame.py index c5072628..e8f8fa4d 100644 --- a/shell/view/frame/frame.py +++ b/shell/view/frame/frame.py @@ -85,7 +85,7 @@ class _KeyListener(object): class Frame(object): MODE_MOUSE = 0 MODE_KEYBOARD = 1 - MODE_HOME = 2 + MODE_NON_INTERACTIVE = 2 def __init__(self, shell): self.mode = None @@ -239,7 +239,7 @@ class Frame(object): def _clipboard_object_added_cb(self, cb_service, object_id, name): if not self.visible: - self.show() + self.show(self.MODE_NON_INTERACTIVE) gobject.timeout_add(2000, lambda: self.hide()) def _enter_notify_cb(self, window, event):