View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000223 | Double Commander | Graphical user interface | public | 2011-11-06 22:19 | 2014-01-14 22:52 |
Reporter | vitaliyg | Assigned To | Alexx2000 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Projection | none | ETA | none | ||
Fixed in Version | 0.5.2 | ||||
Summary | 0000223: Do not show dialogs in taskbar | ||||
Description | fixed to not show dialogs in taskbar updated to show main form in screen center by default in general dialog windows are not show in tasbar (possibly I am missing why ShowInTaskBar property of main form was set to Always instead of Default) | ||||
Tags | No tags attached. | ||||
Attached Files | fmain.lfm.patch (500 bytes)
Index: fmain.lfm =================================================================== --- fmain.lfm (revision 4057) +++ fmain.lfm (working copy) @@ -17,9 +17,9 @@ OnShow = frmMainShow OnUTF8KeyPress = FormUTF8KeyPress OnWindowStateChange = FormWindowStateChange + Position = poScreenCenter SessionProperties = 'nbConsole.Height;seLogWindow.Height' ShowHint = True - ShowInTaskBar = stAlways LCLVersion = '0.9.31' Visible = True object MainToolBar: TKASToolBar | ||||
Fixed in Revision | 4119 | ||||
Operating system | |||||
Widgetset | |||||
Architecture | |||||
|
If you set poScreenCenter then restoring position from session.ini does not work (only Width, Height). We need a new code for checking if positions was saved, if not then possibly autosize and position in center. The TfrmMain is not the main form of the application. It is TfrmHackForm. So TfrmMain must have ShowInTaskBar=Always. |
|
But it is shown in taskbar correctly with Default value (what is the difference here) |
|
No, with Default it is not shown in the taskbar (Windows XP SP3). Default I think depends on Application.TaskBarBehavior. |
|
Also with Default don't work correctly switching between main form and other forms with ShowInTaskBar=Always (Editor, Viewer, etc). |
|
do TfrmHackForm have to be main form of main form can be switched like this if yes: it is show correctly even with stDefault in Alt+Tab window and taskbar (Win XP SP3 32bit) ... Application.CreateForm(TfrmMain, frmMain); // main form Application.UpdateMainForm(frmMain); ... |
|
but issues with viewer and edit still remains I'll dig this deeper |
|
As Alexx2000 said, there is problem switching between main form and other forms, via Alt+Tab and taskbar buttons. So hack form was introduced. The problem is only on Win32 I think. |
|
I have fixe for this error but it requires updates to lcl (there is no way to bypass) |
|
Can you post it to the Lazarus bugtracker? Maybe they will review it before next release. Does it fix this bug: http://bugs.freepascal.org/view.php?id=18480 |
|
I made small workaround for this bug (r4119). It fixes two things: 1. Disables taskbar button for modal dialogs 2. Activate modal form if it exists when click on main form I checked it on WinXP and it works fine. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-11-06 22:19 | vitaliyg | New Issue | |
2011-11-06 22:19 | vitaliyg | File Added: fmain.lfm.patch | |
2011-11-06 22:32 | cobines | Note Added: 0000064 | |
2011-11-06 22:40 | vitaliyg | Note Added: 0000066 | |
2011-11-06 22:49 | cobines | Note Added: 0000068 | |
2011-11-06 22:50 | Alexx2000 | Note Added: 0000069 | |
2011-11-07 00:53 | vitaliyg | Note Added: 0000072 | |
2011-11-07 11:10 | vitaliyg | Note Added: 0000073 | |
2011-11-08 20:05 | cobines | Note Added: 0000076 | |
2011-11-10 01:07 | vitaliyg | Note Added: 0000085 | |
2011-11-10 04:18 | cobines | Note Added: 0000087 | |
2011-11-26 20:38 | Alexx2000 | Assigned To | => Alexx2000 |
2011-11-26 20:38 | Alexx2000 | Status | new => assigned |
2011-11-26 20:46 | Alexx2000 | Note Added: 0000224 | |
2011-12-30 19:13 | Alexx2000 | Fixed in Revision | => 4119 |
2011-12-30 19:13 | Alexx2000 | Status | assigned => resolved |
2011-12-30 19:13 | Alexx2000 | Fixed in Version | => 0.5.2 |
2011-12-30 19:13 | Alexx2000 | Resolution | open => fixed |
2014-01-14 22:52 | Alexx2000 | Status | resolved => closed |