Repository navigation
Conversation
| { | ||
| QVBoxLayout *layout = new QVBoxLayout(this); | ||
| _treeView = new SelectiveSyncTreeView(account, this); | ||
| layout->addWidget(new QLabel(tr("Choose What to Sync: You can optionally deselect remote subfolders you do not wish to synchronize."))); |
There was a problem hiding this comment.
The SelectiveSyncWidget has an equivalent text?
EDIT: Ah i guess it is "Folders whose size exceeds the download confirmation threshold have been deselected. You may select them if you wish to download them."
There was a problem hiding this comment.
The new widget is (header label, tree view, big folder notice (if necessary)). The new header text is going to be slightly less specific than before since it always says the same thing. But I think it's okay and nicely unifies some more aspects of selective sync setup.
|
Code looks ok, let's have @SamuAlfageme take a look before merging |
|
From #5421 (comment) & #4581 (comment) -> 👍 |
|
@ogoffart Pointed out an issue with the text (phrasing it as a double negative was intentional to highlight the blacklist character of this list) and a problem where, when one expands an explicitly selected large folder, large subfolders can start out as deselected. |
|
@ogoffart I wonder whether we make our lives unnecessarily complicated this way. What if we just considered the selective sync dialog during setup a way for users to create an explicit blacklist. Nothing would be whitelisted: So the first sync would ask users about large folders and possible 'M' permissions. That has the advantage that only exactly one place has to deal with that logic (namely discovery). It also makes sense from the point of view of the account/folder setup wizards not having all the data we need: If, for instance, it was allowed that a deeply nested folder needs confirmation (say, because it has 'M' permissions) the wizards currently couldn't highlight that because they don't query all folder data. The sync really is the correct place for making these decisions. |
Previous the Theme option only applied to the account setup wizard.
It should be parented to the treeview to be sure that is shows inside of it.
f5a91ba to
0249a68
Compare
|
@SamuAlfageme: @ogoffart and me discussed this for quite a while. We think the previous behavior was pretty much what we wanted:
We could start marking folders that would usually need confirmation in this dialog, but think it's optional and may not be worth the complications. @ogoffart Do you agree with this summary? |
|
I'm merging this as @SamuAlfageme has tested this. We need to get 2.3 out of the door so ideally your suggestion #5426 (comment) would go into a new issue so we can do it another time. |
|
This was merged as c8cfb31 manually to 2.3 instead of master |

When creating a folder sync connection through the account or folder
wizard we didn't take the big folder threshold into account when
presenting the user the selective sync folder list.
Now big folders are deselected by default. And if that happens a label
is displayed that notifies the user of that fact.