Weird folder selection bug

View: New views
4 Messages — Rating Filter:   Alert me  

Weird folder selection bug

by Christoph Höger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi evoultion hackers,

sorry for not having a patch at hand for this one, but I had no time to
dive into the API deep enough for figuring this one out:
(and instead of cluttering bz with even more trvial bug reports, I
wanted to ask first on advice how to write a patch)

When I want to select the folder in which evolution puts it's mail, the
selection button changes it's label to the selected folder name. The
problem is: The selected folder name is:

a) translated (leading to "Verschickt" instead of "Sent" which would be
the correct name. ("Verschickt" is the german translation of the
evolution internal Sent mail folder, "Sent" is a subfolder of my Maildir
account)

b) misinterpreted on reopening that dialog. Instead of the selected
folder ("Maildir/Sent") I get "Verschickt" selected as if the selection
did not change anything (what in fact it did - new mail is dropped into
Maildir/Sent)

So my first thaught was: Is that glades fault (the buttons label is set
to translatable) and could that be fixed by setting the buttons
translatable value to false (or would than _nothing_ get translated at
all)?

And: What the f*** does that dialog get as content? Somewhere the
correct information (aka Path) is stored, as it works. But from that
point to the dialogs display it gets turned into a completely different
path. How is that even possible?

So if one could answer those questions I could probably write a patch
for that issue.

regards

Christoph


_______________________________________________
Evolution-hackers mailing list
Evolution-hackers@...
http://mail.gnome.org/mailman/listinfo/evolution-hackers

signature.asc (204 bytes) Download Attachment

Re: Weird folder selection bug

by Christoph Höger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* ping *

Has no one a clue on that?


_______________________________________________
Evolution-hackers mailing list
Evolution-hackers@...
http://mail.gnome.org/mailman/listinfo/evolution-hackers

signature.asc (204 bytes) Download Attachment

Re: Weird folder selection bug

by Milan Crha :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

        Hi,

On Fri, 2009-07-03 at 13:56 +0200, Christoph Höger wrote:
> * ping *
>
> Has no one a clue on that?

Most likely.

On Tue, 2009-06-30 at 11:17 +0200, Christoph Höger wrote:
> When I want to select the folder in which evolution puts it's mail, the
> selection button changes it's label to the selected folder name. The
> problem is: The selected folder name is:
>
> a) translated (leading to "Verschickt" instead of "Sent" which would be
> the correct name. ("Verschickt" is the german translation of the
> evolution internal Sent mail folder, "Sent" is a subfolder of my Maildir
> account)

It shouldn't do that, but it does. I doubt it's question on glade,
it's evo's/eds' fault most likely.

> b) misinterpreted on reopening that dialog. Instead of the selected
> folder ("Maildir/Sent") I get "Verschickt" selected as if the selection
> did not change anything (what in fact it did - new mail is dropped into
> Maildir/Sent)

Probably because of a). Though cannot tell for sure without further
investigation.

> So my first thaught was: Is that glades fault (the buttons label is set
> to translatable) and could that be fixed by setting the buttons
> translatable value to false (or would than _nothing_ get translated at
> all)?

See above, no.

> And: What the f*** does that dialog get as content? Somewhere the
> correct information (aka Path) is stored, as it works. But from that
> point to the dialogs display it gets turned into a completely different
> path. How is that even possible?

That's how it works, it might take much longer to explain you the interns
than spending time on trying to fix it. Basically, there are paths
to the folder how they are used by camel, and how they are used in evo,
the later contains an account name in it.
See em_uri_to_camel/em_uri_from_camel.

I'm not sure if I got it right. It works, with respect of moving
messages to the correct folder, only the UI is confused with the "Sent"
name, which it considers as a special folder, thus translates it, when
you reopen the account editor dialog again?

Anyway, please file a bug, that's no waste, that's much better way how
to track patches than in a mailing list.
        Thanks and bye,
        Milan

_______________________________________________
Evolution-hackers mailing list
Evolution-hackers@...
http://mail.gnome.org/mailman/listinfo/evolution-hackers

Re: Weird folder selection bug

by Christoph Höger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Done. #587699

thanks for the advice

Am Freitag, den 03.07.2009, 16:51 +0200 schrieb Milan Crha:

> Hi,
>
> On Fri, 2009-07-03 at 13:56 +0200, Christoph Höger wrote:
> > * ping *
> >
> > Has no one a clue on that?
>
> Most likely.
>
> On Tue, 2009-06-30 at 11:17 +0200, Christoph Höger wrote:
> > When I want to select the folder in which evolution puts it's mail, the
> > selection button changes it's label to the selected folder name. The
> > problem is: The selected folder name is:
> >
> > a) translated (leading to "Verschickt" instead of "Sent" which would be
> > the correct name. ("Verschickt" is the german translation of the
> > evolution internal Sent mail folder, "Sent" is a subfolder of my Maildir
> > account)
>
> It shouldn't do that, but it does. I doubt it's question on glade,
> it's evo's/eds' fault most likely.
>
> > b) misinterpreted on reopening that dialog. Instead of the selected
> > folder ("Maildir/Sent") I get "Verschickt" selected as if the selection
> > did not change anything (what in fact it did - new mail is dropped into
> > Maildir/Sent)
>
> Probably because of a). Though cannot tell for sure without further
> investigation.
>
> > So my first thaught was: Is that glades fault (the buttons label is set
> > to translatable) and could that be fixed by setting the buttons
> > translatable value to false (or would than _nothing_ get translated at
> > all)?
>
> See above, no.
>
> > And: What the f*** does that dialog get as content? Somewhere the
> > correct information (aka Path) is stored, as it works. But from that
> > point to the dialogs display it gets turned into a completely different
> > path. How is that even possible?
>
> That's how it works, it might take much longer to explain you the interns
> than spending time on trying to fix it. Basically, there are paths
> to the folder how they are used by camel, and how they are used in evo,
> the later contains an account name in it.
> See em_uri_to_camel/em_uri_from_camel.
>
> I'm not sure if I got it right. It works, with respect of moving
> messages to the correct folder, only the UI is confused with the "Sent"
> name, which it considers as a special folder, thus translates it, when
> you reopen the account editor dialog again?
>
> Anyway, please file a bug, that's no waste, that's much better way how
> to track patches than in a mailing list.
> Thanks and bye,
> Milan
>
> _______________________________________________
> Evolution-hackers mailing list
> Evolution-hackers@...
> http://mail.gnome.org/mailman/listinfo/evolution-hackers


_______________________________________________
Evolution-hackers mailing list
Evolution-hackers@...
http://mail.gnome.org/mailman/listinfo/evolution-hackers

signature.asc (204 bytes) Download Attachment