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 665255 - IM banner should grow taller with conversation
IM banner should grow taller with conversation
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: message-tray
3.2.x
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 685152 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-12-01 00:22 UTC by Jakub Steiner
Modified: 2013-03-02 13:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
25em (157.14 KB, image/png)
2012-10-25 17:02 UTC, Carlos Soriano
  Details
design guidance (104.32 KB, image/png)
2012-11-01 11:14 UTC, Allan Day
  Details
22em 1366x768 (laptop) (187.88 KB, image/png)
2012-11-01 15:30 UTC, Carlos Soriano
  Details
MessageTray: change height in chat notification to have more context. (1.61 KB, patch)
2012-11-01 15:40 UTC, Carlos Soriano
accepted-commit_now Details | Review
MessageTray: change height in chat notification to have more context. (2.78 KB, patch)
2012-11-04 22:52 UTC, Carlos Soriano
rejected Details | Review
MessageTray: change height in chat notification to have more context. (1.53 KB, patch)
2012-11-04 23:08 UTC, Carlos Soriano
committed Details | Review

Description Jakub Steiner 2011-12-01 00:22:29 UTC
After extensive use I have grown to love reposing to people in the middle of my screen, using shell's banner. At the same time, the vertical screen estate it provides is inadequate. I would find it appropriate for it to grow towards the top as the conversation unfolds, until i lose interest and shift my focus, collapsing the banner.

For the potential continuation of the conversation in case the person replies again I should still be able to scroll back to see context, but it would again start the same height as we have now, focusing on the last message the person sent me.

That way I have a nice glance over the conversation and I can form my replies better seeing the context without scrolling back and forth, but don't have to be burdened by "window management"/resizing. In terms of aesthetics, I see it going to 2/3s of the screen height.
Comment 1 Carlos Soriano 2012-10-25 16:18:17 UTC
It depends on https://bugzilla.gnome.org/show_bug.cgi?id=685152

Right now, with this little context in chat bubbles, growing the notification doesn't change a lot.

Also one question, what designers want?
Once we grow the notification, when we lost focus of it, we recover its original size? Or we maintain the new size?

If we recover the size, I imagine something like:

someone talk to me. I expand the notification, it grows until its maximum (2/3 of the screen? Please designers, confirm that), then, when I lost the focus, it recovers a fixed original size, and if the same person talk to me and I expand the notification the original size is displayed and it grows again until its maximum size or until I lost focus.

Is it the correct behaviour?
Comment 2 Jakub Steiner 2012-10-25 16:46:03 UTC
What we need (in CSS speak) is a max-height to be around 15ex rather than the current +- 7ex.
Comment 3 Carlos Soriano 2012-10-25 16:52:24 UTC
Jakub,

In this manner the chat expanded notification will be too intrusive always, not only when you are paying attention to the conversation in a short time.
Comment 4 Carlos Soriano 2012-10-25 17:02:08 UTC
Created attachment 227291 [details]
25em

patch proposed working. We always have this size (if the conversation is long enough) for expandable notifications. So, for me, too intrusive for all the conversations. What do you think?
Comment 5 Allan Day 2012-11-01 11:14:23 UTC
Created attachment 227790 [details]
design guidance

(In reply to comment #1)

Hi Carlos. Sorry I've been slow getting back to you on this one.

I've attached some design guidance. I hope it answers your questions; let me know if it doesn't.
Comment 6 Carlos Soriano 2012-11-01 15:30:46 UTC
Created attachment 227812 [details]
22em 1366x768 (laptop)

patch working into a normal resolution laptop
Comment 7 Carlos Soriano 2012-11-01 15:36:27 UTC
patch working into a normal desktop resolution 1680x1050

http://postimage.org/image/ghpzevz99/
Comment 8 Carlos Soriano 2012-11-01 15:40:51 UTC
Created attachment 227815 [details] [review]
MessageTray: change height in chat notification to have more context.
Comment 9 Allan Day 2012-11-01 17:03:00 UTC
I've tried it and it seems good to me.

One potential enhancement would be to make it so the expansion of the notification is smooth rather than jumping, but that can maybe be another bug.
Comment 10 Allan Day 2012-11-02 10:34:58 UTC
One thing that I noticed when testing this this morning - each time you enter text and the notification grows, the text entry field disappears for a moment. The effect is a bit awkward.

Do you see that at your end, Carlos?
Comment 11 Jasper St. Pierre (not reading bugmail) 2012-11-02 15:25:01 UTC
It's always done that. I'm surprised you never noticed before.
Comment 12 Allan Day 2012-11-02 16:14:57 UTC
Meh. I'm struggling to reproduce now. If no one else sees that bug, let's try and get this landed.
Comment 13 Florian Müllner 2012-11-02 16:28:56 UTC
(In reply to comment #12)
> Meh. I'm struggling to reproduce now. If no one else sees that bug, let's try
> and get this landed.

Comment #11 suggests that this is not a regression, in which case it shouldn't block landing the patch at all.
Comment 14 Carlos Soriano 2012-11-03 23:29:05 UTC
So, when the code is reviewed, please commit, I haven't got commit rights.
Comment 15 Jasper St. Pierre (not reading bugmail) 2012-11-03 23:33:10 UTC
Review of attachment 227815 [details] [review]:

Looks good. Will push with the minor nit fixed.

::: js/ui/components/telepathyClient.js
@@ +784,3 @@
         this._lastGroupActor = null;
+        
+        // We override the 'y' size of the scroll area to have a taller notification for chat.

This comment isn't really necessary.
Comment 16 Carlos Soriano 2012-11-04 22:52:05 UTC
Created attachment 228059 [details] [review]
MessageTray: change height in chat notification to have more context.
Comment 17 Carlos Soriano 2012-11-04 22:53:54 UTC
Review of attachment 228059 [details] [review]:

bad patch
Comment 18 Carlos Soriano 2012-11-04 23:08:45 UTC
Created attachment 228061 [details] [review]
MessageTray: change height in chat notification to have more context.
Comment 19 Carlos Soriano 2012-11-04 23:17:41 UTC
Allan I will see into the two bugs you talk about, since they seem to be good for a beginner.
Comment 20 Allan Day 2012-11-06 21:54:24 UTC
Thanks for the fix, Carlos! This is great. :)
Comment 21 Allan Day 2013-03-02 13:10:37 UTC
*** Bug 685152 has been marked as a duplicate of this bug. ***