View Issue Details

IDProjectCategoryView StatusLast Update
0000193SkyChart1-Softwarepublic08-09-18 08:03
ReporterJoseph Zeglinski Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformPCOSWINDOWSOS VersionXP SP2, ME
Product Version3.0.1.3 SVN 
Summary0000193: Scroll bars do not deactivate on a prolonged mouse click
Description   Clicking inside the horizontal or vertical scroll bars at edges of chart, "for a period longer than about one second" (on a fast processor), leaves the scroll bar ACTIVATED, until a second click is done to cancel. Quicker mouse clicks are O.K.

   This also occurs in previous versions of release 3.x.x SKYCHART, and has been tested under WIN XP & ME, on three old and new PC's, using three different corded and wireless mice, to eliminate potential causes by mouse hardware or operating system drivers.

   Problem is very much worse on SLOW PC's since the program is too slow to see the mouse button release, causing very large and erratic panning of the chart. The program display becomes uncontrollable.

Example:
   I found that the chart on a 266 MHZ laptop, takes 6 seconds to respond to a (1 hour) time increment click of the mouse in the menu bar. This is about the same amount of time delay that it would see the mouse click in the scroll bar - making SKYCHART "think" that the mouse was being held down for much longer than one second (maybe 6 seconds?), so it leaves the scroll bar activated, and thereby panning too far. Thus the problem is magnified by slower processors.

   When the button is held down for a longer than a quick-click time, in the scroll bar, that portion of the bar turns black, indicating it is stuck in the "active mode". Even moving the mouse inside the chart and simply hovering back to that section of the bar, continues the scroll, unintentionally. Hovering the mouse, moving it down the selected scroll (active) bar also adds more scrolling of the chart. Only a second click in the bar, can "deactivate" the original long mouse click, and stabilize the chart position in the window. However, even this procedure itself still adds a bit more scrolling, making an accurate positioning of the chart very difficult and erratic, especially on slow PC's.

   I tested this problem under 3 circumstances:
(a) SKYCHART running under WIN-ME on an old slow 266 MHZ laptop - very bad!
(b) SKYCHART running under WIN-XP on a fast 3.4 GHZ desktop - much better, but present.
(c) Special case: Windows "Remote Login" from the slow WIN-ME 266 MHZ laptop into the 3.4 MHZ new "Host PC", which was running SKYCHART remotely - almost as good as (b), but still a problem, probably due to the speed of the LAN remote laptop mouse connection.

   FIX: Quicker deactiviation after first click, or cancel it on a program event "button release".
   Alternatively, if possible, eliminate the SKYCHART option to "scroll while button is held down", and replace with option to "scroll only by dragging scroll bar SLIDER".
Single clicks should still just "jog the scroll" by one increment and deactivate function.
TagsNo tags attached.

Activities

Joseph Zeglinski

07-01-12 08:29

reporter   ~0000327

Simple Test, even on a fast PC.

Open a chart with a wide 180 degree FOV.
Do a "prolonged click" (more than a second or so) of the mouse in the horizonal scroll bar at the bottom, BUT very close to the far right end of the bar (almost at the corner of the window).
Remove your hand from the mouse, and leave the pointer "hovering" inside that position of the scroll bar.

   The chart will "spin uncontrollably", multiple 360 degrees, until you click again, in the horizontal scroll bar, to cancel.

Patrick Chevalley

07-01-14 16:49

administrator   ~0000332

Fixed by revision 662:
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=662

The implemented solution is to not refresh the chart at all while moving the scrollbar by a click inside the bar. The refresh occur only when the scroll end.

No change for Linux as this work without problem.

Issue History

Date Modified Username Field Change
07-01-12 08:12 Joseph Zeglinski New Issue
07-01-12 08:29 Joseph Zeglinski Note Added: 0000327
07-01-14 16:49 Patrick Chevalley Status new => resolved
07-01-14 16:49 Patrick Chevalley Resolution open => fixed
07-01-14 16:49 Patrick Chevalley Assigned To => Patrick Chevalley
07-01-14 16:49 Patrick Chevalley Note Added: 0000332
08-09-18 08:03 Patrick Chevalley Status resolved => closed