menubar invisible in FLTK-branch
issue #33 is related.
In commit c39f65d7 of FLTK branch, the menubar is not visible.
rimski.x86_64 ~/refpersys-fltk 17:45 .0 % ./refpersys --version
RefPerSys, an Artificial Intelligence system - work in progress...
version information:
program name: ./refpersys
build time: Wed 27 May 2020 05:47:03 PM MEST
top directory: /home/basile/refpersys-fltk
git id: c39f65d71af614ccfa2c0eba532f61afbe7656fd+
last git tag: heads/fltk-branch
last git commit: c39f65d71af6 the menubar is still invisible...
md5sum of 61 source files: dbb62f963675e7627c85b983ba468b42
with 7 subdirectories.
GNU glibc 2.30
Graphical User Interface using FLTK git b1bc821949ccb0a58c, ABI:10400, API:10400
Read Eval Print Loop using REPL git b1bc821949ccb0a58c2b787 ReadLine 8.0
libCURL for web using CURL git b1bc821949ccb0a58c; libcurl/7.68.0
NSS/3.50 zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0)
libssh2/1.8.0 nghttp2/1.40.0 librtmp/2.3
made with: /home/basile/refpersys-fltk/Makefile
running on rimski in /home/basile/refpersys-fltk
C++ compiler: g++ (Debian 9.3.0-13) 9.3.0
free software license: GPLv3+, see https://gnu.org/licenses/gpl.html
+++++ there is no WARRANTY, to the extent permitted by law ++++
***** see also http://refpersys.org/ *****
Notice that C++ function rps_fltk_geometry_string
in file headfltk_rps.hh
is showing the visibility of widget, so also RpsGui_ShowFullWidget
.
The attached image is giving the wrong look. Running just ./refpersys
Also notice that ./refpersys -dGUI
is giving debug output with visibility, e.g.
RPS DEBUG GUI <rps-main:516441> @fltklo_rps.cc:286 18:00:49.94
RpsGui_Window w=640, h=640, lab='RefPerSys/c39f65d71af614cc p516441@rimski', this:fltk-type#241@0x55c628ad06e0[x=0,y=0,w=640,h=640◌]
The dashed circle ◌
displays invisibility.
Later we see a debug message like
RPS DEBUG GUI <rps-main:516441> @fltklo_rps.cc:356 18:00:50.01
GuiWindow rps-command-window@0x55c628ad06e0/RefPerSys/c39f65d71af614cc p516441@rimski\[x=0,y=0,w=640,h=640•] evtype#0
where the black bullet •
represent visibility, thru Fl_Widget::visible_r