Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphics: auto_synchronize does not always work as intended #5321

Closed
vicuna opened this issue Jul 26, 2011 · 3 comments
Closed

Graphics: auto_synchronize does not always work as intended #5321

vicuna opened this issue Jul 26, 2011 · 3 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 26, 2011

Original bug ID: 5321
Reporter: @Chris00
Status: closed (set by @xavierleroy on 2015-12-11T18:04:41Z)
Resolution: unable to duplicate
Priority: normal
Severity: major
Version: 3.12.0
Category: ~DO NOT USE (was: OCaml general)

Bug description

The following code shows the bug:

open Graphics
open Printf

let graph s =
open_graph(" 200x200" ^ s);
auto_synchronize false;

moveto 10 10;
lineto 100 100;

ignore(Graphics.wait_next_event [Graphics.Key_pressed]);
synchronize();
ignore(Graphics.wait_next_event [Graphics.Key_pressed]);
close_graph()

let () =
graph ""; (* bug )
graph "-0" (
fine *)

@vicuna
Copy link
Author

vicuna commented Mar 26, 2012

Comment author: @lefessan

I could not reproduce your bug on my linux box. Could you provide more information about your operating system ?

@vicuna
Copy link
Author

vicuna commented May 15, 2012

Comment author: @Chris00

I am on Linux too. I cannot reproduce the bug any longer either. Maybe it simply disappeared with the upgrade of the X driver (nvidia) or X11 packages.

@vicuna
Copy link
Author

vicuna commented May 24, 2012

Comment author: @xavierleroy

Thanks, Christophe, for the update. Marking as resolved/not reproducible for the moment. Add comments if the issue pops up again.

@vicuna vicuna closed this as completed Dec 11, 2015
@vicuna vicuna added the bug label Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant