FLTK logo

STR #3439

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.3 | SVN ⇄ GIT ]

STR #3439

Application:FLTK Library
Status:2 - Closed w/o Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:1 - Specific to a machine/printer
Subsystem:X11
Summary:fl_choice and fl_ask doesn't show default button choice using Xming
Version:1.3.0
Created By:Marinucci
Assigned To:AlbrechtS
Fix Version:None
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 Marinucci
07:30 Dec 06, 2017
Using Xming to show remotly a graphic program created with fltk-1.3.0-source.tgz, sometimes the default button of fl_choice or fl_ask objects isn't shown.
Problem is random.
Problem doesn't occur if it's used "ssh -X" instead of xming.

The code is:
if ((fl_choice("Add user ? "), "No", "Yes", 0)) == 0)
    return;

The same problem is present also with the following code:
if ((fl_ask("Add user ? ")) == 0)
   return;

The effect is see only the button "No", "Yes" button isn't shown.

The program is compiled and run on operating system Red Hat Enterprise Linux Server 5.3.
The remote Desktop is an host with Windows 7 Ultimate edition operating system.

Is this problem known? How can I solve it?

Thanks,

CMarinucci
 
 
#2 AlbrechtS
03:16 Dec 07, 2017
This is not a known issue, but FLTK 1.3.0 is *very* old. Many bug fixes have been done since this version, so please test at least FLTK 1.3.4 [1] if this shows the same issue. Even better, try to download FLTK 1.4.0 from our svn [2] or git [3] servers and build and test with one of these versions. There is also a weekly snapshot of 1.4.0 at [1], see at the bottom of the page.

That said, it is also possible that Xming is the cause of the issue although it seems strange that a particular button isn't shown. I'd rather think that a part of the window is not shown because it is not drawn or refreshed by Xming. Personally I don't have experience with Xming, but I'm using the Cygwin X server under Windows 10 w/o such issues and I used to use X2Go Client as well (although X2Go needs X2Go Server support).

So I suggest to try a newer FLTK version first (build should be straightforward), then try to rule out Xming issues by upgrading to a newer version (if available) or try Cygwin X Server. Note that the Cygwin stuff is not that easy to install, but the X server works once you got it running.

[1] http://www.fltk.org/software.php
[2] http://seriss.com/public/fltk/fltk/branches/branch-1.4
[3] https://github.com/fltk/test-only
 
 
#3 AlbrechtS
03:25 Dec 07, 2017
After thinking about it ISTR some redraw issues with XDBE support on X servers. If this is the case, then building FLTK w/o XDBE should help, so it is worth a try. Configure and build FLTK with:

$ ./configure --disable-xdbe <other options>

or, if you use CMake:

$ cmake -D "OPTION_USE_XDBE:BOOL=OFF" <path-to-fltk-source>
 
 
#4 Marinucci
03:32 Dec 07, 2017
Thank you for suggestions. I'll try the --disable-xdbe  option and I'll try to use a newer version.
The choice to use Xming cannot be change.

I'll warn about tests outcome.

Thank you again.
 
 
#5 AlbrechtS
01:05 Apr 19, 2018
Please report whether building w/o xdbe fixed the issue for you or any other progress. Otherwise this STR will be closed soon.  
 
#6 AlbrechtS
02:50 May 01, 2018
This STR has not been updated by the submitter for two or more weeks and has been closed as required by the FLTK Configuration Management Plan. If the issue still requires resolution, please re-submit a new STR.

Closed.
 
     

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'.