Version: 1.2.1 (using KDE KDE 3.5.1) OS: Linux When in layout mode, there is a small region near the edge of objects where you cannot select or move them. This is indicated by a plain arrow (indicating that kst couldn't find anything underneath to select). Probably an off-by-one or corner case.
A more specific problem I see is as follows: Create a plot Create a box within it Switch to layout mode Move the cursor to inside the box Slowly move the cursor outside of the box but remain within the plot RESULTS: For a short distance the cursor will be the standard arrow cursor EXPECTED RESULTS: The cursor should always be the move cursor (with the focus rectangles drawn to show which object has the focus)
SVN commit 537517 by arwalker: BUG:125328 Set the cursor correctly even when switching focus objects M +11 -20 ksttoplevelview.cpp --- trunk/extragear/graphics/kst/src/libkstapp/ksttoplevelview.cpp #537516:537517 @@ -210,33 +210,24 @@ } } if (p) { - setCursorFor(pos, p); if (p->focused()) { + setCursorFor(pos, p); _focusOn = true; // just in case - seems to be false on occasion return; } + p->setFocus(true); if (_focusOn) { // something else has the focus, clear it - p->setFocus(true); clearFocus(); - KstPainter painter; - painter.begin(_w); - painter.setRasterOp(Qt::NotROP); - painter.setPen(QPen(Qt::black, 0, Qt::SolidLine)); - painter.setBrush(Qt::NoBrush); - p->drawFocusRect(painter); - painter.end(); - _focusOn = true; - } else { - p->setFocus(true); - KstPainter painter; - painter.begin(_w); - painter.setRasterOp(Qt::NotROP); - painter.setPen(QPen(Qt::black, 0, Qt::SolidLine)); - painter.setBrush(Qt::NoBrush); - p->drawFocusRect(painter); - painter.end(); - _focusOn = true; } + setCursorFor(pos, p); + KstPainter painter; + painter.begin(_w); + painter.setRasterOp(Qt::NotROP); + painter.setPen(QPen(Qt::black, 0, Qt::SolidLine)); + painter.setBrush(Qt::NoBrush); + p->drawFocusRect(painter); + painter.end(); + _focusOn = true; _hoverFocus = p; } else { clearFocus();