FLTK logo

STR #111

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]

STR #111

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:2 - Specific to an operating system
Subsystem:X11
Summary:environment DISPLAY is assigned later then using it in XOpenDisplay
Version:1.1.4rc1
Created By:guenther.striges
Assigned To:mike
Fix Version:1.1.4rc2
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 guenther.striges
06:35 Jul 29, 2003
messager.c
3k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 guenther.striges
01:23 Jul 22, 2003
when the option -display is given the environment variable DISPLAY is correctly set- but too late, the toolkit opens the Display earlier then setting DISPLAY,and therefore may fail to open it,
apply's to X11 only
 
 
#2 mike
19:04 Jul 28, 2003
Please post a short example program that demonstrates this problem; many calls require the display to be opened, so any calls to FLTK functions before the arguments are processed can cause the wrong display to be used.  
 
#3 guenther.striges
06:42 Jul 29, 2003
Please see the file message.c, forget the getopt-stuff, this is done to work around the problem described,
whenever the call to top->show() is executed FLTK says
'Can't open display:<nothing>', because DISPLAY is empty (I call messager from inittab), I tried to call top->show() with args (-display :0.0) with some test-printf's in FLTK and it shows that it first opens the display and then puts the DISPLAY into the environment ... (yes it does !)
 
 
#4 mike
08:09 Jul 29, 2003
OK, thanks, found and fixed the problem in Fl_Window::show()...  
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.