+ Add Question

Expressions not working properly in Android?

Hi,

The following works as I expect on windows but seems to ignore the "-@waiting" on android and I get a different result.

overdue, (today & -@waiting), (today & @waiting), (@Active), (tom & -@waiting), (no due date & @waiting)

Cheers

All responses

Clyde Romo staff
Replied on Jun 10, 2014 - 13:18

Hi Rusell,

Can you try using "!@waiting!" instead of "-@waiting"? Do you get the same problem?

Regards,

Clyde

russell.mulcahy57 premium
Replied on Jun 11, 2014 - 11:43

Kind of!

After that change they are both the same but the opposite of what I needed. That is, the windows one changes to be like the android one.

The idea is to have two sections. The first, "(today & -@waiting)" lists the tasks that I need to do today and the second "(today & -@waiting)" lists the ones that are due today but waiting on someone else (so just to chase up).

In the original version, the android app seems the merge the two sections. With the change you suggested, this happens on both versions.

David Trey staff
Replied on Jun 11, 2014 - 12:16

Hello Russell,

Please note that, as Brendon mentioned, using -@waiting is not the correct syntax. To exclude a label, you must use an exclamation mark ! before it, for example:

!@waiting

So to see tasks that are due today and NOT with the label @waiting, please use:

today & !@waiting

Then, to see another list of tasks that are due today AND have the label @waiting, use this syntax:

(today & !@waiting), (today & @waiting)

So the full correct version of the syntax you've mentioned in the beginning would be:

overdue, (today & !@waiting), (today & @waiting), @Active, (tom & !@waiting), (no date & @waiting)


Best regards,
David

russell.mulcahy57 premium
Replied on Jun 11, 2014 - 13:43

Hi,

Got the point about the syntax, thanks, but the correct syntax doesn't give me two lists. I just get all today's in a single section.

David Trey staff
Replied on Jun 11, 2014 - 16:58

Russell,

I can't confirm that. I just checked both on the web and on Android and it does separate it into two sections: those that are today and are NOT waiting and then those that are today and ARE waiting. Each has a separate "today" header.

Please tell me, is this the exact content of your filter:

overdue, (today & !@waiting), (today & @waiting), @Active, (tom & !@waiting), (no date & @waiting)

Try to copy/paste it into the search bar on the web and also set a new filter with this as a query. I've done that and I have 2 "today" sections on Chrome and Android.

If you don't - what version of our Android app are you using and what version of Android itself are you using? Does reinstalling our app help?


Best regards,
David

russell.mulcahy57 premium
Replied on Jun 12, 2014 - 06:31

Hi,

When I paste that into the windows client (which I think is essentially the web one?) it works fine and as you expected. Don't know what I did wrong before.

Pasting it into the android client,though,still merges into a single Today section.

russell.mulcahy57 premium
Replied on Jun 12, 2014 - 06:40

PS I'm on a completely up to date nexus 4 and nexus 7 and reinstalling doesn't fix it.

David Trey staff
Replied on Jun 12, 2014 - 14:02

Russell,

That's not what it does for me. I see the exact same results, separated in the exact same way as on the web.

Please tell me what's the version number of the Todoist app you're using and are you using this query with the search option or are you saving it as a filter and then accessing this filter on Android?


Best regards,
David

russell.mulcahy57 premium
Replied on Jun 12, 2014 - 14:09

Hi,

Version 5.1 (Android 4.4.3)

It's a filter that I'm accessing on Android. I copied the text from the filter and created a new one on the device with the same text. It behaves exactly the same way.

Here is the same paste: overdue, (today & !@waiting), (today & @waiting), @Active, (tom & !@waiting), (no date & @waiting)

Very odd.

David Trey staff
Replied on Jun 12, 2014 - 14:24

Russell,

Very odd indeed :-( I've tried this again on Android 4.4.2 (that shouldn't make a difference) using out app version 5.1 following these steps:

1. Go to the web, set a filter with a query:

overdue, (today & !@waiting), (today & @waiting), @Active, (tom & !@waiting), (no date & @waiting)

Basically a copy/paste of what you've mentioned above.

2. Log into the Android app (same account, of course).
3. Go to Filters and tap on this query added on the web.

I see (just like on the web):

Today Thu 12 Jun
...and the 3 tasks that are due today and NOT have the label @waiting

Today Thu 12 Jun (same header name)
...and the other 3 tasks that are due today AND have the label @waiting.

Then I see a gray empty header @Active since I have no tasks with this label and a header called "No due date & @waiting" with one task that meets these criteria.

So Android version differences aside, can you follow the exact steps and still reproduce it? Are you using the Todoist app as a whole app or through the Todoist widget?


Best regards,
David

russell.mulcahy57 premium
Replied on Jun 12, 2014 - 14:29

Did that with the exact same result.

I guess it must be to do with the @waiting tag. I assume it's not case sensitive (the actual tag is @Waiting with a capital).

russell.mulcahy57 premium
Replied on Jun 12, 2014 - 14:31

I tried renaming the tag to itself but no change.

russell.mulcahy57 premium
Replied on Jun 12, 2014 - 14:31

Sorry - I meant to say it's the full app. Also I see on both my phone and my Nexus tablet.

David Trey staff
Replied on Jun 12, 2014 - 16:16

Russell,

Unfortunately, there's not much we can do at this point :-( No one else reported this, we can't reproduce this and reinstalling the app doesn't help.

But, to clarify, you've tried both - using @Waiting within the query while the label is named with a capital W and also changing the label's name in the "Labels" menu to @waiting and then using the lowercase version in the query and both make no difference?


Best regards,
David

russell.mulcahy57 premium
Replied on Jun 12, 2014 - 16:24

Sadly, yes to those.

I can live with it but it's irritating!

russell.mulcahy57 premium
Replied on Jun 18, 2014 - 21:29

Just for closure, I fixed this by renaming the label to "Wait".

To me, that suggests that either there is some boundary issue with character lengths (as wait is obviously shorter) or something special about the the word "waiting".