alstrup / arctic

Automatically exported from code.google.com/p/arctic
0 stars 0 forks source link

Dragging the scrollbar drags the underlying dialog #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
... making the scrollbar nearly unusable.

Original issue reported on code.google.com by michael....@gmail.com on 22 Oct 2007 at 10:31

GoogleCodeExporter commented 9 years ago
To fix this, try to add the scrollbar click to the list of active elements.

Currently, Dragable and TextInput fields are "active" elements in arctic, 
meaning
that they compete for mouse drags. The topmost active element wins the drag.

To make the scrollbar get drags, add the clip to the activeElements array in 
Arctic.

See lines 525, 1243, 1694 and 1391 in ArcticView to understand this.

Original comment by asgerals...@gmail.com on 22 Oct 2007 at 10:41

GoogleCodeExporter commented 9 years ago
OK, I have done a partial fix. It still does not work correctly after resize 
(you can
not drag the scrollbar, only the dialog), but at least it doesn't double drag 
anymore.

Original comment by asgerals...@gmail.com on 30 Nov 2007 at 2:25