View Issue Details

IDProjectCategoryView StatusLast Update
0022587LazarusLCLpublic2017-08-15 11:22
ReporterTristan Linnell Assigned ToOndrej Pokorny  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version1.0.0RC1 
Summary0022587: Two thumnails on taskbar when ShowInTaskBar is stAlways
DescriptionWhen ShowInTaskBar of a Form is set to stAlways,
Two thumnails appear for the one application on taskbar (Windows 7).

To reproduce, simply create new Application project and set ShowInTaskBar of the Form to stAlways and run.

Screenshot attached.
TagsNo tags attached.
Fixed in Revision
LazTarget-
Widgetset
Attached Files

Relationships

related to 0023020 resolvedVincent Snijders All loaded forms of a project are highlighted in the taskbar and go in all workspaces 
related to 0018480 resolvedOndrej Pokorny Main form icon dissappears from Alt-Tab task list when form with ShowInTaskBar=stAlways active 
related to 0031248 closedOndrej Pokorny TForm.ShowInTaskBar = stAlways works only when form show on first time, and not work on next times. 

Activities

2012-08-06 14:48

 

screenshot.png (37,500 bytes)   
screenshot.png (37,500 bytes)   

Simon Ameis

2012-08-10 16:55

reporter   ~0061560

This is only true for the main form as additional forms are shown only once (at least for me).

On the other hand, the main form can't be removed from task bar with stNever (even though I can't imagine a scenario where this could be useful).

Ondrej Pokorny

2017-04-25 09:03

developer   ~0099894

This is wanted behavior. One window in task bar is the application window and the second is the form.

Use "Application.MainFormOnTaskBar := True;" to hide the application window from the task bar.

Issue History

Date Modified Username Field Change
2012-08-06 14:48 Tristan Linnell New Issue
2012-08-06 14:48 Tristan Linnell File Added: screenshot.png
2012-08-10 16:55 Simon Ameis Note Added: 0061560
2012-10-02 00:25 Juha Manninen Relationship added related to 0023020
2012-10-02 00:35 Juha Manninen Relationship added related to 0018480
2017-04-24 21:42 Juha Manninen Relationship added related to 0031248
2017-04-25 09:03 Ondrej Pokorny LazTarget => -
2017-04-25 09:03 Ondrej Pokorny Note Added: 0099894
2017-04-25 09:03 Ondrej Pokorny Status new => resolved
2017-04-25 09:03 Ondrej Pokorny Resolution open => no change required
2017-04-25 09:03 Ondrej Pokorny Assigned To => Ondrej Pokorny