Skip to content

Re-enable share status indicator in shell extension overlay - #1236

Merged
fracturehill merged 1 commit into
mainfrom
work/sharestatusoverlay
Nov 11, 2026
Merged

fracturehill merged 1 commit into
mainfrom
work/sharestatusoverlay

Conversation

@fracturehill

@fracturehill fracturehill commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Commit 0f9eac0 removed the code that read the oc:share-types property and passed the info to the shell extension. This was previously done by seting a file's S permission, but that's a hack since the meaning of that permission is "shared with me", not "shared in general".

This commit adds a new isShared property to the RemoteInfo and SyncJournalFileRecord classes, as well as a corresponding field to the sync journal database. We don't actually care about the values, so for now we just check if a share-types is provided, and store it as a boolean property.

Fixes #1037

Comment thread src/libsync/owncloudpropagator.cpp Outdated
// Update the database: New remote fileid or Etag or RemotePerm
// Or for files that were detected as "resolved conflict".
// Or a local inode/mtime change
// Or a change in sharing status

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

any meta data change

Comment thread src/libsync/discoveryremoteinfo.cpp Resolved
Comment thread src/libsync/common/remotepermissions.h Resolved
@fracturehill
fracturehill force-pushed the work/sharestatusoverlay branch from ab6a1d7 to feb1400 Compare November 9, 2026 13:30
@fracturehill
fracturehill marked this pull request as ready for review November 9, 2026 13:32
@fracturehill
fracturehill added this pull request to stack #1247 November 9, 2026 14:59
@fracturehill
fracturehill force-pushed the work/sharestatusoverlay branch from feb1400 to f369356 Compare November 10, 2026 11:04
Comment thread src/libsync/discoveryremoteinfo.cpp Resolved
Commit 0f9eac0 removed
the code that read the oc:share-types property and passed
the info to the shell extension. This was previously done by
seting a file's S permission, but that's a hack since the meaning of
that permission is "shared with me", not "shared in general".

This commit adds a new isShared property to the RemoteInfo
and SyncJournalFileRecord classes, as well as a corresponding
field to the sync journal database. We don't actually care
about the values, so for now we just check if a share-types
is provided, and store it as a boolean property.
@fracturehill
fracturehill force-pushed the work/sharestatusoverlay branch from f369356 to a09746b Compare November 10, 2026 15:26
@fracturehill
fracturehill merged commit ea88e07 into main Nov 11, 2026
@fracturehill
fracturehill deleted the work/sharestatusoverlay branch November 11, 2026 08:40
@openclouders openclouders mentioned this pull request Nov 11, 2026
1 task
@saw-jan saw-jan mentioned this pull request Nov 25, 2026
9 of 22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Share state is not displayed in overlay

2 participants