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 619387 - EMailBrowser doesn't honour sorting of a mail window
EMailBrowser doesn't honour sorting of a mail window
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.30.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 622423 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-05-22 21:15 UTC by bogomips
Modified: 2010-11-26 10:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example of thread with improper order during reading (238.53 KB, image/png)
2010-10-08 15:36 UTC, bogomips
  Details
evo patch (1.20 KB, patch)
2010-10-12 10:49 UTC, Milan Crha
committed Details | Review

Description bogomips 2010-05-22 21:15:41 UTC
In the beginning of this week I updated my system, including updating Evolution to 2.30.
Before updating I run `evolution --force-shutdown', packages were updated without problems,
but after running Evolution I noticed few problems, some of which could be related:

1. Mail folders' settings were missing - in 2.28 I had threaded view without window
showing email content - after update all folders had non-threaded view with email subwindow.

2. I think connected to the above - when reading email and pressing "]" the next email shown is based on time, not on thread.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/3 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages evolution depends on:
ii  dbus                    1.2.24-1         simple interprocess messaging syst
ii  debconf [debconf-2.0]   1.5.32           Debian configuration management sy
ii  evolution-common        2.30.1.2-2       architecture independent files for
ii  evolution-data-server   2.30.1-4         evolution database backend server
ii  gconf2                  2.28.1-3         GNOME configuration database syste
ii  gnome-icon-theme        2.30.2.1-1       GNOME Desktop icon theme
ii  libart-2.0-2            2.3.21-1         Library of functions for 2D graphi
ii  libatk1.0-0             1.30.0-1         The ATK accessibility toolkit
ii  libc6                   2.10.2-9         Embedded GNU C Library: Shared lib
ii  libcairo2               1.8.10-4         The Cairo 2D vector graphics libra
ii  libcamel1.2-14          2.30.1-4         The Evolution MIME message handlin
ii  libcanberra-gtk0        0.24-1           Gtk+ helper for playing widget eve
ii  libcanberra0            0.24-1           a simple abstract interface for pl
ii  libdbus-1-3             1.2.24-1         simple interprocess messaging syst
ii  libdbus-glib-1-2        0.86-1           simple interprocess messaging syst
ii  libebackend1.2-0        2.30.1-4         Utility library for evolution data
ii  libebook1.2-9           2.30.1-4         Client library for evolution addre
ii  libecal1.2-7            2.30.1-4         Client library for evolution calen
ii  libedataserver1.2-11    2.30.1-4         Utility library for evolution data
ii  libedataserverui1.2-8   2.30.1-4         GUI utility library for evolution 
ii  libegroupwise1.2-13     2.30.1-4         Client library for accessing group
ii  libenchant1c2a          1.4.2-3.6        a wrapper library for various spel
ii  libevolution            2.30.1.2-2       evolution libraries
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.3.11-1         FreeType 2 font engine, shared lib
ii  libgconf2-4             2.28.1-3         GNOME configuration database syste
ii  libgdata-google1.2-1    2.30.1-4         Client library for accessing Googl
ii  libgdata1.2-1           2.30.1-4         Client library for accessing Googl
ii  libglib2.0-0            2.24.1-1         The GLib library of C routines
ii  libgnome-desktop-2-17   2.30.0-2         Utility library for loading .deskt
ii  libgnomecanvas2-0       2.30.1-1         A powerful object-oriented display
ii  libgtk2.0-0             2.20.1-1         The GTK+ graphical user interface 
ii  libgtkhtml-editor0      3.30.1-2         HTML rendering/editing library - e
ii  libgtkhtml3.14-19       3.30.1-2         HTML rendering/editing library - r
ii  libgweather1            2.30.0-2         GWeather shared library
ii  libical0                0.44-3           iCalendar library implementation i
ii  libice6                 2:1.0.6-1        X11 Inter-Client Exchange library
ii  libnotify1 [libnotify1- 0.4.5-1          sends desktop notifications to a n
ii  libnspr4-0d             4.8.4-1          NetScape Portable Runtime Library
ii  libnss3-1d              3.12.6-2         Network Security Service libraries
ii  libpango1.0-0           1.28.0-1         Layout and rendering of internatio
ii  libsm6                  2:1.1.1-1        X11 Session Management library
ii  libsoup2.4-1            2.30.1-1         an HTTP library implementation in 
ii  libsqlite3-0            3.6.23.1-2       SQLite 3 shared library
ii  libstartup-notification 0.10-1           library for program launch feedbac
ii  libunique-1.0-0         1.1.6-1          Library for writing single instanc
ii  libxml2                 2.7.7.dfsg-2     GNOME XML library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages evolution recommends:
ii  bogofilter               1.2.1-2         a fast Bayesian spam filter (dummy
ii  evolution-plugins        2.30.1.2-2      standard plugins for Evolution
ii  evolution-webcal         2.28.0-1        webcal: URL handler for GNOME and 
ii  gnome-desktop-data       2.30.0-2        Common files for GNOME desktop app
ii  yelp                     2.30.1+webkit-1 Help browser for GNOME

Versions of packages evolution suggests:
pn  bug-buddy                     <none>     (no description available)
ii  evolution-dbg                 2.30.1.2-2 debugging symbols for Evolution
pn  evolution-exchange            <none>     (no description available)
pn  evolution-plugins-experimenta <none>     (no description available)
ii  gnupg                         1.4.10-3   GNU privacy guard - a free PGP rep
ii  network-manager               0.8-1      network management framework daemo
Comment 1 Milan Crha 2010-10-01 14:15:45 UTC
Thanks for a bug report. I tried to reproduce this with just released evolution 2.32.0 and I do not see the issue. I sort my messages by Date, newest messages at the bottom, and when I mark as unread few messages in one thread, even those times are interleaving between leaves, then pressing ctrl+[ or ctrl+] always goes from top to bottom or vice versa for me.

Could you place here a screenshot of the message list with all private information hidden, only keep there the Date column visible, threading being obvious, and which messages are unread, so I will be able to try to reproduce it here, please? Please mention also your sorting options for the message list. Thanks in advance.
Comment 2 bogomips 2010-10-08 15:36:39 UTC
Created attachment 171955 [details]
Example of thread with improper order during reading

In this screenshot there are 3 unread messages.

If I open preview window (Ctrl-M), start reading message by Dave Page, and press ], next displayed message is one by Devrim Gunduz, according to threading.

If, on the other hand, I double-click on selected message, opening it in new window, and then press ], next displayed message is by Dave Page from different thread (down in the screenshot). 

For me it looks like when there is preview window opened, order of messages is according to threads, but when message is displayed in separete window, Evolution does not take threading into consideration, and orders messages only by date.
Comment 3 Matthew Barnes 2010-10-08 16:07:01 UTC
That's basically correct.  The message display window carries its own (invisible) message list and we don't yet fully transfer the state of the main window's message list.
Comment 4 bogomips 2010-10-08 17:00:38 UTC
But it worked in 2.28 - whether I was using preview, or separate window there
was the same order of messages.

So is it regression, or you rewrote parts of Evolution and not yet implemented everything?
Comment 5 Milan Crha 2010-10-11 07:20:29 UTC
Reopening and confirming. If it really worked in 2.28, then some changes in rewrites of related parts might change the behaviour, though unintentionally.
Comment 6 Milan Crha 2010-10-12 10:49:41 UTC
Created attachment 172174 [details] [review]
evo patch

for evolution;

So the threading state was copied, but not the sorting state. Copying also it makes this behave as expected, going in the order as shown in the main mail window.
Comment 7 Milan Crha 2010-10-12 10:54:36 UTC
Created commit c0050ee in evo master (2.91.1+)
Created commit 03acdfb in evo gnome-2-32 (2.32.1+)
Comment 8 Milan Crha 2010-11-26 10:01:21 UTC
*** Bug 622423 has been marked as a duplicate of this bug. ***