View Issue Details

IDProjectCategoryView StatusLast Update
0002348EqmodGuiGeneralpublic20-07-02 20:11
ReporterJames Bates Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSLinuxOS Version64bit
Summary0002348: 1.7.0: text fonts & colors broken in Linux; "Use system theme color" results in black on black text.
DescriptionThe new version 1.7.0 appears not to render correct font sizes, or colors on Linux. Looking at the attached screenshot for 1.7, and comparing with the 1.6 screenshot,
you can see the correct fontsizes and -weights for the mount orientation angles aren't being applied. What's more, when disabling the "Use system theme color" setting, very useful at night, the text color isn't set to red as in 1.6, meaning most of it becomes unreadable against the black background.

Finally, please note that, although this is v1.7, the window header incorrectly sais it is "Version 1.6.0"

I've attached screenshots of versions 1.7 and 1.6 for comparison, as well as the build log for version 1.7, should that be any help.
Steps To Reproduce- Download eqmodgui 1.7.0 source code from https://codeload.github.com/pchev/eqmodgui/tar.gz/v1.7.0
- Compile using fpc 3.0.4, lazarus 2.0.6, GNU make 4.2.1
- Start up eqmodgui
TagsNo tags attached.

Activities

James Bates

20-07-02 16:27

reporter  

eqmodgui-1.6.png (69,467 bytes)   
eqmodgui-1.6.png (69,467 bytes)   
eqmodgui-1.7.png (63,999 bytes)   
eqmodgui-1.7.png (63,999 bytes)   
eqmod-1.7.0-build.log (15,495 bytes)   
>>> Downloading 'https://github.com/pchev/eqmodgui/archive/v1.7.0.tar.gz'
--2020-07-02 16:06:45--  https://github.com/pchev/eqmodgui/archive/v1.7.0.tar.gz
Resolving github.com... 140.82.118.4
Connecting to github.com|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/pchev/eqmodgui/tar.gz/v1.7.0 [following]
--2020-07-02 16:06:45--  https://codeload.github.com/pchev/eqmodgui/tar.gz/v1.7.0
Resolving codeload.github.com... 140.82.114.10
Connecting to codeload.github.com|140.82.114.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘/var/cache/distfiles/eqmodgui-1.7.0.tar.gz.__download__’

/var/cache/distfile     [    <=>             ] 777.93K   796KB/s    in 1.0s    

2020-07-02 16:06:47 (796 KB/s) - ‘/var/cache/distfiles/eqmodgui-1.7.0.tar.gz.__download__’ saved [796603]

 * eqmodgui-1.7.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking eqmodgui-1.7.0.tar.gz to /var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work
>>> Source unpacked in /var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work
>>> Preparing source in /var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0 ...
using fpcbin in /usr/bin
using fpc units in /usr/lib/fpc/3.0.4/units/x86_64-linux
using Lazarus in /usr/share/lazarus
installing in /usr
fpcmake options: -q
create component/synapse/source/lib/Makefile
create component/uniqueinstance/Makefile
create component/indiclient/Makefile
create component/Makefile
create ./Makefile

You can now build with:
make clean all
make install

To crosscompile from Linux to Windows:
make clean all OS_TARGET=win32 CPU_TARGET=i386
make install_win

>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0 ...
make -j5 -j1 
mkdir -p units/x86_64-linux-gtk2
make -C component all
make[1]: Entering directory '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0/component'
mkdir -p lib/x86_64-linux-gtk2
make -C synapse/source/lib all
make[2]: Entering directory '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0/component/synapse/source/lib'
/bin/rm -f lib/x86_64-linux-gtk2/synapse.ppu
/bin/mkdir -p lib/x86_64-linux-gtk2
/usr/bin/ppcx64 -O3 -CX -XX -Xs -MObjFPC -Sgi -Fu/usr/share/lazarus/packager/units/x86_64-linux/ -Fu./ -Fu/usr/lib/fpc/3.0.4/units/x86_64-linux/rtl -Fi./ -FE. -FUlib/x86_64-linux-gtk2 -Cg -dx86_64 synapse.pas
Free Pascal Compiler version 3.0.4 [2020/05/17] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling synapse.pas
Compiling blcksock.pas
Compiling synafpc.pas
Compiling synsock.pas
ssfpc.inc(698,26) Warning: Symbol "HostToNet" is deprecated
ssfpc.inc(764,27) Warning: Local variable "f2" does not seem to be initialized
ssfpc.inc(808,18) Warning: Symbol "HostToNet" is deprecated
ssfpc.inc(868,25) Warning: Symbol "NetToHost" is deprecated
Compiling synautil.pas
synautil.pas(580,51) Warning: Symbol "TimeSeparator" is deprecated
synautil.pas(1832,43) Warning: Symbol "ShortMonthNames" is deprecated
synautil.pas(1833,42) Warning: Symbol "ShortMonthNames" is deprecated
Compiling synacode.pas
Compiling synaip.pas
Compiling ftpsend.pas
ftpsend.pas(708,22) Warning: Local variable "s" of a managed type does not seem to be initialized
Compiling httpsend.pas
Compiling synaser.pas
synaser.pas(2341,41) Warning: range check error while evaluating constants (4294967295 must be between -2147483648 and 2147483647)
Compiling ssl_openssl.pas
Compiling ssl_openssl_lib.pas
Compiling dnssend.pas
Compiling smtpsend.pas
18577 lines compiled, 0.4 sec
9 warning(s) issued
make[2]: Leaving directory '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0/component/synapse/source/lib'
make -C uniqueinstance all
make[2]: Entering directory '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0/component/uniqueinstance'
/bin/rm -f lib/x86_64-linux/uniqueinstance_package.ppu
/bin/mkdir -p lib/x86_64-linux
/usr/bin/ppcx64 -O3 -CX -XX -Xs -dLCL -dLCLgtk2 -MObjFPC -Sgi -Fu/usr/share/lazarus/lcl/units/x86_64-linux/ -Fu/usr/share/lazarus/lcl/units/x86_64-linux/gtk2/ -Fu/usr/share/lazarus/packager/units/x86_64-linux/ -Fu/usr/share/lazarus/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/ideintf/units/x86_64-linux/gtk2 -Fu./ -Fu/usr/lib/fpc/3.0.4/units/x86_64-linux/rtl -Fi./ -FE. -FUlib/x86_64-linux -Cg -dx86_64 uniqueinstance_package.pas
Free Pascal Compiler version 3.0.4 [2020/05/17] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling uniqueinstance_package.pas
Compiling uniqueinstance.pas
Compiling uniqueinstancebase.pas
Compiling uniqueinstanceraw.pas
Compiling registeruniqueinstance.pas
376 lines compiled, 0.3 sec
make[2]: Leaving directory '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0/component/uniqueinstance'
make -C indiclient all
make[2]: Entering directory '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0/component/indiclient'
/bin/rm -f lib/x86_64-linux-gtk2/indiclient.ppu
/bin/mkdir -p lib/x86_64-linux-gtk2
/usr/bin/ppcx64 -O3 -CX -XX -Xs -dLCL -dLCLgtk2 -MObjFPC -Sgi -Fu/usr/share/lazarus/lcl/units/x86_64-linux/ -Fu/usr/share/lazarus/lcl/units/x86_64-linux/gtk2/ -Fu/usr/share/lazarus/packager/units/x86_64-linux/ -Fu/usr/share/lazarus/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/ideintf/units/x86_64-linux/gtk2 -Fu../synapse/source/lib/lib/x86_64-linux-gtk2 -Fu./ -Fu/usr/lib/fpc/3.0.4/units/x86_64-linux/rtl -Fi./ -FE. -FUlib/x86_64-linux-gtk2 -Cg -dx86_64 indiclient.pas
Free Pascal Compiler version 3.0.4 [2020/05/17] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling indiclient.pas
Compiling indibaseclient.pas
Compiling indiapi.pas
Compiling indibasedevice.pas
Compiling indicom.pas
indibaseclient.pas(635,3) Note: Local variable "n" not used
indibaseclient.pas(886,3) Note: Local variable "i" not used
Compiling pu_indigui.pas
Compiling indiblobclient.pas
indiblobclient.pas(626,5) Note: Local variable "mp" not used
indiblobclient.pas(746,3) Note: Local variable "i" not used
5117 lines compiled, 0.4 sec
4 note(s) issued
make[2]: Leaving directory '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0/component/indiclient'
/usr/bin/ppcx64 -O3 -CX -XX -Xs -dUseCThreads -dLCL -dLCLgtk2 -MObjFPC -Sgi -Fuindiclient/lib/x86_64-linux-gtk2/ -Fusynapse/source/lib/lib/x86_64-linux-gtk2/ -Fuuniqueinstance/lib/x86_64-linux-gtk2/ -Fu/usr/share/lazarus/lcl/units/x86_64-linux/ -Fu/usr/share/lazarus/lcl/units/x86_64-linux/gtk2/ -Fu/usr/share/lazarus/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/packager/units/x86_64-linux/ -Fu./ -Fu/usr/lib/fpc/3.0.4/units/x86_64-linux/rtl -Fi./ -FE. -FUlib/x86_64-linux-gtk2 -Cg -dx86_64 components.pas
Free Pascal Compiler version 3.0.4 [2020/05/17] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling components.pas
13 lines compiled, 0.0 sec
make[1]: Leaving directory '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/work/eqmodgui-1.7.0/component'
/usr/bin/ppcx64 -dSDL_SOUND -O3 -CX -XX -Xs -CF64 -dUseCThreads -dLCL -dLCLgtk2 -MObjFPC -Sgi -vewni -l -Fucomponent/indiclient/lib/x86_64-linux-gtk2/ -Fucomponent/uniqueinstance/lib/x86_64-linux/ -Fucomponent/synapse/source/lib/lib/x86_64-linux-gtk2/ -Fu/usr/share/lazarus/components/cairocanvas/lib/x86_64-linux/gtk2/ -Fu/usr/share/lazarus/lcl/units/x86_64-linux/ -Fu/usr/share/lazarus/lcl/units/x86_64-linux/gtk2/ -Fu/usr/share/lazarus/packager/units/x86_64-linux/ -Fu/usr/share/lazarus/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/ideintf/units/x86_64-linux/gtk2 -Fu./ -Fu/usr/lib/fpc/3.0.4/units/x86_64-linux/rtl -Fi./ -FE. -FUunits/x86_64-linux-gtk2 -Cg -Fl/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0 -Flinclude -Flld.so.conf.d/*.conf -Fl/usr/lib/OpenCL/vendors/ocl-icd -Fl/usr/lib64/OpenCL/vendors/ocl-icd -Fl/lib64 -Fl/usr/lib64 -Fl/usr/local/lib64 -Fl/lib -Fl/usr/lib -Fl/usr/local/lib -Fl/usr/lib/llvm/9/lib -Fl/usr/lib/llvm/9/lib64 -Fl/usr/lib64/chromium -dx86_64 eqmodgui.lpr
Free Pascal Compiler version 3.0.4 [2020/05/17] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling eqmodgui.lpr
Compiling eqmod_main.pas
Compiling eqmod_int.pas
eqmod_int.pas(835,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(932,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(948,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(964,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(973,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(983,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1060,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1076,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1083,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1090,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1097,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1114,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1121,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1177,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1184,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1201,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1220,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1238,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1259,1) Warning: Function result variable does not seem to initialized
eqmod_int.pas(1274,1) Warning: Function result variable does not seem to initialized
Compiling joystick_int.pas
joystick_int.pas(250,5) Note: Local variable "i" not used
joystick_int.pas(285,5) Note: Local variable "propname" not used
joystick_int.pas(286,5) Note: Local variable "sw" not used
joystick_int.pas(287,5) Note: Local variable "ok" not used
Compiling eqmod_setup.pas
Compiling uscaledpi.pas
Compiling u_utils.pas
Compiling u_ccdconfig.pas
eqmod_main.pas(1029,9) Note: Local variable "s" not used
eqmod_main.pas(1172,9) Note: Local variable "s" not used
Compiling resource units/x86_64-linux-gtk2/eqmodgui.or
Linking ./eqmodgui
/usr/bin/ld: warning: ./link.res contains output sections; did you forget -T?
3342 lines compiled, 1.9 sec
20 warning(s) issued
6 note(s) issued
>>> Source compiled.
>>> Test phase [not enabled]: sci-astronomy/eqmodgui-1.7.0

>>> Install sci-astronomy/eqmodgui-1.7.0 into /var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image
make -j5 -j1 PREFIX=/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr install 
./install.sh /var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr x86_64
Install eqmodgui to /var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr
'eqmodgui' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/bin/eqmodgui'
'system_integration/Linux/share/applications/eqmodgui.desktop' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/applications/eqmodgui.desktop'
'system_integration/Linux/share/appdata/eqmodgui.appdata.xml' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/appdata/eqmodgui.appdata.xml'
'system_integration/Linux/share/doc/eqmodgui/changelog' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/doc/eqmodgui/changelog'
'system_integration/Linux/share/doc/eqmodgui/copyright' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/doc/eqmodgui/copyright'
'system_integration/Linux/share/pixmaps/eqmodgui.png' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/pixmaps/eqmodgui.png'
'system_integration/Linux/share/icons/hicolor/48x48/apps/eqmodgui.png' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/icons/hicolor/48x48/apps/eqmodgui.png'
'sound/custom.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/custom.wav'
'sound/lunar.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/lunar.wav'
'sound/parked.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/parked.wav'
'sound/rate10.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/rate10.wav'
'sound/rate1.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/rate1.wav'
'sound/rate2.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/rate2.wav'
'sound/rate3.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/rate3.wav'
'sound/rate4.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/rate4.wav'
'sound/rate5.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/rate5.wav'
'sound/rate6.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/rate6.wav'
'sound/rate7.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/rate7.wav'
'sound/rate8.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/rate8.wav'
'sound/rate9.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/rate9.wav'
'sound/sidereal.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/sidereal.wav'
'sound/solar.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/solar.wav'
'sound/stop.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/stop.wav'
'sound/sync.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/sync.wav'
'sound/unparked.wav' -> '/var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image/usr/share/eqmodgui/sound/unparked.wav'
>>> Completed installing sci-astronomy/eqmodgui-1.7.0 into /var/tmp/portage/sci-astronomy/eqmodgui-1.7.0/image

 * Final size of build directory: 9812 KiB (9.5 MiB)
 * Final size of installed tree:  4448 KiB (4.3 MiB)

 * The ebuild is installing to one or more unexpected paths:
 * 
 *   /usr/share/doc/eqmodgui
 * 
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.
 * 
 * This package seems to install metainfo files into the following
 * location(s):
 * 
 *   /usr/share/appdata
 * 
 * This location is deprecated, it should not be used anymore by new software.
 * Appdata/Metainfo files should be installed into /usr/share/metainfo directory.
 * For more details, please see the freedesktop Upstream Metadata guidelines at
 * https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
 * 
 * Gentoo Tracker bug: https://bugs.gentoo.org/709450
 * 


 * QA Notice: Pre-stripped files found:
 * /usr/bin/eqmodgui

>>> Installing (1 of 1) sci-astronomy/eqmodgui-1.7.0::jamesbates
eqmod-1.7.0-build.log (15,495 bytes)   

James Bates

20-07-02 16:44

reporter   ~0006670

Using the latest code in the master git branch at https://github.com/pchev/eqmodgui , the font and color problem is still there. The version in the window title is now 1.7.0.

Patrick Chevalley

20-07-02 18:27

administrator   ~0006671

Thank you to report this issue, I not remark it because I never use this color, it was initially a joke to imitate the old ascom template used by eqascom, but I think using a good gtk2 dark theme give a much better result because it set the button color correctly.

I don't know why ParentFont was set to false by Lazarus at the occasion of another change. I reset them:
https://github.com/pchev/eqmodgui/commit/138a0fa061ba3d0291d36fc5570bccedcb4e70b8

Can you try with this change?

James Bates

20-07-02 19:35

reporter   ~0006672

yep, that last commit fixed it. Thanks!

I like the eqascom color theme immitation. The fact that it looks radically different from all other windows, means I can easily find my mount controls when I need them :)

Patrick Chevalley

20-07-02 20:11

administrator   ~0006673

Yes this is a good reason :)

I will look if I have other change to do before to make 1.8 and this time I try to not forget to change the version number before to tag the version.

Issue History

Date Modified Username Field Change
20-07-02 16:27 James Bates New Issue
20-07-02 16:27 James Bates File Added: eqmodgui-1.6.png
20-07-02 16:27 James Bates File Added: eqmodgui-1.7.png
20-07-02 16:27 James Bates File Added: eqmod-1.7.0-build.log
20-07-02 16:44 James Bates Note Added: 0006670
20-07-02 18:27 Patrick Chevalley Assigned To => Patrick Chevalley
20-07-02 18:27 Patrick Chevalley Status new => feedback
20-07-02 18:27 Patrick Chevalley Description Updated
20-07-02 18:27 Patrick Chevalley Steps to Reproduce Updated
20-07-02 18:27 Patrick Chevalley Note Added: 0006671
20-07-02 19:35 James Bates Note Added: 0006672
20-07-02 19:35 James Bates Status feedback => assigned
20-07-02 20:11 Patrick Chevalley Status assigned => resolved
20-07-02 20:11 Patrick Chevalley Resolution open => fixed
20-07-02 20:11 Patrick Chevalley Note Added: 0006673