desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Invisible checkmarks for folders in Classic sync on Mac OS 27 beta

Open brozkeff opened this issue 5 months ago • 21 comments

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Settings, Classic Sync, both light and dark theme in Mac OS 27 beta2 suffers from completely invisible check buttons which folders to unsync. Clicking on the right place left to folder name actually checks or unchecks it but it is a completely blind process. ...

Steps to reproduce

  1. Install sync client 33.0.7 on Mac OS with beta of Mac OS 27 on Mac mini M2 Pro
  2. Set Classic sync ain Settings and try to unset some folders to not sync
  3. No checkbox is visible anywhere near folder names

Expected behavior

Folders in Classic sync in Settings must have visible check boxes.

Which files are affected by this bug

any

Operating system

macOS

Which version of the operating system you are running.

27.0 Beta (26A5368g)

Installation method

Official Installer for macOS 13 and later

Nextcloud Server version

33.0.6

Nextcloud Desktop Client version

33.0.7

Did this occur after an update or on a clean installation?

Clean desktop client installation

Are you using the Nextcloud Server Encryption module?

No

Are you using an external user-backend?

  • [x] Default internal user-backend
  • [ ] LDAP or Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs


Additional info

No response

brozkeff avatar Jul 02 '26 00:07 brozkeff

Image

Screenshot how the Nextcloud settings window appears after trying setting it to light theme. (Did not help. Other apps are in dark theme, it was the same just dark window.)

brozkeff avatar Jul 02 '26 15:07 brozkeff

Other users confirm the behaviour:

  • Reddit: https://www.reddit.com/r/NextCloud/comments/1ux5hv6/nextcloud_desktop_on_macos_selective_sync/
  • Nextcloud forum: https://help.nextcloud.com/t/macos-client-selective-sync-only-root-nextcloud-folder-shown-cannot-deselect-subfolders/246289

At least the NextCloud forum user also has the same issue on beta of Mac OS 27 which suggests incompatibility of Nextcloud client with upcoming Mac OS 27 release.

brozkeff avatar Jul 23 '26 09:07 brozkeff

Temporary very imperfect workaround until fix arrives: inspect current state which folders are in default state, which are explicitly unchecked and which are explicitly checked, and optionally perform manual changes in SQLite:

  1. Download and start DB browser for SQlite via homebrew: brew install --cask db-browser-for-sqlite
  2. Quit Nextcloud client
  3. Locate hidden .sync_*.db file in the sync folder
  4. Backup this file somewhere to revert in case you break it
  5. Open the file using DB Browser for SQLite
  6. Find selectivesync table
  7. Implicitly managed folders have no record, folders previously unchecked have value 1, folders explicitly checked to be added have value 2 - modify as needed
  8. Add new records for folders not clicked at all yet so in default state. Complicated for more complex paths, however.
  9. Save by clicking Write changes on top, closing db, try running Nextcloud client again
  10. If sync file is considered corrupted after such edits, quit Nextcloud again, revert the backed up version of the sqlite db and have at least the original db state
Image

brozkeff avatar Jul 23 '26 09:07 brozkeff

Running Nextcloud with:

QT_STYLE_OVERRIDE=Fusion \
    /Applications/Nextcloud.app/Contents/MacOS/Nextcloud

makes the selective-sync checkboxes visible on macOS 27 and basically fixes the bug. Selective-sync state and click handling worked correctly always, problem is really in checkbox rendering by Qt’s native macOS style. Confirmed manually on Mac OS 27 beta 3 - screenshot:

Image

Until proper fix auto startup of Nextcloud could be disabled and manual user LaunchAgent could be created that injects the QT_STYLE_OVERRIDE and runs the Nextcloud with the workaround.

According to GPT 5.6 Sol: folderstatusdelegate.cpp already creates a macOS-only Fusion fallback style:

#ifdef Q_OS_MACOS
const auto backupStyle = QStyleFactory::create("Fusion");
#endif

but this style is currently not used for the selective-sync indicators. The preferred fix is not to force Fusion for the complete application. The delegate should retain native macOS rendering for the row and repaint only checkable item-view indicators with the Fusion style on macOS.

brozkeff avatar Jul 23 '26 10:07 brozkeff

Same issue here. Just updated to the MacOS 27 Public Beta 2 and now the check boxes have disappeared in Nextcloud Desktop 34.0.0. They briefly appear when expanding/minimizing folders in the classic sync section.

https://github.com/user-attachments/assets/eed6e109-6eb7-438d-ac70-eb517aa75403

DanielJacksonRSA avatar Jul 28 '26 13:07 DanielJacksonRSA

@DanielJacksonAvo Does that implicitly mean you confirm the very same client version worked just fine before the MacOS upgrade from 26 to 27, and the issue is Mac OS 27 beta-specific?

brozkeff avatar Jul 28 '26 14:07 brozkeff

@brozkeff this issue is purely confined to MacOS 27. The same issue is not present on MacOS 26. (same versions of Nextcloud)

DanielJacksonRSA avatar Jul 30 '26 09:07 DanielJacksonRSA

I can confirm this issue as well. On macOS 26 everything worked perfectly fine. Since I upgraded to the macOS 27 beta the checkboxes for the folders are gone.

Bone2510 avatar Jul 30 '26 10:07 Bone2510

Issue still exists with the latest public beta

BJKle avatar Aug 12 '26 18:08 BJKle

@Rello you are the top contributor currently. Do you know someone who could fix this issue? MacOS 27 is going to be released soon. Thank you

BJKle avatar Aug 27 '26 06:08 BJKle

Hello,

we looked into this. This is an upstream issue with QT. The current QT version seems not compatible with macOS 27 yet. We need to wait for it to be fixe there

Rello avatar Sep 10 '26 11:09 Rello

This looks like an upstream problem in the Qt macOS style which is officially not supporting macOS 27 Golden Gate yet.

i2h3 avatar Sep 10 '26 11:09 i2h3

https://qt-project.atlassian.net/browse/QTBUG-150017

jdpurcell avatar Sep 18 '26 04:09 jdpurcell

I have this problem too, running macOS 27 and 34.0.4. Strangely, it worked on macOS 27 public beta builds with an earlier version of the desktop client. I'm sure I was running 34.0.2 during the public beta, and it was working just fine.

crazybadger avatar Sep 23 '26 16:09 crazybadger

Having the same bug here, making Nextcloud unusable for me because recently a big amount of data was uploaded to a shared folder I temporarily enabled sync on.

Now I can't turn sync off and the amount of data is way more than my harddrive has free space left. So switching on Nextcloud would completely fill my drive.

EDIT: Looks like QT merged the fix - any idea on the timeline until we see it in the desktop client? https://qt-project.atlassian.net/browse/QTBUG-150017?focusedCommentId=2654327

ax-meyer avatar Sep 27 '26 12:09 ax-meyer

@i2h3 QT has merged a fix into >=6.8.10 and >=6.12.1

Can we see an update to the NC client soon?

motz0815 avatar Sep 28 '26 07:09 motz0815

Our release candidate of 35.0.0 already ships with a fix. The major version 34 branch (which also currently is our enterprise update channel) still needs the fix to be ported back to it.

i2h3 avatar Sep 28 '26 13:09 i2h3

Thanks for the update that the 35.0.0 RC already includes the fix. Since the root cause (QTBUG-150017) is now fixed in Qt 6.12.1 and 6.8.10 LTS, I have two questions:

Will the fix be backported to the 34.x branch (e.g. 34.0.5), or will it only ship with the 35 major release? When will a 35.0.0 RC build for macOS be available? I can't find one on download.nextcloud.com/desktop/prereleases/Mac/ or via the beta update channel yet.

Until then, clicking the invisible checkboxes still works as a workaround on macOS 27. Thanks!

dreleex avatar Sep 28 '26 13:09 dreleex

Will the fix be backported to the 34.x branch (e.g. 34.0.5)

Ad mentioned earlier, this is still left to do. @mgallien implemented the fix and might disclose more.

I can't find one on download.nextcloud.com/desktop/prereleases/Mac/

Thank you for pointing out. 😅 Apparently, something did not work out as expected… 😬

i2h3 avatar Sep 28 '26 13:09 i2h3

Hello, this is now fixed in release 34.0.5

claucambra avatar Oct 06 '26 09:10 claucambra