Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection of work to improve efficiency of app #12081

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

modSpike
Copy link
Contributor

This branch will include some refactoring work to improve the efficiency of the app. First task is to reduce the number of calls to QSettings::sync(), and possibly refactor the update behavior of the FolderStatusModel

Copy link

update-docs bot commented Feb 25, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@modSpike modSpike self-assigned this Feb 25, 2025
@modSpike modSpike marked this pull request as draft February 25, 2025 13:48
@@ -924,6 +923,9 @@ void Folder::startSync()
Q_ASSERT(isReady());
Q_ASSERT(_folderWatcher);

if (!isReady() || !_folderWatcher)
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed to have a log statement here ....

@@ -984,6 +986,9 @@ void Folder::startSync()
void Folder::setDirtyNetworkLimits()
{
Q_ASSERT(isReady());
if (!isReady())
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed to have a log statement here ....

@@ -1365,6 +1369,8 @@ QString FolderDefinition::spaceId() const
// we might call the function to check for the id
// anyhow one of the conditions needs to be true
Q_ASSERT(_webDavUrl.isValid() || !_spaceId.isEmpty());
if (!_webDavUrl.isValid() || _spaceId.isEmpty())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed to have a log statement here ....

modSpike added 2 commits March 4, 2025 18:53
…derMan named migrateFolderDefinition

improved loading from config to only save the extracted FolderDefintions if they were migrated

started prepping for deeper cuts related to Folder::saveToSettings, plus overhaul of impl and uses of FolderMan::addFolderFromFolderWizardResult and addFolderFromWizard
@ishabaral
Copy link
Contributor

Client crashed when squish tries to run client. Crash stracktrace and client logs are here:
https://drone.owncloud.com/owncloud/client/20530/4/11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants