View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002069 | SkyChart | 1-Software | public | 19-02-03 00:01 | 19-02-03 09:58 |
Reporter | Sasa | Assigned To | Patrick Chevalley | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu 64-bit | OS Version | 18.10 |
Product Version | 4.1 SVN | ||||
Summary | 0002069: System info form - very dark fonts | ||||
Description | Lazarus SVN 60261, FPC 3.0.4. latest CDC revision 02.02.2019. 22:19:46 +0100 After compiling and running, fonts inside System info form for text in various checkboxe and radiogroup can be barely seen - they are dark. This may be caused by anything, as latest deb from your repository have no such problem. | ||||
Tags | No tags attached. | ||||
|
|
|
The following code under compiler directive in pu_planetinfo.pas makes the problem. If removed, all is shown fine: procedure Tf_planetinfo.FormCreate(Sender: TObject); begin {$ifdef lclgtk2} if not DarkTheme then begin Color:=clBlack; Font.Color:=clWhite; end; {$endif} ... |
|
If you remove this code all the control on the right and top use the default theme color and appear in gray. The goal was to have the full window with black background, even if this only work with gtk2. The origin of the problem is my yesterday change when I added the size constraint for the two combobox in this form. For a unknown reason Lazarus decided to set ParentFont=false in the lfm but let ParentColor=true. I check more in detail the diff for this change to see if this affect other part of the program. |
|
I set again ParentFont=true and this fix the problem. This is the default value in property editor so this effectively remove ParentFont=false in the lfm. There must not be other problem elsewhere in the program because all the other forms use the default theme color. |
Date Modified | Username | Field | Change |
---|---|---|---|
19-02-03 00:01 | Sasa | New Issue | |
19-02-03 00:01 | Sasa | File Added: Screenshot from 2019-02-02 23-44-32.png | |
19-02-03 08:15 | Sasa | Note Added: 0005301 | |
19-02-03 08:19 | Sasa | Note Edited: 0005301 | |
19-02-03 08:20 | Sasa | Note Edited: 0005301 | |
19-02-03 09:35 | Patrick Chevalley | Note Added: 0005302 | |
19-02-03 09:58 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
19-02-03 09:58 | Patrick Chevalley | Status | new => resolved |
19-02-03 09:58 | Patrick Chevalley | Resolution | open => fixed |
19-02-03 09:58 | Patrick Chevalley | Note Added: 0005303 |