View Issue Details

IDProjectCategoryView StatusLast Update
0018308LazarusIDEpublic2010-12-27 13:40
ReportercobinesAssigned ToZeljan Rikalo 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinux i386OSDebianOS VersionSid
Product Version0.9.29 (SVN)Product Build28811 
Target VersionFixed in Version0.9.29 (SVN) 
Summary0018308: Form with ShowInTaskbar=stNever does not have a taskbar button at design time
DescriptionIf "Show single button in Taskbar" IDE option is disabled the Application.TaskBarBehavior is set to tbDefault. Because of this in a form with ShowInTaskbar=stNever TCustomForm.GetEffectiveShowInTaskBar evaluates to stNever.

The form at design time should be shown in taskbar depending on the "Show single button in Taskbar" option (or window manager) not on the ShowInTaskbar property.

Attached patch adds the additional check for tbDefault in TCustomForm.GetEffectiveShowInTaskBar.
TagsNo tags attached.
Fixed in Revision28818
LazTarget-
WidgetsetGTK, GTK 2, Win32/Win64, WinCE, Carbon, QT
Attached Files
  • notaskbar.diff (395 bytes)
    Index: lcl/include/customform.inc
    ===================================================================
    --- lcl/include/customform.inc	(wersja 28811)
    +++ lcl/include/customform.inc	(kopia robocza)
    @@ -819,6 +819,7 @@
         case Application.TaskBarBehavior of
           tbSingleButton: Result := stNever;
           tbMultiButton: Result := stAlways;
    +      tbDefault: Result := stDefault;
         end;
     end;
    
    notaskbar.diff (395 bytes)

Activities

2010-12-24 00:25

 

notaskbar.diff (395 bytes)
Index: lcl/include/customform.inc
===================================================================
--- lcl/include/customform.inc	(wersja 28811)
+++ lcl/include/customform.inc	(kopia robocza)
@@ -819,6 +819,7 @@
     case Application.TaskBarBehavior of
       tbSingleButton: Result := stNever;
       tbMultiButton: Result := stAlways;
+      tbDefault: Result := stDefault;
     end;
 end;
notaskbar.diff (395 bytes)

Zeljan Rikalo

2010-12-24 14:38

developer   ~0044566

Applied, please test and close if ok.

cobines

2010-12-24 17:42

reporter   ~0044575

Thanks.

Issue History

Date Modified Username Field Change
2010-12-24 00:25 cobines New Issue
2010-12-24 00:25 cobines File Added: notaskbar.diff
2010-12-24 00:25 cobines Widgetset => QT
2010-12-24 10:33 Zeljan Rikalo Status new => assigned
2010-12-24 10:33 Zeljan Rikalo Assigned To => Zeljan Rikalo
2010-12-24 14:35 Zeljan Rikalo LazTarget => -
2010-12-24 14:35 Zeljan Rikalo Widgetset QT => GTK, GTK 2, Win32/Win64, WinCE, Carbon, QT
2010-12-24 14:38 Zeljan Rikalo Fixed in Revision => 28818
2010-12-24 14:38 Zeljan Rikalo Status assigned => resolved
2010-12-24 14:38 Zeljan Rikalo Resolution open => fixed
2010-12-24 14:38 Zeljan Rikalo Note Added: 0044566
2010-12-24 17:42 cobines Status resolved => closed
2010-12-24 17:42 cobines Note Added: 0044575
2010-12-27 13:40 Vincent Snijders Fixed in Version => 0.9.29 (SVN)