nanogui: Differences in FLTK1.1.7 / FLTK2.0 - was : FLTK2 - Colors mixed up / Keyboard


Previous by date: 18 Feb 2006 20:35:41 +0000 Patch to support MWPF_PALETTE pixtype with VNC Server, Pete Klemm
Next by date: 18 Feb 2006 20:35:41 +0000 how to change resolution, Sally
Previous in thread:
Next in thread:

Subject: Differences in FLTK1.1.7 / FLTK2.0 - was : FLTK2 - Colors mixed up / Keyboard
From: ####@####.####
Date: 18 Feb 2006 20:35:41 +0000
Message-Id: <DIIE.0000063800026A00@192.168.2.136>



Hi,

Regarding the color problems I mentioned in one of my earlier mails, the solution was, as
suggested by Martin, to set the define SCREEN_PIXTYPE to the correct value.

I did start with a VESA framebuffer 640x480 width a color depth of 8 bit (kernel boot option vga=0x301).
I couldn't manage to get FLTK working with nano-X in this configuration regardless which setting I did
use for SCREEN_PIXTYPE in the configuration of nano-X.
After changing my framebuffer from vga=0x301 to vga=0x312 (color depth of 32 bit), everything did work fine
regarding colors when SCREEN_PIXTYPE was set to typ 0888.

I still have problems with the keyboard in FLTK2-r4784. Testing with the example "input" of the FLTK package,
with FLTK2-r4784 only the enter key and the tab key did work. None of the other keys did show any input
in the input fields. With FLTK 1.1.7 the input example did work without any problems.
Attached to this e-mai

Font management is also different between FLTK 2 and FLTK 1.1.7. If no X fonts are installed on the target system,
FLTK 1.1.7 with nxlib-0.45 and nano-X V0.91 still works (with some internal fonts of microwindows ?).
Running a FLTK 2.0 application without installed X fonts, the application crashes with a segment fault.
For a small footprint system with limited graphic capabilities, it's a very nice feature with FLTK 1.1.7 to
run with the internal fonts of nano-X.



Oliver

------------------------------------------------------------------------------------------------------------------------------------------------------------------
Log of example "input" running with FLTK 1.1.7 :

XSetErrorHandler called
nx11: display bpp = 32, bits_per_rgb 8
XInternAtom WM_DELETE_WINDOW 0
XInternAtom WM_PROTOCOLS 0
XInternAtom _MOTIF_WM_HINTS 0
XInternAtom TARGETS 0
XInternAtom CLIPBOARD 0
XInternAtom XdndAware 0
XInternAtom XdndSelection 0
XInternAtom XdndEnter 0
XInternAtom XdndTypeList 0
XInternAtom XdndPosition 0
XInternAtom XdndLeave 0
XInternAtom XdndDrop 0
XInternAtom XdndStatus 0
XInternAtom XdndActionCopy 0
XInternAtom XdndFinished 0
XInternAtom XdndEnter 0
XInternAtom text/uri-list 0
XGetDefault called
XGetDefault called
XGetDefault called
XGetDefault called
XGetDefault called
XGetDefault called
XGetDefault called
XGetDefault called
XGetDefault called
nxTranslateEventMask no handler for event mask (0022c07f): 14 
XChangeProperty (null)
XChangeProperty (null)
XChangeProperty WM_PROTOCOLS
XChangeProperty _MOTIF_WM_HINTS
XChangeProperty (null)
XChangeProperty XdndAware
XChangeProperty (null)
translateNXEvent: unhandled update event subtype 6
XLoadFont('fixed') = '(null)' [0] 

------------------------------------------------------------------------------------------------------------------------------------------------------------------
Log of example "input" running with FLTK 2.0-r4784 with X fonts installed :

XSetErrorHandler called
nx11: display bpp = 32, bits_per_rgb 8
XInternAtom WM_DELETE_WINDOW 0
XInternAtom WM_PROTOCOLS 0
XInternAtom _MOTIF_WM_HINTS 0
XInternAtom FLTKChangeScheme 0
XInternAtom TARGETS 0
XInternAtom CLIPBOARD 0
XInternAtom XdndAware 0
XInternAtom XdndSelection 0
XInternAtom XdndEnter 0
XInternAtom XdndTypeList 0
XInternAtom XdndPosition 0
XInternAtom XdndLeave 0
XInternAtom XdndDrop 0
XInternAtom XdndStatus 0
XInternAtom XdndActionCopy 0
XInternAtom XdndFinished 0
XInternAtom text/plain;charset=UTF-8 0
XInternAtom text/plain 0
XInternAtom TEXT 0
XInternAtom text/uri-list 0
XInternAtom _NET_WM_NAME 0
XInternAtom _NET_WM_ICON_NAME 0
XInternAtom _NET_WORKAREA 0
XInternAtom _NET_CURRENT_DESKTOP 0
XInternAtom UTF8_STRING 0
XSetLocaleModifiers called
XOpenIM called
nxTranslateEventMask no handler for event mask (0022c07f): 14 
XChangeProperty _NET_WM_NAME
XChangeProperty (null)
XChangeProperty _NET_WM_ICON_NAME
XChangeProperty (null)
XChangeProperty WM_PROTOCOLS
XChangeProperty _MOTIF_WM_HINTS
XChangeProperty (null)
XChangeProperty XdndAware
XChangeProperty (null)
translateNXEvent: unhandled update event subtype 6
XCreatePixmap 400,350 depth 32
XLoadFont('-adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso10646-1') = '/usr/lib/X11/fonts/100dpi/helvR08.pcf.gz' [0] 

------------------------------------------------------------------------------------------------------------------------------------------------------------------
Log of example "input" running with FLTK 2.0-r4784 without X fonts installed :

XSetErrorHandler called
nx11: display bpp = 32, bits_per_rgb 8
XInternAtom WM_DELETE_WINDOW 0
XInternAtom WM_PROTOCOLS 0
XInternAtom _MOTIF_WM_HINTS 0
XInternAtom FLTKChangeScheme 0
XInternAtom TARGETS 0
XInternAtom CLIPBOARD 0
XInternAtom XdndAware 0
XInternAtom XdndSelection 0
XInternAtom XdndEnter 0
XInternAtom XdndTypeList 0
XInternAtom XdndPosition 0
XInternAtom XdndLeave 0
XInternAtom XdndDrop 0
XInternAtom XdndStatus 0
XInternAtom XdndActionCopy 0
XInternAtom XdndFinished 0
XInternAtom text/plain;charset=UTF-8 0
XInternAtom text/plain 0
XInternAtom TEXT 0
XInternAtom text/uri-list 0
XInternAtom _NET_WM_NAME 0
XInternAtom _NET_WM_ICON_NAME 0
XInternAtom _NET_WORKAREA 0
XInternAtom _NET_CURRENT_DESKTOP 0
XInternAtom UTF8_STRING 0
XSetLocaleModifiers called
XOpenIM called
nxTranslateEventMask no handler for event mask (0022c07f): 14 
XChangeProperty _NET_WM_NAME
XChangeProperty (null)
XChangeProperty _NET_WM_ICON_NAME
XChangeProperty (null)
XChangeProperty WM_PROTOCOLS
XChangeProperty _MOTIF_WM_HINTS
XChangeProperty (null)
XChangeProperty XdndAware
XChangeProperty (null)
translateNXEvent: unhandled update event subtype 6
XCreatePixmap 400,350 depth 32
XLoadFont('variable') = '(null)' [0] 

Segmentation fault

Previous by date: 18 Feb 2006 20:35:41 +0000 Patch to support MWPF_PALETTE pixtype with VNC Server, Pete Klemm
Next by date: 18 Feb 2006 20:35:41 +0000 how to change resolution, Sally
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.