View Issue Details

IDProjectCategoryView StatusLast Update
0000024Virtual Moon Atlas1-Softwarepublic10-02-11 08:32
ReporterPatrick Chevalley Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformAllOSAllOS VersionAll
Product Version3.0 
Fixed in Version3.1 
Summary0000024: Do not change system parameters at startup
DescriptionVMA up to version 3.0 change the registry key:
HKEY_CURRENT_USER\Control Panel\Desktop\ForegroundLockTimeout
from the default 200000 to 0 according to Microsoft note:
http://support.microsoft.com/?kbid=886217

This is why WM_WININICHANGE is fired when the program start, causing bug 0000002
TagsNo tags attached.

Relationships

related to 0000002 closedPatrick Chevalley Observatory cooordinates lost after opening the 2nd Window 

Activities

Patrick Chevalley

06-03-19 10:49

administrator   ~0000053

Last edited: 06-03-19 10:52

The solution is to use the undocumented function SwitchToThisWindow in user32.dll instead of SetForegroundWindow when available in user32.dll.
This not need the registry change.

Issue History

Date Modified Username Field Change
06-03-19 10:42 Patrick Chevalley New Issue
06-03-19 10:43 Patrick Chevalley Description Updated
06-03-19 10:49 Patrick Chevalley Status new => resolved
06-03-19 10:49 Patrick Chevalley Fixed in Version 0.3.0 => 3.1
06-03-19 10:49 Patrick Chevalley Resolution open => fixed
06-03-19 10:49 Patrick Chevalley Assigned To => Patrick Chevalley
06-03-19 10:49 Patrick Chevalley Note Added: 0000053
06-03-19 10:52 Patrick Chevalley Note Edited: 0000053
06-03-19 10:52 Patrick Chevalley Relationship added related to 0000002
10-02-11 08:32 Patrick Chevalley Status resolved => closed