Skip to content

Client window opens on sync event (Windows 3.0.2.2006) #749

Closed

Description

@pettijohn

Same symptom as #167

This just happened to me on Windows 11, Opencloud desktop app 3.0.2.2006. I created a space and added my user account to it. The desktop app popped open and on top of other windows, despite it being previously closed. (I think it was the new space that triggered it; I had also uploaded some files via the web UI within the previous five minutes, but the space seemed to trigger it within a few seconds.)

Activity

  1. TheOneRing commented on Dec 9, 2025

    @TheOneRing
    Contributor

    And you didn't click any notification?
    Please provide logs.

  2. pettijohn commented on Dec 9, 2025

    @pettijohn
    Author

    Notifications are 'on' technically but I don't have them configured to show up. Maybe I should just disable them. See screenshot below.

    At ~9:20 I created a new space via the web UI while logged in as user pettijohn (who has admin rights). Behavior did not reproduce.

    At ~9:22 I created a new space via the web UI while logged in as user admin and then added user pettijohn to the space. Shortly after (30 seconds maybe) the Windows desktop app popped to foreground.

    Redacted logs attached. (Apologies for omitting in original post.)

    for-upload.log

    Image
  3. pettijohn commented on Dec 9, 2025

    @pettijohn
    Author

    It happened twice again at 9:45; I think disabling these test spaces I had created triggered it (while logged in as Admin at the web UI).

    upload-again.log

    My theory is that this notifications setting of "on but not really" triggers the Received notification response for unknown notification event in the logs and causes the UI to pop up. With Notification "fully off" (top-most toggle set to off) I haven't been able to repro.

    Edit to add - When notifications are fully off, I see a different log:

    25-12-09 09:52:16:785 [ debug gui.notifications.snoretoast ]	[ OCC::SnoreToast::notify::::operator() ]:	"Notifications are disabled\r\nReason: DisabledForApplication Please make sure that the app id is set correctly.\r\nCommand Line: \"C:\\Program Files\\WindowsApps\\OpenCloudGmbH.OpenCloud_3.2.2006.0_x64__wgq85nm1n8a12\\bin\\SnoreToast.exe\"  -t \"Space shared\" -m \"Admin added you to Space to-delete-five\" -pipename \\\\.\\pipe\\eu.opencloud.desktop.SnoreToast -id 12 -appId eu.opencloud.desktop -pid 6880 -application \"C:/Program Files/WindowsApps/OpenCloudGmbH.OpenCloud_3.2.2006.0_x64__wgq85nm1n8a12/bin/opencloud.exe\" -p C:/Users/Travis/AppData/Local/Temp/OpenCloud-MgMTlR/9277129359360.png -b \"Mark as read\"\r\n"
    25-12-09 09:52:16:846 [ debug gui.notifications.snoretoast ]	[ OCC::SnoreToast::notify::::operator() ]:	"Notifications are disabled\r\nReason: DisabledForApplication Please make sure that the app id is set correctly.\r\nCommand Line: \"C:\\Program Files\\WindowsApps\\OpenCloudGmbH.OpenCloud_3.2.2006.0_x64__wgq85nm1n8a12\\bin\\SnoreToast.exe\"  -t \"Space deleted\" -m \"Admin deleted Space to-delete-three\" -pipename \\\\.\\pipe\\eu.opencloud.desktop.SnoreToast -id 13 -appId eu.opencloud.desktop -pid 6880 -application \"C:/Program Files/WindowsApps/OpenCloudGmbH.OpenCloud_3.2.2006.0_x64__wgq85nm1n8a12/bin/opencloud.exe\" -p C:/Users/Travis/AppData/Local/Temp/OpenCloud-MgMTlR/9281424326656.png -b \"Mark as read\"\r\n"
    25-12-09 09:52:16:887 [ debug gui.notifications.snoretoast ]	[ OCC::SnoreToast::notify::::operator() ]:	"Notifications are disabled\r\nReason: DisabledForApplication Please make sure that the app id is set correctly.\r\nCommand Line: \"C:\\Program Files\\WindowsApps\\OpenCloudGmbH.OpenCloud_3.2.2006.0_x64__wgq85nm1n8a12\\bin\\SnoreToast.exe\"  -t \"Space deleted\" -m \"Admin deleted Space to-delete-four\" -pipename \\\\.\\pipe\\eu.opencloud.desktop.SnoreToast -id 14 -appId eu.opencloud.desktop -pid 6880 -application \"C:/Program Files/WindowsApps/OpenCloudGmbH.OpenCloud_3.2.2006.0_x64__wgq85nm1n8a12/bin/opencloud.exe\" -p C:/Users/Travis/AppData/Local/Temp/OpenCloud-MgMTlR/9285719293952.png -b \"Mark as read\"\r\n"
    
    
  4. TheOneRing commented on Dec 10, 2025

    @TheOneRing
    Contributor

    For some reason, we receive two callbacks for the same notification, the second time we no longer know about the context of the notification and decide to just raise the app....

    25-12-09 09:45:16:801 [ debug sync.networkjob ]	[ OCC::AbstractNetworkJob::slotFinished ]:	Network job finished OCC::JsonApiJob(OCC::Account("[email protected]"), "https://opencloud.example.com/ocs/v2.php/apps/notifications/api/v1/notifications?format=json", "GET", Original-Request-ID: "75b76e1b-174c-4ef3-85f2-bcb628a85fd9", X-Request-ID: "75b76e1b-174c-4ef3-85f2-bcb628a85fd9")
    25-12-09 09:45:22:969 [ debug gui.notifications.snoretoast ]	[ OCC::SnoreToast::{ctor}::::()::::operator() ]:	"action=dismissed;notificationId=9;pipe=\\\\.\\pipe\\eu.opencloud.desktop.SnoreToast;application=C:/Program Files/WindowsApps/OpenCloudGmbH.OpenCloud_3.2.2006.0_x64__wgq85nm1n8a12/bin/opencloud.exe;version=0.9.0;"
    25-12-09 09:45:22:969 [ debug default ]	[ OCC::SnoreToast::{ctor}::::()::::operator() ]:	QMap((u"", "")(u"action", "dismissed")(u"application", "C:/Program Files/WindowsApps/OpenCloudGmbH.OpenCloud_3.2.2006.0_x64__wgq85nm1n8a12/bin/opencloud.exe")(u"notificationId", "9")(u"pipe", "\\\\.\\pipe\\eu.opencloud.desktop.SnoreToast")(u"version", "0.9.0"))
    25-12-09 09:45:22:969 [ info gui.notifications.snoretoast ]:	Notification "9" Closed with action: "dismissed"
    25-12-09 09:45:22:969 [ debug gui.notifications.snoretoast ]	[ OCC::SnoreToast::{ctor}::::()::::operator() ]:	"action=timedout;notificationId=9;pipe=\\\\.\\pipe\\eu.opencloud.desktop.SnoreToast;application=C:/Program Files/WindowsApps/OpenCloudGmbH.OpenCloud_3.2.2006.0_x64__wgq85nm1n8a12/bin/opencloud.exe;version=0.9.0;"
    25-12-09 09:45:22:969 [ debug default ]	[ OCC::SnoreToast::{ctor}::::()::::operator() ]:	QMap((u"", "")(u"action", "timedout")(u"application", "C:/Program Files/WindowsApps/OpenCloudGmbH.OpenCloud_3.2.2006.0_x64__wgq85nm1n8a12/bin/opencloud.exe")(u"notificationId", "9")(u"pipe", "\\\\.\\pipe\\eu.opencloud.desktop.SnoreToast")(u"version", "0.9.0"))
    25-12-09 09:45:22:969 [ info gui.notifications.snoretoast ]:	Notification "9" Closed with action: "timedout"
    25-12-09 09:45:22:969 [ warning gui.notifications.snoretoast ]:	Received notification response for unknown notification with the id: "9"
    25-12-09 09:45:22:993 [ debug gui.notifications.snoretoast ]	[ OCC::SnoreToast::notify::::operator() ]:	""
    
  5. pettijohn commented on Dec 10, 2025

    @pettijohn
    Author

    Is this helpful?

    DebugViewLog.zip

    I did the same steps to repro. In windows settings, enable opencloud notifications, but disable toast & notification center. Then, logged into the web UI as Admin, create a new space and add user pettijohn to it. Opencloud desktop (syncing as pettijohn) pops to foreground a few seconds later.

  6. TheOneRing commented on Dec 11, 2025

    @TheOneRing
    Contributor

    Hm we really receive a dismissal and a timeout, more or less at the same time.
    I wasn't even aware that windows can emit a dismiss twice...

    6.447525	2025/12/10 10:08:22.328	19016	snoretoast.exe	 "C:\\Program Files\\WindowsApps\\OpenCloudGmbH.OpenCloud_3.3.2073.0_x64__wgq85nm1n8a12\\bin\\SnoreToast.exe" v 0.9.0
    6.447525	2025/12/10 10:08:22.328	19016	snoretoast.exe		 long __cdecl ToastEventHandler::Invoke(struct ABI::Windows::UI::Notifications::IToastNotification *,struct ABI::Windows::UI::Notifications::IToastDismissedEventArgs *)
    6.447525	2025/12/10 10:08:22.328	19016	snoretoast.exe			 The user dismissed this toast
    6.447824	2025/12/10 10:08:22.328	19016	snoretoast.exe	 "C:\\Program Files\\WindowsApps\\OpenCloudGmbH.OpenCloud_3.3.2073.0_x64__wgq85nm1n8a12\\bin\\SnoreToast.exe" v 0.9.0
    6.447824	2025/12/10 10:08:22.328	19016	snoretoast.exe		 long __cdecl ToastEventHandler::Invoke(struct ABI::Windows::UI::Notifications::IToastNotification *,struct ABI::Windows::UI::Notifications::IToastDismissedEventArgs *)
    6.447824	2025/12/10 10:08:22.328	19016	snoretoast.exe			 The toast has timed out
    6.447927	2025/12/10 10:08:22.328	19016	snoretoast.exe	 "C:\\Program Files\\WindowsApps\\OpenCloudGmbH.OpenCloud_3.3.2073.0_x64__wgq85nm1n8a12\\bin\\SnoreToast.exe" v 0.9.0
    6.447927	2025/12/10 10:08:22.328	19016	snoretoast.exe		 bool __cdecl Utils::writePipe(const class std::filesystem::path &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,bool)
    6.447927	2025/12/10 10:08:22.328	19016	snoretoast.exe			 Wrote:  action=dismissed;notificationId=5;pipe=\\.\pipe\eu.opencloud.desktop.SnoreToast;application=C:/Program Files/WindowsApps/OpenCloudGmbH.OpenCloud_3.3.2073.0_x64__wgq85nm1n8a12/bin/opencloud.exe;version=0.9.0;  to  "\\\\.\\pipe\\eu.opencloud.desktop.SnoreToast"
    6.448003	2025/12/10 10:08:22.328	19016	snoretoast.exe	 "C:\\Program Files\\WindowsApps\\OpenCloudGmbH.OpenCloud_3.3.2073.0_x64__wgq85nm1n8a12\\bin\\SnoreToast.exe" v 0.9.0
    6.448003	2025/12/10 10:08:22.328	19016	snoretoast.exe		 bool __cdecl Utils::writePipe(const class std::filesystem::path &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,bool)
    6.448003	2025/12/10 10:08:22.328	19016	snoretoast.exe			 Wrote:  action=timedout;notificationId=5;pipe=\\.\pipe\eu.opencloud.desktop.SnoreToast;application=C:/Program Files/WindowsApps/OpenCloudGmbH.OpenCloud_3.3.2073.0_x64__wgq85nm1n8a12/bin/opencloud.exe;version=0.9.0;  to  "\\\\.\\pipe\\eu.opencloud.desktop.SnoreToast"
    6.454597	2025/12/10 10:08:22.335	19016	snoretoast.exe	<process started at 10:08:15.860 has terminated with exit code 3>
    
  7. added this to the Next milestone on Dec 11, 2025
  8. modified the milestones: Next, 4.1.0 on Oct 22, 2026
  9. self-assigned this
    on Oct 22, 2026
  10. dragotin commented on Nov 2, 2026

    @dragotin
    Member

    The upstream fix got merged a week ago, I think we can consider this fixed? Closing... let's reopen in case...

  11. TheOneRing commented on Nov 16, 2026

    @TheOneRing
    Contributor

    Still needs a snore toast release and an update to pull it in on our side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions