View Issue Details

IDProjectCategoryView StatusLast Update
0000205NoteFlybugpublic2020-05-18 23:18
Reporteranonymously Assigned To 
Status confirmedResolutionopen 
Platform64bitsOSMicrosoft WindowsOS Version10
Summary0000205: Crash after logon if user waits before windows login
DescriptionIf I use option "Start on logon", NoteFly 3.0.7 crashes on startup,
but only if I wait enough time before logging into Windows that enables
NoteFly to be started in the background. The error is always this:

Requested Clipboard operation did not succeed.

   at System.Windows.Forms.Clipboard.GetDataObject(Int32 retryTimes, Int32 retryDelay)
   at System.Windows.Forms.Clipboard.GetDataObject()
   at System.Windows.Forms.Clipboard.ContainsText(TextDataFormat format)
   at NoteFly.TrayIcon..ctor(FormManager formmanager)
   at NoteFly.Program.Main(String[] args)

version: 3.0.7

I did some testing:

If I enter login PIN code into Windows as quick as OS boots up,
so I get to the desktop while startup programs are not all started yet,
NoteFly never crashes in 10 out of 10 tests.

If I wait some time (I used 60+ seconds in my testing) before entering
Windows login PIN, then I get to the desktop with NoteFly already crashed
(i.e. displaying the error window with the stack trace) in 10 out of 10 tests.

This behavior is not affected by disabling all Startup programs in Task Manager.
It made no difference if I used "Exit" from NoteFly's context menu before reboot.
My OS is not using any domain policies; my user account is local.
Steps To Reproduce1.) Enable option "Start on logon" in NoteFly 3.0.7
2.) Make sure you have to login to Windows 10.
3.) Reboot Windows and wait some time before logging in (e.g. 1 minute).
Additional InformationOS: Windows 10 Enterprise N LTSC - version 1809 (OS Build 17763.1131).
TagsNo tags attached.



2020-04-13 15:53

administrator   ~0000204

Thank you for reporting this issue.
I'm going to see if it possible to reproduce this for me.


2020-05-18 23:18

administrator   ~0000205

It seems to have to do with NoteFly accessing the clipboard for checking if the contains any text for showing the "New note from clipboard" option or not. Is now fixed in master by ignoring the exception.