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 352713 - Folder view isn't updated until mouse-over
Folder view isn't updated until mouse-over
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.8.x (obsolete)
Other Linux
: Normal trivial
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 354633 356530 410232 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-24 18:29 UTC by Don Scorgie
Modified: 2013-09-13 00:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the problem (123.61 KB, image/png)
2006-08-25 17:08 UTC, Don Scorgie
  Details
Proposed fix (2.25 KB, patch)
2006-11-02 14:58 UTC, René Stadler
committed Details | Review

Description Don Scorgie 2006-08-24 18:29:40 UTC
In Evolution 2.7.92, the "Inbox" folder list doesn't update to the text to bold (for new mail arriving), or normal (when finished reading messages) until either the mouse is moved across the relevant entry in the folder list or the folder is changed to another one.  It's only a minor / trivial thing, but...
Comment 1 André Klapper 2006-08-25 07:17:44 UTC
doesn't happen here. IMAP, POP?
Comment 2 André Klapper 2006-08-25 07:18:22 UTC
or... XGL/compiz? :-)
Comment 3 Don Scorgie 2006-08-25 17:08:02 UTC
Created attachment 71605 [details]
Screenshot of the problem

Hi,

I'm not using XGL / Compiz.  Just plain ol' metacity.  Using Ubuntu Edgy (GNOME 2.15.92).

The account is a POP account.

The screenshot above demonstrates the problem.  The "Inbox" and "Gnome" folders are boldened, but the mail in the Unread Mail Folder has been read.  If I move my mouse over these folders, the bold disappears, or if I click on the "Inbox" folder, it disappears as well.
Comment 4 Don Scorgie 2006-09-26 15:23:33 UTC
*** Bug 356530 has been marked as a duplicate of this bug. ***
Comment 5 Sebastien Bacher 2006-09-26 16:04:58 UTC
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/evolution/+bug/60050
Comment 6 Don Scorgie 2006-10-03 17:33:00 UTC
Not sure if its related, but I'm seeing the same behavior in Drivel ("Currently Playing Music" option doesn't update to new songs until mouse is passed over the entry).  Maybe its a gtk+ problem?  
Comment 7 René Stadler 2006-11-02 14:58:22 UTC
Created attachment 75847 [details] [review]
Proposed fix

Bug #354633 is a duplicate of this.  The problem is unrelated to Drivel or GTK+.

On view level, the folder tree view establishes the relation to display the name in bold if the folder contains unread messages or children with unread messages.  The patch adds a handler for the row-changed signal of the model that emits row-changed for all parent rows, to update the corresponding cells correctly.
Comment 8 Don Scorgie 2006-11-02 15:06:46 UTC
*** Bug 354633 has been marked as a duplicate of this bug. ***
Comment 9 Danielle Madeley 2006-11-02 15:27:03 UTC
Actually, I wrote the thing in Drivel, that's more what we'd call a dirty hack (because you can't update a GtkComboBox when it is popped open, as far as I know, and we can't get async updates).
Comment 10 Matthew Barnes 2007-04-04 17:16:40 UTC
Confirmed.  This is pretty easy to reproduce.

Choose a nested folder with no unread messages (say, "Child Folder").

    Parent Folder
       Child Folder

Mark one of the messages in "Child Folder" as unread, but thereafter DO NOT MOVE THE MOUSE.  You'll see (CAPS indicate bold):

    Parent Folder
       CHILD FOLDER (1)

Now move the mouse over "Parent Folder".  It'll change to:

    PARENT FOLDER
       CHILD FOLDER (1)

Now mark that same message as read, again not moving the mouse thereafter.

    PARENT FOLDER
       Child Folder

Now move the mouse over "PARENT FOLDER" again.  It'll change back to:

    Parent Folder
       Child Folder

Pretty annoying...
Comment 11 Jeffrey Stedfast 2007-04-04 17:33:59 UTC
I've been noticing this as well... has it always been this way? seems like it is a recent regression
Comment 12 Matthew Barnes 2007-04-04 17:52:22 UTC
Patch works like a charm and is well written.  Thanks René!

Committed to Subversion trunk (revision 33381).
Comment 13 Matthew Barnes 2007-04-04 18:42:08 UTC
Committed to gnome-2-18 branch too (revision 33382).
Comment 14 Benjamin Berg 2007-05-16 13:00:21 UTC
*** Bug 410232 has been marked as a duplicate of this bug. ***
Comment 15 Srinivasa Ragavan 2007-05-30 08:54:30 UTC
Guys, I think it needs a slight modification the the fix. It should bold the parent folder only in collapsed mode and not in expanded mode. I think we follow that for message threading also. It isn't inconsistent. 
Comment 16 Matthew Barnes 2007-05-30 13:59:23 UTC
If I understand you correctly, you're suggesting that when a new message arrives in "Child-Folder", instead of seeing this:

   INBOX
      PARENT-FOLDER
         CHILD-FOLDER (1)

you want to see this:

   Inbox
      Parent-Folder
         CHILD-FOLDER (1)

(CAPS denote bold text)

I have a few reservations:

  * If CHILD-FOLDER is scrolled off the bottom of the window, the user gets
    no visual indication that a new message has arrived.  I personally find
    that visual indication useful (notification plugins notwithstanding).

    Of course if CHILD-FOLDER is scrolled off the TOP of the window (i.e.
    the user is looking at the bottom of the folder list), there's no visual
    indication anyway.  So maybe it's not a big deal.

  * What happens when you expand a bolded folder?  Does it stay bold or does
    the bold jump to the child folder (which may itself be another collapsed
    folder).  Staying bold would be inconsistent because now both the parent
    folder and child foler are bold.  But making the bold jump around such
    that the user has to chase after it would be even more confusing (and
    probably quite irritating).

  * I guess I don't see a need for the behavior to be consistent with
    message threading.  I think you're comparing apples and oranges.
Comment 17 Srinivasa Ragavan 2007-05-30 14:09:41 UTC
As we discussed on irc, lets wait for user comments. This is just more of a preference. 
Comment 18 Matthew Barnes 2007-05-30 14:29:58 UTC
Agreed.  No strong preference from me, despite my reservations.