diff --git a/data/gui/message_window.ui b/data/gui/message_window.ui
index 1f0795854ac68a63cd05b5d9ec5c7490afa1f5ea..b801f82906eb13ec701468abdea682dc3ed8f836 100644
--- a/data/gui/message_window.ui
+++ b/data/gui/message_window.ui
@@ -12,7 +12,6 @@
         <child>
           <object class="GtkNotebook" id="notebook">
             <property name="visible">True</property>
-            <property name="can_focus">True</property>
             <property name="scrollable">True</property>
             <property name="tab_border">0</property>
           </object>
diff --git a/src/message_window.py b/src/message_window.py
index 0ab0b5dfc2546f59a57cdf0efc47daca62486d58..f8099a24a6f7d75036ced126f40316586b5a3a90 100644
--- a/src/message_window.py
+++ b/src/message_window.py
@@ -144,8 +144,6 @@ class MessageWindow(object):
         self.notebook.set_show_border(gajim.config.get('tabs_border'))
         self.show_icon()
 
-        gobject.idle_add(self.notebook.grab_focus)
-
     def change_account_name(self, old_name, new_name):
         if old_name in self._controls:
             self._controls[new_name] = self._controls[old_name]
@@ -307,6 +305,7 @@ class MessageWindow(object):
         # NOTE: we do not call set_control_active(True) since we don't know
         # whether the tab is the active one.
         self.show_title()
+        gobject.timeout_add(500, control.msg_textview.grab_focus)
 
     def on_tab_eventbox_button_press_event(self, widget, event, child):
         if event.button == 3: # right click