After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661944 - Message tray goes down on first conversation
Message tray goes down on first conversation
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: message-tray
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 658986 668375 672686 674193 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-10-16 22:48 UTC by Stéphane Maniaci
Modified: 2012-04-17 03:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
First reply (half the box is down) (655.75 KB, image/png)
2011-10-16 22:49 UTC, Stéphane Maniaci
  Details
Further chat answers, the box disappears from the screen (986.73 KB, image/png)
2011-10-16 22:50 UTC, Stéphane Maniaci
  Details
telethyClient: stop the chat notification going down on first conversation (1.07 KB, patch)
2012-03-27 17:55 UTC, Joost
none Details | Review
telepathyClient: stop the chat notification moving down (1021 bytes, patch)
2012-03-27 20:13 UTC, Joost
needs-work Details | Review
telepathyClient: stop the chat notification moving down (1.16 KB, patch)
2012-04-05 20:12 UTC, Joost
none Details | Review
telepathyClient: call this.updated() when a new message is added to a notification (2.93 KB, patch)
2012-04-13 17:12 UTC, Joost
none Details | Review
telepathyClient: call this.updated() when a new message is added to a notification (3.23 KB, patch)
2012-04-13 17:16 UTC, Joost
committed Details | Review

Description Stéphane Maniaci 2011-10-16 22:48:05 UTC
When you have a new conversation (like in "no previous chat history"), the input box for the notification in the bottom center of the screen goes down on each chat message.

To reproduce, get a conversation with someone you never talked to (or clear the chat logs in Empathy and reload the shell), and chat while the notification is in the center of the screen. When the notification goes into the notification area (right), problem's fixed.

Attaching a couple screenshots to illustrate.
Comment 1 Stéphane Maniaci 2011-10-16 22:49:28 UTC
Created attachment 199154 [details]
First reply (half the box is down)
Comment 2 Stéphane Maniaci 2011-10-16 22:50:35 UTC
Created attachment 199156 [details]
Further chat answers, the box disappears from the screen
Comment 3 Florian Müllner 2012-03-23 12:59:31 UTC
*** Bug 672686 has been marked as a duplicate of this bug. ***
Comment 4 Joost 2012-03-27 17:55:49 UTC
Created attachment 210717 [details] [review]
telethyClient: stop the chat notification going down on first conversation

When getting into a chat through the message tray notification
chat client with someone you've never chatted with before, the
notification extends downward instead of upward, causing part
of the notification to be hidden from view. Expand in updward
direction in this case.
Comment 5 Joost 2012-03-27 20:13:37 UTC
Created attachment 210728 [details] [review]
telepathyClient: stop the chat notification moving down

When responding on a conversation in a chat notification,
given there's no prior chat history, the notification moves
down below the edge of the screen instead of expanding up,
making part of it invisible. Avoid this.
Comment 6 Florian Müllner 2012-03-27 20:47:03 UTC
Review of attachment 210728 [details] [review]:

It is not obvious why this patch is supposed to work without looking up _update() - it should be clear from the diff and commit message.

::: js/ui/telepathyClient.js
@@ +854,2 @@
         this._lastGroupActor.add(body, props.childProps);
+        this._updated();

_updated() is private to MessageTray.Notification
Comment 7 Joost 2012-04-05 20:12:06 UTC
Created attachment 211428 [details] [review]
telepathyClient: stop the chat notification moving down

When responding on a conversation in a chat notification,
given there's no prior chat history, the notification moves
down below the edge of the screen instead of expanding up,
making part of it invisible. Avoid this by making sure that
when the notification should be expanded, it expands.
Comment 8 Joost 2012-04-13 17:12:28 UTC
Created attachment 212004 [details] [review]
telepathyClient: call this.updated() when a new message is added to a notification

When responding on a conversation in a chat notification,
given there's no prior chat history, the notification moves
down below the edge of the screen instead of expanding up,
making part of it invisible. Avoid this by making sure the
notification's position is updated.
Comment 9 Joost 2012-04-13 17:16:12 UTC
Created attachment 212005 [details] [review]
telepathyClient: call this.updated() when a new message is added to a notification

When responding on a conversation in a chat notification,
given there's no prior chat history, the notification moves
down below the edge of the screen instead of expanding up,
making part of it invisible. Avoid this by making sure the
notification's position is updated.
Comment 10 Florian Müllner 2012-04-16 11:30:06 UTC
*** Bug 668375 has been marked as a duplicate of this bug. ***
Comment 11 Florian Müllner 2012-04-16 11:30:52 UTC
*** Bug 658986 has been marked as a duplicate of this bug. ***
Comment 12 Florian Müllner 2012-04-16 11:31:27 UTC
*** Bug 674193 has been marked as a duplicate of this bug. ***
Comment 13 Florian Müllner 2012-04-16 16:16:38 UTC
Review of attachment 212005 [details] [review]:

Thanks for the update - personally I'd do the renaming in a separate commit, but really up to you whether you want to update the bug or land the patch as-is.
Comment 14 Marina Zhurakhinskaya 2012-04-17 03:34:23 UTC
Comment on attachment 212005 [details] [review]
telepathyClient: call this.updated() when a new message is added to a notification

Thanks for the patch! I think it's good to have the function rename be in the same patch because it is directly related to the change, so I committed it that way, with slight changes to the commit message.