Preferences reset with every system startup (Again)

Description

This bug was previously reported and looked over under BUG 2975. After doing a clean re-install of 1.2.10.6, the issue no longer appeared over 4 tested system restarts.

It has now reappeared at the same time as the Windows 10 bug where a system popup falsely claims that the computer's Windows license will expire soon. I don't know if this is related to the Greenshot error, but the two reappeared at the same time (with the same system restart).

The previous report is included below for posterity.

Whenever the system starts, a small Greenshot window opens asking for a language preference.

Pressing the X does not close the window. Killing it in Task Manager works but it also kills the greenshot.exe process; relaunching the .exe immediately opens the language window again. Selecting a language and pressing OK will close the window and let Greenshot be used normally, but program preferences such as output directory, image quality, and other options will be reset every time. This only happens at system startup, i.e exiting and reopening Greenshot does not cause the window to appear.

Environment

Windows 10 Home x64 19042.985

Attachments

1
  • 16 Jun 2021, 11:41 AM

Activity

Show:

Jens Klingen June 23, 2021 at 4:51 PM

Thanks for getting back to us and attaching the logs. Quite interesting, unlike the last time, the log file explicitely says “FirstLaunch: Created new configuration”, even though it has been using the Greenshot.ini file before.

We obviously need to have another look into this.

Jan Kooli June 16, 2021 at 11:50 AM

Here is the event log for the restart where the bug appeared again.

2021-06-16 14:33:50,226 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Checking for portable mode.
2021-06-16 14:33:50,226 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Using ini file C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot-defaults.ini
2021-06-16 14:33:50,226 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Can't find file: C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot-defaults.ini
2021-06-16 14:33:50,226 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Using ini file C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot.ini
2021-06-16 14:33:50,226 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Loading ini-file: C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot.ini
2021-06-16 14:33:50,226 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Using ini file C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot-fixed.ini
2021-06-16 14:33:50,226 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Can't find file: C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot-fixed.ini
2021-06-16 14:33:50,242 [Greenshot] INFO - [Greenshot.MainForm] Starting: Software version: 1.2.10.6-RELEASE-c2414cf0149a1475ea00520effc01b40087c225c (64 bit), .NET runtime version: 4.0.30319.42000+, Time: 2021-06-16 14:33:50 +03:00, OS: unknown (x64) 10.0 build 19042 revision 0, GDI object count: 0, User object count: 2,
2021-06-16 14:33:50,273 [Greenshot] INFO - [Greenshot.Helpers.DestinationHelper] Greenshot has created & claimed the mutex Local\F48E86D3-E34C-4DB7-8F8F-9A0EA55F0D08
2021-06-16 14:33:51,523 [Greenshot] INFO - [GreenshotPlugin.Core.Language] Not adding non existing language path C:\Program Files\Greenshot\App\Greenshot\Languages
2021-06-16 14:33:51,523 [Greenshot] INFO - [GreenshotPlugin.Core.Language] Not adding non existing language path C:\Users\Jan\AppData\Roaming\Greenshot\Languages
2021-06-16 14:33:51,523 [Greenshot] INFO - [GreenshotPlugin.Core.Language] Searching language directory 'C:\Program Files\Greenshot\Languages' for language files with pattern 'language*.xml'
2021-06-16 14:33:51,523 [Greenshot] INFO - [GreenshotPlugin.Core.Language] Added language definition Deutsch from: C:\Program Files\Greenshot\Languages\language-de-DE.xml
2021-06-16 14:33:51,523 [Greenshot] INFO - [GreenshotPlugin.Core.Language] Added language definition English from: C:\Program Files\Greenshot\Languages\language-en-US.xml
2021-06-16 14:33:51,523 [Greenshot] INFO - [GreenshotPlugin.Core.Language] Added language definition Nederlands from: C:\Program Files\Greenshot\Languages\language-nl-NL.xml
2021-06-16 14:33:51,523 [Greenshot] INFO - [GreenshotPlugin.Core.Language] Searching language directory 'C:\Program Files\Greenshot\Languages' for help files with pattern 'help-*.html'
2021-06-16 14:33:51,523 [Greenshot] WARN - [GreenshotPlugin.Core.Language] Couldn't set language from configuration, changing to default. Installation problem?
2021-06-16 14:33:51,523 [Greenshot] INFO - [GreenshotPlugin.Core.Language] Loading language file C:\Program Files\Greenshot\Languages\language-en-US.xml
2021-06-16 14:36:39,442 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Using ini file C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot.ini
2021-06-16 14:36:39,442 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Saving configuration to: C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot.ini
2021-06-16 14:36:39,450 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Using ini file C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot.ini
2021-06-16 14:36:39,450 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Saving configuration to: C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot.ini
2021-06-16 14:36:39,655 [Greenshot] INFO - [Greenshot.MainForm] FirstLaunch: Created new configuration, showing balloon.
2021-06-16 14:37:05,987 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Using ini file C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot.ini
2021-06-16 14:37:05,987 [Greenshot] INFO - [Greenshot.IniFile.IniConfig] Saving configuration to: C:\Users\Jan\AppData\Roaming\Greenshot\Greenshot.ini
2021-06-16 14:38:13,212 [Greenshot] WARN - [GreenshotPlugin.Controls.GreenshotForm] Wrong language key 'about_translation' configured for control 'lblTranslation'

Details

Assignee

Reporter

Affects versions

Priority

Created June 16, 2021 at 11:47 AM
Updated June 23, 2021 at 4:51 PM