STR #1037

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 ]

STR #1037

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:1 - Specific to a machine/printer
Subsystem:Core Library
Summary:Fl_Value_Input: value jumps at frame edge when dragging with mouse
Created By:nicholas.shea
Assigned To:mike
Fix Version:1.1-current (SVN: v4591)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files

Trouble Report Comments:

Name/Time/Date Text top right image
#1 nicholas.shea
01:00 Sep 25, 2005
It appears that Fl::event_x() can sometimes fail when the cursor is
neither inside nor outside the frame. This area is just 1 pixel wide.
Why this occurrs I have not yet been able to ascertain, although it might be due to the kludge at line 119 in file Fl_Value_Input.cxx. However, the bug is removed by changing line 72 from:

int mx = Fl::event_x();
int mx = Fl::event_x_root();

and line 84 from:

delta = Fl::event_x()-ix;
delta = Fl::event_x_root()-ix;

These changes have no adverse effect on original functionality.

#2 mike
13:47 Oct 12, 2005
Fixed in Subversion repository.  
bottom left image   bottom right image

Return to Bugs & Features ]


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