DTTG4 and Smart groups not working?

Good morning!

In DT Desktop (latest version) I have set up a group, an inside that group is a smart group. The smart group filters for tags inside the group, in my case “2025” and “Invoice”. That works and shows me 24 files. (see screenhot 1).

Screenshot 1

Switching to DDTG4, waiting for the sync to complete, and there I have a problem:

I navigate to my group, select it and it shows the following:

That is expected, what is not expected ist what is displayed when I tap the smart group “Kulmbacher Rechnungen 2025”. Instead of displaying the 25 documents, it looks like this:

That goes on an on, every item in DT is listed there, seems to me the scope of the search inside the group is not honoured?

Thanks for help!

Wolfgang

Could you let us know what the exact criteria for the smart group were? We might need to adjust here a bit as outside our labs people use smart groups maybe in different ways and not all might be supported (or possible to support) in DEVONthink To Go.

Edit: Forget my post. After removing the database and downloading it again from the sync store, the smart groups synchronized just fine. I guess that what I saw where remnants from the early stages of the DTTG beta test.

I’m seeing something similar, so chiming in. On macOS:

On iPad with DTTG4:

Needless to say that the content of the smart group on the iPad is bogus: The group reference is wrong, as is the search condition.

Shure:

And how does that look on the iPad/iPhone? Would be helpful to see how the conditions are carried over.

Also: Does the issue remain if you turn off sync, remove the database from your mobile device, and then reload it from the sync store? In my case (see above), that solved the problem.

I will check.

After DDTG4 I removed DDTG3 and started new with a new storage location and a complete sync, so no, did not solve.

W:

Thank you, noted.

Just checked on the iPhone:

Does not look like on the Mac…

W:

Exactly… No wonder that the smart group selects a ton of documents in DTTG.

@eboehnisch: I just tried it here with a smart group selecting documents with a certain tag. Works flawlessly on Mac. Conditions etc sync correctly to iPad/DTTG4, i.e. the condition is shown as tags:myTag. However, the group is empty on the iPad. I tried changing the condition on the iPad to another tag, for which a search with tag:anotherTag finds several documents. That works fine on iPad.

The difference is that the first, non-working test uses a tag containing a space, and the second (working) uses a tag without spaces.

That’s a good hint, thank you!

I have an issue filed on this problem. But there is a separate issue filed about other smart groups not working. However… Label is To DoTo Do is multi-word. Does a one word label fail…
/wanders off to check

No dice, though I haven’t found a way to consistently reproduce the Breaking of the Smart Groups.

I have the same problem as WolfgangK. All smart groups created on macOS don’t work on DTTG4 on the iPhone.

My setup:

MacBook Pro, 13-inch, late 2019
2.4 GHz Quad-Core Intel Core i5
macOS Sequoia 15.7.2
DEVONthink 4.1.1

iPhone 14
iOS 26.1
DEVONthink To Go 4.0.2

The problem doesn’t only happen with multi-word tags but also with single-word tags. Here are two screenshots of the same smart group on macOS and iOS as an example.

If there is anything I can help with testing to narrow down the source of the problem, let me know.

How do you synchronize the devices, meaning what kind of sync location? Did you migrate the database(s) from DEVONthink To Go 3 or import fresh copies?

I sync via Dropbox.

The latest version of DEVONthink To Go 3 was installed on the iPhone when I downloaded DEVONthink To Go 4 and is still installed on the same iPhone. So I guess the databases were automatically migrated.

Did you use DEVONthink To Go 3 and this Dropbox sync store for a long time? Then it’s possible that the databases do not yet contain the necessary information. Does modifying a smart group on the Mac (e.g. by renaming or flagging it) fix this?

Yesterday I set up a new iPad, installed DTTG4 (DTTG3 was installed there, but deleted with all data before installation of DTTG4), activated sync (iCloud), waited to complete and guess what: The filter works! I am shown the same 23 documents on iPad and on Mac!

I made the same steps on my iPhone, there its not working - see above!

Happy bug-hunting…!

:grinning_face:

W:

EDIT: After installing DT4 on Mac I switched my sync-location from WebDAV to iCloud, so ALL iPhones/iPads started with a fresh Syncstore. HTH!

Were the databases migrated on the iPhone?

No. Deleted DTTG3 with all data, installed DTTG4, set up the new sync location, and I did that an iPhone and iPad!

W:

I was using DEVONthink To Go 3 with this Dropbox sync store for a bit more than a year.

Renaming a smart group on macOS fixed the sync issue partially. For single-word smart groups, instead of the whole database, only the desired content shows up on iOS. For multi-word smart groups, instead of the whole database, nothing shows up on iOS.

You mean the name of the smart groups here?