|Anonymous | Login | Signup for a new account||2019-05-25 00:20 CEST|
|Main | My View | View Issues | Change Log | Roadmap | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0006487||[JEDI VCL] 00 JVCL Components||major||always||2016-01-15 03:05||2019-04-25 21:34|
|Summary||0006487: TJvTrayIcon Animate to Tray component visibility issues|
When AnimateToTray is in Visibility options, it does not restore Application.ShowMainForm and Application.MainForm.Visible states. It shows the window but 'Visible' is still false for your form after you restore it. That leads any attempt for showing hidden controls to fail since their parent is seemingly not showing.
Placing the following on your code that makes the form visible. Eg TrayIconOnClick
Application.ShowMainForm := True;
Visible := True;
Or turn of AnimateToTray
Thanks Sertac Akyuz on Stack Overflow
|Tags||No tags attached.|
|Could you check if the issue is still present in the latest GIT content? If yes, please provide the zipped sources of an application showing this.|
|Where exactly in JVCL would we need to put the suggested fix?|
ShowApplication does contain this if:
if Application.MainForm <> nil then
Application.MainForm.Visible := True;
So if the MainForm exists it's visibility will be turned to true.
So if this is not enough, the failure is somewhere else. Right?
So if cacofony could shed some more light on this or provide a small demo showing this we might be able to fix it. The demo linked to in the StackOverflow entry is no longer accessible.
|2016-01-15 03:05||cacofony||New Issue|
|2018-07-18 15:36||obones||Note Added: 0021479|
|2018-07-18 15:36||obones||Status||new => feedback|
|2019-03-11 23:09||mh||Note Added: 0021646|
|2019-04-25 21:34||mh||Note Added: 0021738|
|Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group|