View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000205 | NoteFly | bug | public | 2020-03-29 00:10 | 2020-05-18 23:18 |
Reporter | anonymously | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Platform | 64bits | OS | Microsoft Windows | OS Version | 10 |
Summary | 0000205: Crash after logon if user waits before windows login | ||||
Description | If 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: ---START--- Requested Clipboard operation did not succeed. Stacktrace: 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 ---END--- 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 Reproduce | 1.) 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 Information | OS: Windows 10 Enterprise N LTSC - version 1809 (OS Build 17763.1131). | ||||
Tags | No tags attached. | ||||
|
Thank you for reporting this issue. I'm going to see if it possible to reproduce this for me. |
|
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. https://github.com/NoteFly/NoteFly/commit/f7ef44db644b8e11753898c8816adc6195758c5b |