| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
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 |
Version: | 1.1.6 |
Created By: | nicholas.shea |
Assigned To: | mike |
Fix Version: | 1.1-current (SVN: v4591) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#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(); to: int mx = Fl::event_x_root();
and line 84 from:
delta = Fl::event_x()-ix; to: delta = Fl::event_x_root()-ix;
These changes have no adverse effect on original functionality.
N.Shea | |
|
#2 | mike 13:47 Oct 12, 2005 |
| Fixed in Subversion repository. | |
[ Return to Bugs & Features ]
|
| |