-
Notifications
You must be signed in to change notification settings - Fork 684
Description
Pre-submission Checks
- I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
- I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.
Describe the bug
(old issue closed year 2017)
"Recent Changes" menu shows duplicate entries #5301
2.2.2, 2.2.4, 2.3.0
Closed/fix: #5256 4d7dd0c
On a desktop client 6.0.2 (linux installation) the “Recent Changes” submenu in the tray icon context menu shows duplicated entries for the same file/event, looks like only on the client that receives the update.
Important points:
- The Activity tab in the client main window is correct (no duplicates).
- The server activity log is correct (no duplicates).
- The issue is only in the tray icon context menu → “Recent Changes”.
- It especially affects the receiving client (the one that downloads changes made from another machine).
It's looks like a bug in the tray menu’s _recentItemsActions handling, not in sync or the activity backend.
The issue looks purely cosmetic but it hides the real recent changes history on a client that receive new changes.
Purely cosmetic also: there is an extra _contextMenu->addSeparator(); in the drop-down menu normally attached to debug mode (--debug) activated. If debug mode not activated, the drop-down is showing 2 (two) _contextMenu->addSeparator(); (also visible in screenshots) between "Recent Changes" and "Help"
Expected behavior
The “Recent Changes” tray submenu listing each logical sync event (file created/modified/deleted/moved) once, consistent with Activity tab in the client main window.
Steps to reproduce the issue
Client sender and client receiver both run ownCloud 6.0.2.17506 desktop client
On client sender:
- In a synced folder, drop a new file Text file.txt with content.
- Wait until sync finishes (status “Up to date”).
On client receiver:
- Wait until sync finishes automatically.
- Open the tray icon context menu > Recent Changes.
- (screenshot!) Text file.txt appears multiple times (duplicates) with the same timestamp.
- In the main client window > Activity tab.
- (ok) Single entry for Text file.txt being created.
Repeat with a simple modification (edit Text file.txt on client sender):
- In the main client window > Activity tab (client sender and receiver)
- (ok) Single entry for Text file.txt being modified.
- In the tray icon context menu > Recent Changes (client receiver)
- (screenshot!) Text file.txt again appears multiple times (duplicates) with the same timestamp.
Screenshots
Logs
Client version number
gui.main: Using "en_Latn_CA" translation "en_US"
gui.main: Could not load qtkeychain translations
ownCloud ownCloud 6.0.2.17506
9b3eb94
Libraries Qt 6.8.3, OpenSSL 3.4.1 11 Feb 2025
Using virtual files plugin: suffix
OS: ubuntu-6.8.0-90-generic (build arch: x86_64, CPU arch: x86_64)
QPA: xcb
(both client)
Desktop environment (Linux only)
Linux 6.8.0-90-generic Ubuntu 22.04.5 LTS release jammy (both client)
Client package version and origin (Linux only)
deb https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Ubuntu_22.04 owncloud-client amd64 [installed] (both client)
Installation path (Windows only)
No response
Server information
Version 10.15.3.0 Community
owncloud image owncloud/server:10.15.3
mariadb image lscr.io/linuxserver/mariadb:11.4.8
redis image redis:8.2.2
OS Linux 6.8.0-90-generic Ubuntu 24.04.3 LTS release trixie
PHP 7.4.33 (cli) (built: Aug 7 2025 15:05:19) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies
Additional context
Issue is purely cosmetic:
- No duplicate files are created locally or on the server, and the sync itself works correctly.
- The Activity tab is correct; only the tray “Recent Changes” submenu shows duplicates.
- The problem affects mainly/only the client that receives changes, not the one that initiates them.