FLTK logo

Re: [fltk/fltk] Issues with fl_overlay_rect on Linux and Mac (Issue #735)

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 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Issues with fl_overlay_rect on Linux and Mac (Issue #735) Albrecht Schlosser 10:29 Jun 10  
 

@dannye Thank you for the detailed report and the videos. As you may know, FLTK 1.3 is at its end of life and will only get fixes for major bugs. We are planning to release 1.3.9 soon, very likely as the last 1.3.x release. Many issues have been fixed in 1.4.0, and some of the issues you mention appear very familiar.

I'm not going into all details of your report right now, but looking at the FLTK test and demo code, the only place where we're using fl_overlay_rect() is in test/mandelbrot(.cxx), hence I tried this with FLTK 1.4.0 (from Git master) on Windows, macOS, and Linux - and I couldn't confirm any of the issues you report. Some details follow:

  1. The dotted rectangle drawing code on Linux has been fixed. Part of this issue was (is) caused by a graphics driver issue but we found a way to work around it. As a proof I used test/mandelbrot built with FLTK 1.3 (git branch branch-1.3) and I can confirm the issue on my system with 1.3. test/mandelbrot built with FLTK 1.4 works fine on my system.

  2. I tested test/mandelbrot (FLTK 1.4) on macOS and Windows as well, and everything looked fine.

That said: please give FLTK 1.4 a try and run test/mandelbrot on your system.

  • Do you see the issue in FLTK 1.4?
  • To verify, can you confirm the issue in test/mandelbrot on your 1.3 build?
  1. Regarding the crash you reported on macOS: I can't reproduce this with the test/mandelbrot demo program (using 1.4). Caveat: this may be due to the fact that dragging the mouse beyond the window borders and drawing the overlay is limited to the window width/height in this demo. This is just a guess, I didn't verify it, and I didn't bother to build 1.3.x on macOS.

If your program uses coordinates beyond the window borders then this could be called a programming error but I agree that FLTK should not crash. To verify this we really need a short test case (a complete program source code in one file) that shows the issue so we can confirm and fix it. Can you provide such a short program with code similar to what your own program does? Thanks in advance.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/735/1585746181@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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