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 331694 - Labels fucked up on migration from 2.4 to 2.6
Labels fucked up on migration from 2.4 to 2.6
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.6.x (obsolete)
Other Linux
: Urgent normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[migration]
: 333122 335120 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-18 18:00 UTC by Karsten Bräckelmann
Modified: 2013-09-13 00:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Evo Preferences - Mail - Labels 2.4 (13.82 KB, image/png)
2006-02-18 18:10 UTC, Karsten Bräckelmann
Details
Evo Preferences - Mail - Labels 2.6 (11.11 KB, image/png)
2006-02-18 18:11 UTC, Karsten Bräckelmann
Details

Description Karsten Bräckelmann 2006-02-18 18:00:45 UTC
When starting Evo 2.6, the Labels are being rewritten in a fucked up way. Interestingly, this is revertable. And reproducibale.

* After starting 2.6, most Labels have an underscore in the name.
  "To Do" get's a horribly borked closing paranthesis.
  See the 2.6 part of the snippets below.

* Running 2.4 after this, obviously *reverts* this.
  The Labels are again, as I remember them.
  See the 2.4 part of the snippets below.

Alternating between 2.6 and 2.4 always results in the very same output.


$ gconftool-2 --get /apps/evolution/last_version
2.4.0
$ gconftool-2 --get /apps/evolution/mail/labels
[Important:#ff0000,Work:#ff8c00,Personal:#008b00,To Do:#0000ff,Later:#8b008b]

$ gconftool-2 --get /apps/evolution/last_version
2.6.0
$ gconftool-2 --get /apps/evolution/mail/labels
[I_mportant:#ff0000,_Work:#ff8c00,_Personal:#008b00,)To Do:#0000ff,_Later:#8b008b]


Evolution 2.4.2.1, Evolution 2.5.91. Screenshots follow.
Comment 1 Karsten Bräckelmann 2006-02-18 18:10:51 UTC
Created attachment 59657 [details]
Evo Preferences - Mail - Labels 2.4
Comment 2 Karsten Bräckelmann 2006-02-18 18:11:24 UTC
Created attachment 59658 [details]
Evo Preferences - Mail - Labels 2.6
Comment 3 André Klapper 2006-02-18 19:14:54 UTC
*could* be related to 
http://cvs.gnome.org/viewcvs/evolution/mail/em-folder-view.c?r1=1.143&r2=1.144
(wild guess though)

cannot confirm this as i do not use the default labels.
Comment 4 André Klapper 2006-03-03 19:29:55 UTC
*** Bug 333122 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2006-03-03 19:30:21 UTC
confirming as per duplicate.
Comment 6 Karsten Bräckelmann 2006-03-19 17:49:59 UTC
*** Bug 335120 has been marked as a duplicate of this bug. ***
Comment 7 Karsten Bräckelmann 2006-03-19 17:54:02 UTC
See duplicate bug 335120 attachment 61541 [details] [review] for a simple patch.

Gabor, please feel free to attach the patch here as well, and continue any discussions here.

Prioritity Urgent, Target Milestone 2.6. This is a MUSTFIX for 2.6.1.
Comment 8 Sebastien Bacher 2006-04-01 12:34:51 UTC
Ubuntu bug about that:
https://launchpad.net/distros/ubuntu/+source/evolution/+bug/36744

Trivial patch:

--- mail/evolution-mail.schemas.in.in.orig      2006-04-01 14:35:09.000000000 +0200
+++ mail/evolution-mail.schemas.in.in   2006-04-01 14:35:18.000000000 +0200
@@ -713,7 +713,7 @@
       <owner>evolution-mail</owner>
       <type>list</type>
       <list_type>string</list_type>
-      <default>[I_mportant:#ff0000,_Work:#ff8c00,_Personal:#008b00,)To Do:#0000ff,_Later:#8b008b]</default>
+      <default>[I_mportant:#ff0000,_Work:#ff8c00,_Personal:#008b00,_To Do:#0000ff,_Later:#8b008b]</default>
       <locale name="C">
          <short>List of Labels and their associated colors</short>
          <long>
Comment 9 Sebastien Bacher 2006-04-05 08:14:03 UTC
mentionned by bug #334766 too, maybe that could be fixed for 2.14.1?
Comment 10 Sebastien Bacher 2006-04-05 08:14:43 UTC
(can translated strings be changed for GNOME 2.14.1?)
Comment 11 Gabor Kelemen 2006-04-05 08:30:05 UTC
"(can translated strings be changed for GNOME 2.14.1?)"

Theoretically, yes, but in this case, "_To Do" is already marked for translation in an other file (#: ../mail/mail-config.c:88), so this is not a string freeze breakage. 
Comment 12 Sebastien Bacher 2006-05-03 12:34:33 UTC
any reason to not fix that trivial bug? it's open for months now and is only a one char change...
Comment 13 Harish Krishnaswamy 2006-06-06 05:31:03 UTC
Sigh...I wonder why this rotted for so long. Committed to both HEAD and gnome-2-14 branch.