Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.0.0 Beta 1
-
None
-
Ubuntu 12.04, 64bit
Description
1) Compile and run the example code.
2) Start a drag from an applications window.
– Results –
Expected: Themed cursor (at least that is how it works when compiled with Qt4.8.x)
Actual: native x11 bitmap - some call it ugly
class MyWidget : public QLabel { Q_OBJECT public: MyWidget() : QLabel(0) { setMinimumSize(QSize(200, 200)); setAcceptDrops(true); } protected: virtual void mouseMoveEvent(QMouseEvent*) { QDrag* drag = new QDrag(this); QMimeData* mimeData = new QMimeData; mimeData->setText(text()); drag->setMimeData(mimeData); drag->exec(); } }; int main( int argc, char ** argv ) { QApplication app(argc, argv); MyWidget w1; w1.setGeometry(300,300,400,400); w1.setText("Test widget"); w1.show(); return app.exec(); }
Attachments
Issue Links
- relates to
-
QTBUG-67373 Drop Xlib / libXcurosr dependency from QXcbCursor
- Closed
- replaces
-
QTBUG-30016 All cursors except the default 'arrow' cursor are using the wrong theme
- Closed