First Last Prev Next    No search results available
Details
: Postbox: Listen for Tag changes doesn't work
Bug#: 25873
: quickFilters
: General
Status: RESOLVED
Resolution: FIXED
: Macintosh
: Mac OS X 10.4
: unspecified
: P2
: normal
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Jay <jay@plane-creative.com>
Assigned To: Axel Grude <axel.grude@gmail.com>

Attachments
2.7.1 prerelease 35 (239.74 KB, application/x-xpinstall)
2014-10-12 04:38, Axel Grude
no flags Details
2.7.1 prerelease 57 (245.32 KB, application/x-xpinstall)
2014-10-16 00:31, Axel Grude
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2014-10-08 02:01

    
------- Comment #1 From Axel Grude 2014-10-08 04:00:04 -------
I was able to reproduce the issue, bug accepted
------- Comment #2 From Axel Grude 2014-10-09 04:44:42 -------
Just a heads up on this:

Apparently, Postbox implements tag change events different from the other mail
programs; normally a FOlderListener implements the OnItemPropertyFlagChanged
event but in Postbox a different structure is used:


An observer for the event "pb-tag-changed" has to be implemented. Unfortunately
there is no documentation and their own implementation of thatobserver is
closed source, so I do not know how to implement this. I have reached out to
their technical support team to help me, but it usually takes a while until
they reply. 

I will update the bug once I know how to implement this in Postbox.
------- Comment #3 From Axel Grude 2014-10-12 04:38:42 -------
Created an attachment (id=7943) [details]
2.7.1 prerelease 35

Here is a first bash at creating a filter on tag change in Postbox.

This will always look at the last tag added, but it might also be triggered
when you have more than one tag and remove one - Postbox doesn't tell me
whether the tag was added or removed so in this case quickFilters will think
that the previous tag (which still applies to the message) was just added. It
will work in most cases where only a single tag is used or also where multiple
tags are added (the last tag is used as action, not all tags).

I haven't tested yet against tagging multiple mails or coversations.
------- Comment #4 From Jay 2014-10-14 16:12:30 -------
what's the best way to test this?

-enable Assistant
-apply tag to one message
-apply same tag to another message?

Also - I assume this update is reflected in prerelease 45?
------- Comment #5 From Axel Grude 2014-10-15 00:46:00 -------
(In reply to comment #4)
> what's the best way to test this?
> 
> -enable Assistant
> -apply tag to one message
> -apply same tag to another message?
> 
> Also - I assume this update is reflected in prerelease 45?
> 

There are number of tests you can do. Always enable the Assistant for these.

1) Apply a Tag to a message (Expected: Assistant is opened)

2) Apply a Tag to a conversation (You might be able to use the "group" template
to extract multiple mail addresses)

3) remove a Tag (expected behavior: Assistant should _not_ be triggered!)

4) Apply an additional different Tag to a message with a tag (expected
behavior: the correct / last-added tag is picked up in the filter dialog)

5) Apply a Tag that is already set in an existing filter to a message
(Expected: merge dialog is triggered)
------- Comment #6 From Axel Grude 2014-10-15 00:47:29 -------
(In reply to comment #5)
> (In reply to comment #4)
> > Also - I assume this update is reflected in prerelease 45?
> > 
> 

I forgot to answer this one: yes all my builds are cumulative, so whatever you
get with a previous prerelease is in the following one. Backouts of features
are fairly rare.
------- Comment #7 From Axel Grude 2014-10-16 00:30:14 -------
*** Bug 25882 has been marked as a duplicate of this bug. ***
------- Comment #8 From Axel Grude 2014-10-16 00:31:36 -------
Created an attachment (id=7945) [details]
2.7.1 prerelease 57

The previous version was also triggered by Tag changes that were _caused_ by a
filter action, so the assistant popped up even when the Tag change was not
manual.

This new version should only pop up if a Tag is added to a message manually.
------- Comment #9 From Axel Grude 2014-10-22 23:18:43 -------
The bug was reported as fixed by Jay. So this is going to be part of 2.7.1 -
Happy days :)

First Last Prev Next    No search results available