View Issue Details

IDProjectCategoryView StatusLast Update
0001662SkyChart1-Softwarepublic17-02-25 17:12
ReporterPhilip Lacroix Assigned ToPatrick Chevalley  
Status resolvedResolutionfixed 
Product Version3.11 SVN 
Target Version4.0Fixed in Version3.11 SVN 
Summary0001662: Error message and disappearing button in Solar System configuration
DescriptionWhile fixing the layout I've found an issue in the "Load MPC file" sub-section of both "Comet" and "Asteroid" sections of the Solar System configuration interface.

When switching from "Load MPC format file" to "Or use a local file", an error message appears - "Cannot focus a disabled or invisible window" - and the small directory button disappears. You have to switch back and forth a couple of times in order to reproduce that.
Steps To ReproduceSetup » Solar System » Comet » Load MPC file
Setup » Solar System » Asteroid » Load MPC file

Switch from "Load MPC format file" to "Or use a local file" back and forth a couple of times. The error message appears when switching to "Or use a local file".
TagsNo tags attached.


Philip Lacroix

17-02-24 17:12


Philip Lacroix

17-02-24 17:47

reporter   ~0003654

I attach some more output from the terminal.
solsys_local_file_term_output.txt (1,316 bytes)   
bash-4.3$ skychart  
2017-02-24T19:33:03.144  Start trace
2017-02-24T19:33:03.144  Program version : 3.11-svn-3517
2017-02-24T19:33:03.144  Program compiled: 2017/02/24 18:01:01
2017-02-24T19:33:03.144  Compiler version: Lazarus Free Pascal 3.0.0 Linux-x86_64-gtk2
2017-02-24T19:33:03.159  Screen scaling : True
2017-02-24T19:33:03.159  Screen scale : 100%
2017-02-24T19:33:03.161  Try language: en, 
2017-02-24T19:33:03.164  Language: en
2017-02-24T19:33:03.483  Connected to the SQL database /home/resumodnar/.skychart/database/cdc.db
WARNING: obsolete call to RecreateWnd for Tf_configsolsys
Warning: TWinControl.DestroyHandle f_configsolsys:Tf_configsolsys Handle not Allocated
TCustomForm.SetActiveControl f_configsolsys:Tf_configsolsys AWinControl=:TEbEdit GetParentForm(AWinControl)=f_configsolsys:Tf_configsolsys csLoading=False AWinControl.CanFocus=False IsControlVisible=True Enabled=True
TApplication.HandleException Cannot focus a disabled or invisible window
  Stack trace:

Patrick Chevalley

17-02-25 17:12

administrator   ~0003657

Revision 3546 add a workaround for the bug:

Issue History

Date Modified Username Field Change
17-02-24 17:12 Philip Lacroix New Issue
17-02-24 17:12 Philip Lacroix File Added: solsys_local_file_error_message.png
17-02-24 17:47 Philip Lacroix File Added: solsys_local_file_term_output.txt
17-02-24 17:47 Philip Lacroix Note Added: 0003654
17-02-25 17:12 Patrick Chevalley Assigned To => Patrick Chevalley
17-02-25 17:12 Patrick Chevalley Status new => resolved
17-02-25 17:12 Patrick Chevalley Resolution open => fixed
17-02-25 17:12 Patrick Chevalley Fixed in Version => 3.11 SVN
17-02-25 17:12 Patrick Chevalley Target Version => 4.0
17-02-25 17:12 Patrick Chevalley Note Added: 0003657